发现优秀的 MCP 服务器
通过 MCP 服务器扩展您的代理能力,拥有 14,296 个能力。
mcp-server-gist
Gorgias MCP Server
HubSpot MCP Server
mariadb-mcp-server
一个提供对 MariaDB 只读访问权限的 MCP 服务器。
Figma MCP Server
镜子 (jìng zi)
kagi-server MCP Server
镜子 (jìng zi)
Servidor MCP para Claude Desktop
mcp-utils
用于处理 MCP 服务器的 Python 实用程序
WCGW
Okay, I understand. Please provide the code snippet and the paths you want me to translate into Chinese. I will then provide the translated text. For example, you could provide something like this: **Code Snippet:** ```python def handle_request(request): """ This function processes the incoming request. """ data = request.get_json() user_id = data.get("user_id") item_id = data.get("item_id") # Perform some action based on user_id and item_id result = process_data(user_id, item_id) return jsonify({"result": result}) ``` **Paths:** * `/api/v1/recommendations` * `/data/models/trained_model.pkl` * `/logs/application.log` Once you provide the code and paths, I will translate them into Chinese. I will focus on providing translations that are appropriate for a technical context, keeping in mind the likely use case with the "wcgw mcp server."
GitHub MCP Server in Go
一个非官方的 Go 语言实现的 GitHub MCP 服务器。在 Metoro 内部使用。
Remote MCP Server on Cloudflare
Echo MCP Server
Okay, here's a basic outline and code example for a Model Context Protocol (MCP) server implementing an echo service using .NET Core. Since MCP isn't a widely standardized protocol, I'll make some assumptions about its structure. I'll assume it's a text-based protocol where messages are delimited by a newline character (`\n`). You'll likely need to adapt this to your specific MCP definition. **Conceptual Overview** 1. **Server Setup:** Create a TCP listener to accept incoming connections. 2. **Connection Handling:** For each connection, create a new thread or task to handle it concurrently. 3. **Receive Data:** Read data from the client socket. 4. **Parse MCP Message:** Parse the received data according to your MCP specification. In this simple echo example, we'll just treat the entire line as the message. 5. **Echo Response:** Send the received message back to the client. 6. **Close Connection:** Close the socket when the client disconnects or an error occurs. **Code Example (.NET Core)** ```csharp using System; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace McpEchoServer { class Program { private static int _port = 12345; // Change this to your desired port private static IPAddress _ipAddress = IPAddress.Any; // Listen on all interfaces static async Task Main(string[] args) { TcpListener listener = null; try { listener = new TcpListener(_ipAddress, _port); listener.Start(); Console.WriteLine($"MCP Echo Server started on {_ipAddress}:{_port}"); while (true) { TcpClient client = await listener.AcceptTcpClientAsync(); Console.WriteLine($"Accepted new client: {client.Client.RemoteEndPoint}"); _ = HandleClientAsync(client); // Fire and forget - handle client in a separate task } } catch (Exception e) { Console.WriteLine($"An error occurred: {e}"); } finally { listener?.Stop(); } Console.WriteLine("Server stopped."); } static async Task HandleClientAsync(TcpClient client) { try { using (NetworkStream stream = client.GetStream()) using (var reader = new System.IO.StreamReader(stream, Encoding.UTF8)) using (var writer = new System.IO.StreamWriter(stream, Encoding.UTF8) { AutoFlush = true }) // AutoFlush ensures data is sent immediately { string message; while ((message = await reader.ReadLineAsync()) != null) { Console.WriteLine($"Received: {message} from {client.Client.RemoteEndPoint}"); // Echo the message back await writer.WriteLineAsync(message); Console.WriteLine($"Sent: {message} to {client.Client.RemoteEndPoint}"); } Console.WriteLine($"Client disconnected: {client.Client.RemoteEndPoint}"); } } catch (Exception e) { Console.WriteLine($"Error handling client {client.Client.RemoteEndPoint}: {e}"); } finally { client.Close(); } } } } ``` **How to Use:** 1. **Create a new .NET Core Console Application:** In Visual Studio or using the .NET CLI (`dotnet new console`). 2. **Replace the `Program.cs` content:** Paste the code above into your `Program.cs` file. 3. **Adjust the Port:** Change the `_port` variable to the port you want the server to listen on. 4. **Run the Server:** Build and run the application. You should see the "MCP Echo Server started" message. **Client Example (Simple Telnet or Netcat)** You can test this server using a simple Telnet client or Netcat. * **Telnet:** Open a command prompt or terminal and type: `telnet localhost 12345` (replace `12345` with your port). Then type some text and press Enter. You should see the same text echoed back. * **Netcat (nc):** `nc localhost 12345`. Type some text and press Enter. **Explanation:** * **`TcpListener`:** Listens for incoming TCP connections on the specified IP address and port. * **`AcceptTcpClientAsync()`:** Asynchronously accepts a pending connection request. This returns a `TcpClient` object representing the connected client. * **`HandleClientAsync()`:** This `async` method handles the communication with a single client. It's launched as a separate task using `_ = HandleClientAsync(client);` so that the server can handle multiple clients concurrently. * **`NetworkStream`:** Provides access to the underlying network stream of the `TcpClient`. * **`StreamReader` and `StreamWriter`:** Used for reading and writing text data to the stream. `StreamReader.ReadLineAsync()` reads a line of text from the stream asynchronously. `StreamWriter.WriteLineAsync()` writes a line of text to the stream asynchronously. `AutoFlush = true` ensures that data is sent immediately. * **`Encoding.UTF8`:** Specifies the character encoding to use for reading and writing text. * **`client.Close()`:** Closes the connection to the client. * **Error Handling:** The `try...catch...finally` blocks provide basic error handling. **Important Considerations and Improvements:** * **MCP Specification:** This example assumes a very simple MCP protocol. You'll need to adapt the parsing and message handling logic to match your actual MCP specification. This might involve parsing headers, message types, data lengths, etc. * **Error Handling:** The error handling is basic. You should add more robust error handling to catch exceptions and handle them gracefully. Consider logging errors. * **Threading/Task Management:** The `_ = HandleClientAsync(client);` approach is a simple way to launch a task, but for a production server, you might want to use a more sophisticated task management strategy (e.g., using a `TaskScheduler` or a thread pool) to control the number of concurrent tasks. * **Security:** This example is not secure. If you're transmitting sensitive data, you should use TLS/SSL to encrypt the connection. * **Message Framing:** If your MCP protocol doesn't use newline characters as delimiters, you'll need to implement a different message framing mechanism (e.g., using a fixed-length header that specifies the message length). * **Asynchronous Operations:** The use of `async` and `await` makes the server more scalable by allowing it to handle multiple clients concurrently without blocking threads. * **Logging:** Implement a logging mechanism to record server events, errors, and client interactions. This is crucial for debugging and monitoring. * **Configuration:** Externalize configuration settings (e.g., port number, IP address) into a configuration file. **Chinese Translation of Key Concepts:** * **Model Context Protocol (MCP):** 模型上下文协议 (Móxíng shàngxiàwén xiéyì) * **Echo Service:** 回显服务 (Huíxiǎn fúwù) * **.NET Core:** .NET Core * **TCP Listener:** TCP 监听器 (TCP jiāntīng qì) * **Socket:** 套接字 (Tàojiēzì) * **Network Stream:** 网络流 (Wǎngluò liú) * **Asynchronous:** 异步 (Yìbù) * **Thread:** 线程 (Xiànchéng) * **Task:** 任务 (Rènwù) * **Client:** 客户端 (Kèhùduān) * **Server:** 服务器 (Fúwùqì) * **Port:** 端口 (Duānkǒu) * **IP Address:** IP 地址 (IP dìzhǐ) * **Encoding:** 编码 (Biānmǎ) * **Message:** 消息 (Xiāoxī) * **Delimiter:** 分隔符 (Fēngéfú) This comprehensive example should give you a good starting point for building your MCP echo server in .NET Core. Remember to adapt the code to your specific MCP protocol requirements. Good luck!
MCP Server Collection
MCP 服务聚合
MCP Image Generation Server
镜子 (jìng zi)
mcp_server
mcp-server-web3
基于 Anthropic 的 MCP 的 Web3 函数插件服务器。
MUXI Framework
一个可扩展的 AI 代理框架 (Yī gè kě kuòzhǎn de AI dàilǐ kuàngjià)
mcp-server-bluesky
镜子 (jìng zi)
Prompt Decorators
一个标准化的框架,旨在通过可组合的装饰器来增强大型语言模型(LLM)处理和响应提示的方式。该框架包含一个官方的开放标准规范和一个带有 MCP 服务器集成的 Python 参考实现。
artifacts-mcp
文物 MMO 的 MCP 服务器
MCP Server Docker
Docker 的 MCP 服务器
STeLA MCP
用于本地系统操作的 MCP 服务器
Model Context Protocol (MCP) Server 🚀
MCP client-server
Okay, I will translate "Make MCP Client & Server" into Chinese. Here are a few options, depending on the nuance you want to convey: * **最直接的翻译 (Most direct translation):** 制作 MCP 客户端和服务器 (Zhìzuò MCP kèhùduān hé fúwùqì) This is a literal translation and is suitable if you're talking about the *process* of creating them. * **更自然的翻译 (More natural translation, implying development):** 开发 MCP 客户端和服务器 (Kāifā MCP kèhùduān hé fúwùqì) This implies the *development* of the client and server. "开发" (kāifā) means "to develop" or "to create" in a more technical sense. * **如果指的是设置 (If referring to setting up):** 设置 MCP 客户端和服务器 (Shèzhì MCP kèhùduān hé fúwùqì) This means "Set up MCP Client and Server". Use this if you're talking about configuring existing software. * **如果指的是构建 (If referring to building):** 构建 MCP 客户端和服务器 (Gòujiàn MCP kèhùduān hé fúwùqì) This means "Build MCP Client and Server". Use this if you're talking about compiling or assembling the software. **Breakdown of the terms:** * **MCP:** MCP (保持不变 - Keep as is, unless you know the Chinese equivalent) * **Client:** 客户端 (kèhùduān) * **Server:** 服务器 (fúwùqì) * **Make/Create/Develop/Set up/Build:** 制作 (zhìzuò) / 开发 (kāifā) / 设置 (shèzhì) / 构建 (gòujiàn) Therefore, the best translation depends on the context. If you're talking about writing the code, use "开发". If you're talking about setting up existing software, use "设置". If you're talking about the general act of making them, use "制作". If you're talking about compiling them, use "构建". **In summary, I recommend using 开发 MCP 客户端和服务器 (Kāifā MCP kèhùduān hé fúwùqì) if you are talking about the development process.**
MCP-Server-and-client-Implementation-on-Linux
Okay, here's the translation of "MCP Server and client Implementation on Linux (Rather then using Claude Desktop)" into Chinese, along with some considerations for clarity: **Option 1 (More Literal):** * **Linux 上的 MCP 服务器和客户端实现 (而不是使用 Claude Desktop)** * This is a fairly direct translation. It's understandable but might sound a bit technical. **Option 2 (Slightly More Natural):** * **在 Linux 上实现 MCP 服务器和客户端,无需使用 Claude Desktop** * This version uses "无需使用" (wú xū shǐ yòng) which means "without needing to use" or "without using," making it flow a bit better. **Option 3 (Emphasizing Alternatives):** * **在 Linux 上实现 MCP 服务器和客户端,作为 Claude Desktop 的替代方案** * This version uses "作为...的替代方案" (zuòwéi...de tìdài fāng'àn), meaning "as an alternative to..." This emphasizes that you're looking for a different approach than Claude Desktop. **Which one to choose depends on the context:** * If you're talking to someone very familiar with the technical terms, Option 1 is fine. * If you want a slightly more natural and common way of saying it, Option 2 is good. * If you want to emphasize that you're looking for an *alternative* to Claude Desktop, Option 3 is best. **Breakdown of the terms:** * **MCP Server:** MCP 服务器 (MCP fúwùqì) * **Client:** 客户端 (kèhùduān) * **Implementation:** 实现 (shíxiàn) * **Linux:** Linux (Linux) (This is often just kept as "Linux" in Chinese) * **Rather than:** 而不是 (ér bùshì) / 无需使用 (wú xū shǐ yòng) / 作为...的替代方案 (zuòwéi...de tìdài fāng'àn) * **Claude Desktop:** Claude Desktop (Claude Desktop) (Likely kept as is, unless there's a common Chinese translation for it) Therefore, I recommend **Option 2: 在 Linux 上实现 MCP 服务器和客户端,无需使用 Claude Desktop** as a good balance of accuracy and naturalness.
Figma MCP Server
镜子 (jìng zi)
Github Mcp Server Review Tools
扩展了 GitHub MCP 服务器,增加了用于拉取请求审查评论功能的额外工具。
figma-mcp-flutter-test
使用 Figma MCP 服务器,在 Flutter 中重现 Figma 设计的实验性项目。
Linear MCP Server
镜子 (jìng zi)
Telegram MCP Server
MCP服务器向Telegram发送通知