发现优秀的 MCP 服务器

通过 MCP 服务器扩展您的代理能力,拥有 12,252 个能力。

搜索1,246
When2Meet MCP Server

When2Meet MCP Server

这是一个模型上下文协议 (MCP) 服务器,它提供与 When2Meet 的集成。它允许用户以自然语言指定可用时间,并允许 LLM 代替他们填写 When2Meet。

A-MEM MCP Server

A-MEM MCP Server

用于 Agentic Memory (A-MEM) 系统的内存控制协议 (MCP) 服务器 - 一个为 LLM 代理设计的灵活、动态的内存系统

MCPs for sports

MCPs for sports

一个用于实时体育赛事的 MCP 服务器。

Fillout.io MCP Server

Fillout.io MCP Server

镜子 (jìng zi)

安装必要的依赖

安装必要的依赖

一个 MCP 服务器,用于收集互联网上的 MCP 服务器。

Test Mcp Helloworld

Test Mcp Helloworld

Okay, here's a "Hello, world!" example for an MCP (Minecraft Coder Pack) server, along with explanations to help you understand it: **Explanation:** * **MCP (Minecraft Coder Pack):** MCP is a toolset that deobfuscates and decompiles the Minecraft source code, making it readable and modifiable. It's the foundation for creating Minecraft mods. This example assumes you have an MCP development environment set up. * **Server-Side Mod:** This example creates a simple server-side mod. This means the code runs on the Minecraft server, not on the client (player's computer). Server-side mods can affect gameplay, add new features, and manage the server environment. * **`FMLInitializationEvent`:** This event is fired during the server's initialization phase. It's a good place to register commands, load configurations, and perform other setup tasks. * **`MinecraftServer`:** This class represents the Minecraft server instance. You can access it to get information about the server, players, world, etc. * **`ServerCommandManager`:** This class manages the commands available on the server. We'll use it to register our "hello" command. * **`CommandBase`:** This is the base class for all commands. We'll extend it to create our custom "hello" command. * **`ICommandSender`:** This interface represents the entity that executed the command (e.g., a player, the console). * **`ChatMessageComponent`:** This class is used to create formatted chat messages. **Code Example (Java):** ```java package com.example.helloworld; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; import net.minecraft.server.MinecraftServer; import net.minecraft.util.ChatComponentText; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; @Mod(modid = "helloworld", name = "Hello World Mod", version = "1.0") public class HelloWorldMod { @Mod.EventHandler public void init(FMLInitializationEvent event) { System.out.println("Hello World Mod Initializing!"); } @Mod.EventHandler public void serverLoad(FMLServerStartingEvent event) { System.out.println("Registering command!"); event.registerServerCommand(new CommandHello()); } public static class CommandHello extends CommandBase { @Override public String getCommandName() { return "hello"; } @Override public String getCommandUsage(ICommandSender sender) { return "/hello"; } @Override public void processCommand(ICommandSender sender, String[] args) { sender.addChatMessage(new ChatComponentText("Hello, world!")); } @Override public int getRequiredPermissionLevel() { return 0; // Everyone can use this command } } } ``` **Steps to Use:** 1. **Set up your MCP environment:** Follow the instructions for setting up MCP for your Minecraft version. 2. **Create the Java file:** Create a new Java file named `HelloWorldMod.java` (or whatever you prefer) in your mod's source directory (e.g., `src/main/java/com/example/helloworld`). Paste the code above into the file. Make sure the package name (`com.example.helloworld`) matches your directory structure. 3. **Create `mcmod.info`:** Create a file named `mcmod.info` in the `src/main/resources` directory. This file provides metadata about your mod. A simple example: ```json [ { "modid": "helloworld", "name": "Hello World Mod", "description": "A simple Hello World mod for Minecraft.", "version": "1.0", "mcversion": "1.12.2", // Replace with your Minecraft version "authorList": ["Your Name"] } ] ``` 4. **Recompile and Reobfuscate:** Use the MCP commands to recompile and reobfuscate the code. This will create the mod file. Typically, you'll use commands like: ```bash ./gradlew build ``` (or the equivalent commands for your MCP setup). The resulting mod file will be in the `build/libs` directory. 5. **Install the Mod:** Copy the generated `.jar` file (e.g., `helloworld-1.0.jar`) to the `mods` folder of your Minecraft server. 6. **Run the Server:** Start your Minecraft server. 7. **Use the Command:** In the Minecraft server console or in-game (if you have operator privileges), type `/hello` and press Enter. You should see the message "Hello, world!" in the chat. **Important Notes:** * **Minecraft Version:** Make sure the code is compatible with the Minecraft version you are using. The `@Mod` annotation and the `mcmod.info` file should reflect the correct version. * **Dependencies:** Ensure that your MCP environment is set up correctly with the necessary dependencies (Minecraft Forge). * **Error Handling:** This is a very basic example. In a real mod, you would want to add error handling and more robust code. * **Permissions:** The `getRequiredPermissionLevel()` method determines who can use the command. `0` means everyone. Higher numbers require operator privileges. **Chinese Translation (Simplified Chinese):** ```java package com.example.helloworld; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; import net.minecraft.server.MinecraftServer; import net.minecraft.util.ChatComponentText; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; @Mod(modid = "helloworld", name = "你好世界模组", version = "1.0") public class HelloWorldMod { @Mod.EventHandler public void init(FMLInitializationEvent event) { System.out.println("你好世界模组正在初始化!"); } @Mod.EventHandler public void serverLoad(FMLServerStartingEvent event) { System.out.println("注册命令!"); event.registerServerCommand(new CommandHello()); } public static class CommandHello extends CommandBase { @Override public String getCommandName() { return "hello"; } @Override public String getCommandUsage(ICommandSender sender) { return "/hello"; } @Override public void processCommand(ICommandSender sender, String[] args) { sender.addChatMessage(new ChatComponentText("你好,世界!")); } @Override public int getRequiredPermissionLevel() { return 0; // 所有人都可以使用这个命令 } } } ``` **Chinese Explanation:** * `你好世界模组 (Nǐ hǎo shìjiè mózǔ)`: Hello World Mod * `你好世界模组正在初始化! (Nǐ hǎo shìjiè mózǔ zhèngzài chūshǐhuà!)`: Hello World Mod is initializing! * `注册命令! (Zhùcè mìnglìng!)`: Registering command! * `你好,世界! (Nǐ hǎo, shìjiè!)`: Hello, world! * `所有人都可以使用这个命令 (Suǒyǒu rén dōu kěyǐ shǐyòng zhège mìnglìng)`: Everyone can use this command. The Chinese version changes the mod name and the chat message to Chinese. The command name remains "hello" because that's what the player will type. The comments are also translated to Chinese to help understand the code. Remember to save the Java file with UTF-8 encoding to properly display Chinese characters.

bluesky-daily-mcp

bluesky-daily-mcp

一个 MCP 服务器,可以帮助你每天从你关注的 Bluesky 用户中发现最有趣的话题。

options-chain-mcp

options-chain-mcp

期权链 MCP 服务器 (Qīquán liàn MCP fúwùqì)

Weather MCP Server

Weather MCP Server

一个天气 MCP 服务器,使用国家气象局 API 提供天气预报和警报。

Adaptive MCP Server

Adaptive MCP Server

AOAI Dalle3 MCP Server

AOAI Dalle3 MCP Server

Semantic PostgreSQL MCP Server

Semantic PostgreSQL MCP Server

一个具备语义搜索功能的 PostgreSQL MCP 服务器,用于 AI 聊天机器人

Mcp Base

Mcp Base

寻找最佳 MCP 服务器的目录

Reaper MCP Server

Reaper MCP Server

镜子 (jìng zi)

dify-mcp-client

dify-mcp-client

MCP 客户端作为一个代理策略插件。Dify 不是 MCP 服务器,而是 MCP 主机。

MCP Test Server

MCP Test Server

metoro-mcp-server

metoro-mcp-server

镜子 (jìng zi)

Linkedin-Scrap-MCP-Server

Linkedin-Scrap-MCP-Server

Graphiti MCP Server

Graphiti MCP Server

Graphiti 模型上下文协议 (MCP) 服务器 - 用于通过 Graphiti 进行知识图谱管理的 MCP 服务器

🖼️ Unsplash Smart MCP Server

🖼️ Unsplash Smart MCP Server

用于智能股票照片搜索、下载和归属管理的 AI 驱动的 FastMCP 服务器,数据来源为 Unsplash

Anti-Bullshit MCP Server

Anti-Bullshit MCP Server

镜子 (jìng zi)

WebSockets MCP Math Demo

WebSockets MCP Math Demo

使用持久对象进行状态跟踪的 MCP 客户端/服务器演示

RevitMcpServer

RevitMcpServer

DART-mcp-server

DART-mcp-server

使用韩国电子公示系统 API 的 MCP 服务器 (Shǐyòng Hánguó diànzǐ gōngshì xìtǒng API de MCP fúwùqì)

Crawl4AI Web Scraper MCP Server

Crawl4AI Web Scraper MCP Server

MCP服务器利用crawl4ai进行网络爬虫,并使用基于LLM的内容提取(Markdown、文本片段、智能提取)。专为AI代理集成而设计。

IoT Realm MCP Server 🌐🔌

IoT Realm MCP Server 🌐🔌

🌐🔌 一个 MCP 服务器,它通过模型上下文协议将来自 IoT Realm 设备的实时传感器数据(例如基于 ESP32 的 DHT11 客户端)暴露给 LLM。这使得 AI 代理能够访问、分析和处理实时环境数据。

Google Search MCP Server

Google Search MCP Server

greptimedb-mcp-server

greptimedb-mcp-server

镜子 (jìng zi)

中国城市天气查询 MCP 服务

中国城市天气查询 MCP 服务

MedifinderMCP Server

MedifinderMCP Server

消息通信协议(MCP)服务器,用于促进系统组件和药品库存数据库之间安全、标准化的通信。提供 RESTful 接口,用于基于位置的药品搜索、可用性查询,以及针对 WhatsApp 集成的优化消息传递。