发现优秀的 MCP 服务器

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

全部23,459
CISA Vulnerability Checker

CISA Vulnerability Checker

kev-mcp 服务器 (kev-mcp fúwùqì)

MCP Tool Factory

MCP Tool Factory

A framework for building hot-loadable MCP tools that feature conversational negotiation, graduated permissions, and zero-downtime updates. It enables persistent state continuity across server restarts and provides a hypothetical evaluation system for tool actions.

Xray MCP Server

Xray MCP Server

Enables AI assistants to interact with Xray Test Management for both Cloud and Server deployments. Supports test execution, importing results from multiple formats (JUnit, Cucumber, Robot Framework, TestNG), and managing test plans and executions.

USGS Water MCP

USGS Water MCP

Provides access to real-time water data from the USGS Water Services API, allowing users to fetch instantaneous measurements like stream flow, gage height, temperature, and water quality parameters from thousands of monitoring stations across the US.

Vidu MCP Server

Vidu MCP Server

一个服务器,可以使用 Vidu 的 AI 模型从静态图像生成视频,具有图像到视频转换、任务监控和图像上传等功能。

mcpjam-spotify

mcpjam-spotify

MCPJam 团队构建的 Spotify 的 MCP 服务器

Medium MCP API Server

Medium MCP API Server

用于 Medium API 的微服务通信协议 (MCP) 服务器,用于发布内容和管理用户帐户。 Or, a slightly more formal translation: 用于 Medium API 的微服务通信协议 (MCP) 服务器,旨在发布内容和管理用户账户。

Retell AI MCP Server

Retell AI MCP Server

Enables interaction with Retell AI's voice and chat agent platform. Build, deploy, and manage AI phone agents, configure conversation flows, handle calls/chats, and manage phone numbers through natural language.

Smithery Registry MCP Server

Smithery Registry MCP Server

用于与 Smithery Registry API 交互的 MCP 服务器

mcp-sleep

mcp-sleep

等待一段时间后继续执行代理的工具。

Accessible Color Contrast MCP

Accessible Color Contrast MCP

Enables checking WCAG color contrast ratios and accessibility compliance between color pairs. Helps determine optimal text colors for backgrounds and validates color combinations meet accessibility standards.

MCP GPT Image 1

MCP GPT Image 1

MCP GPT Image 1

mongo-mcp-server

mongo-mcp-server

MongoDB 的 MCP 服务器 (MongoDB de MCP fúwùqì) This translates to: "MongoDB's MCP server"

MCP Client Example ☀️

MCP Client Example ☀️

Okay, here's a basic example of a Python client and server using the `mcp` library (assuming you meant the Minecraft Protocol, and you're looking for a simplified example, not a full Minecraft server implementation). This example focuses on establishing a connection and sending/receiving simple data. **Important Considerations:** * **`mcp` Library:** There isn't a standard Python library called `mcp`. If you're referring to the Minecraft Protocol, you'll likely need to use a library like `mcstatus` or `nbt` for more complex interactions. This example uses standard sockets for a simplified demonstration. * **Minecraft Protocol Complexity:** The actual Minecraft protocol is *very* complex. This example is a *highly* simplified illustration and won't actually connect to a real Minecraft server or handle the full protocol. * **Error Handling:** This example lacks robust error handling for brevity. In a real application, you'd need to handle exceptions (e.g., connection refused, socket errors, timeouts) properly. * **Security:** This example is for demonstration purposes only and is not secure. Do not use it in a production environment without proper security measures. **Simplified Example (Sockets):** **Server (server.py):** ```python import socket HOST = '127.0.0.1' # Standard loopback interface address (localhost) PORT = 65432 # Port to listen on (non-privileged ports are > 1023) with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind((HOST, PORT)) s.listen() print(f"Server listening on {HOST}:{PORT}") conn, addr = s.accept() with conn: print(f"Connected by {addr}") while True: data = conn.recv(1024) if not data: break decoded_data = data.decode('utf-8') print(f"Received: {decoded_data}") response = f"Server received: {decoded_data}".encode('utf-8') conn.sendall(response) ``` **Client (client.py):** ```python import socket HOST = '127.0.0.1' # The server's hostname or IP address PORT = 65432 # The port used by the server with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((HOST, PORT)) message = "Hello, Server!" s.sendall(message.encode('utf-8')) data = s.recv(1024) print(f"Received: {data.decode('utf-8')}") ``` **How to Run:** 1. **Save:** Save the code as `server.py` and `client.py`. 2. **Run the Server:** Open a terminal or command prompt and run `python server.py`. The server will start listening for connections. 3. **Run the Client:** Open another terminal or command prompt and run `python client.py`. The client will connect to the server, send a message, and receive a response. **Explanation:** * **Server:** * Creates a socket, binds it to an address and port, and listens for incoming connections. * `s.accept()` blocks until a client connects. * `conn.recv(1024)` receives data from the client (up to 1024 bytes at a time). * `conn.sendall()` sends data back to the client. * **Client:** * Creates a socket and connects to the server's address and port. * `s.sendall()` sends data to the server. * `s.recv(1024)` receives data from the server. * `decode('utf-8')` converts the received bytes to a string. * `encode('utf-8')` converts the string to bytes for sending. **To connect to a real Minecraft server (which is much more complex):** You'll need a library that handles the Minecraft protocol. Here's a basic example using `mcstatus`: ```python from mcstatus import JavaServer server = JavaServer.lookup("example.com:25565") # Replace with your server address status = server.status() print(f"The server has {status.players.online} players online") ``` **Chinese Translation of the Simplified Example's Comments:** **Server (server.py):** ```python import socket HOST = '127.0.0.1' # 标准的回环接口地址 (localhost) - Standard loopback interface address (localhost) PORT = 65432 # 监听的端口 (非特权端口大于 1023) - Port to listen on (non-privileged ports are > 1023) with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind((HOST, PORT)) s.listen() print(f"服务器监听在 {HOST}:{PORT}") # Server listening on {HOST}:{PORT} conn, addr = s.accept() with conn: print(f"连接来自 {addr}") # Connected by {addr} while True: data = conn.recv(1024) if not data: break decoded_data = data.decode('utf-8') print(f"接收到: {decoded_data}") # Received: {decoded_data} response = f"服务器接收到: {decoded_data}".encode('utf-8') # Server received: {decoded_data} conn.sendall(response) ``` **Client (client.py):** ```python import socket HOST = '127.0.0.1' # 服务器的主机名或 IP 地址 - The server's hostname or IP address PORT = 65432 # 服务器使用的端口 - The port used by the server with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((HOST, PORT)) message = "你好,服务器!" # Hello, Server! s.sendall(message.encode('utf-8')) data = s.recv(1024) print(f"接收到: {data.decode('utf-8')}") # Received: {data.decode('utf-8')} ``` **Chinese Translation of the `mcstatus` example:** ```python from mcstatus import JavaServer server = JavaServer.lookup("example.com:25565") # 替换为你的服务器地址 - Replace with your server address status = server.status() print(f"服务器有 {status.players.online} 个玩家在线") # The server has {status.players.online} players online ``` **Important Notes about the Chinese Translations:** * I've tried to provide accurate and natural-sounding translations. * The comments are translated to help understand the code's purpose. * Remember to replace `"example.com:25565"` with the actual address of the Minecraft server you want to connect to. This should give you a good starting point. Remember to install the `mcstatus` library if you want to use the Minecraft server status example: `pip install mcstatus`. Good luck!

MCP-Recon-Server

MCP-Recon-Server

带有用于域名侦察的工具的 MCP 服务器 (Dài yǒu yòng yú yú míng zhēnchá de gōngjù de MCP fúwùqì) Alternatively, a more technical translation could be: 配备域名侦察工具的 MCP 服务器 (Pèibèi yú míng zhēnchá gōngjù de MCP fúwùqì) Which one is better depends on the context. The first is more general, while the second is more precise.

nuclei-server MCP Server

nuclei-server MCP Server

一个基于 TypeScript 的 MCP 服务器,实现了一个简单的笔记系统,允许用户创建、访问和生成文本笔记的摘要。 (Alternatively, a slightly more formal translation:) 一个基于 TypeScript 的 MCP 服务器,它实现了一个简易的笔记系统,该系统允许用户创建、访问并生成文本笔记的摘要。

SerpApi MCP Server

SerpApi MCP Server

Enables searches across multiple search engines (Google, Bing, YouTube, etc.) and retrieval of parsed search results through SerpApi, allowing natural language queries to access live search engine data.

Datadog MCP Server

Datadog MCP Server

Enables interaction with Datadog's monitoring and observability platform through the MCP protocol. Supports incident management, monitor status checks, log searches, metrics queries, APM traces, dashboard access, RUM analytics, host management, and downtime scheduling.

Role-Specific Context MCP Server

Role-Specific Context MCP Server

一个模型上下文协议服务器,它为人工智能代理启用基于角色的上下文管理,允许用户建立特定的指令,维护分区内存,并为系统中不同代理角色调整语气。

honeypot-detector-mcp

honeypot-detector-mcp

An MCP server that detects potential honeypot tokens on Ethereum, BNB Smart Chain (BSC), and Base.

Remote MCP Server on Cloudflare

Remote MCP Server on Cloudflare

GitLab MCP Server

GitLab MCP Server

Enables AI-powered exploration and interaction with GitLab instances through comprehensive search, code browsing, and repository management. Supports both self-hosted and GitLab.com with flexible authentication for read and write operations.

Screenshot MCP Server

Screenshot MCP Server

启用 AI 工具来捕获和处理用户屏幕的截图,从而允许 AI 助手通过一个简单的 MCP 接口来查看和分析用户正在看的内容。

FastMCP Novel Processing Tool

FastMCP Novel Processing Tool

An MCP server for intelligent novel processing that enables precise token-based text segmentation and management of bulk rewriting tasks. It integrates with the Cursor editor to facilitate automated content transformation workflows and prompt management.

Linear

Linear

一个模型上下文协议服务器,使 AI 助手能够与 Linear 项目管理系统交互,允许用户通过自然语言检索、创建和更新议题、项目和团队。

@jpisnice/shadcn-ui-mcp-server

@jpisnice/shadcn-ui-mcp-server

A mcp server to allow LLMS gain context about shadcn ui component structure,usage and installation

mcp-mananger-desktop

mcp-mananger-desktop

未完成:一个 MCP 服务器,用于搜索、安装、卸载你的 Claude 应用(或更多)的所有 MCP 服务器或服务。

MySQL MCP Server

MySQL MCP Server

一个基于 MCP (模型-控制器-提供者) 框架,通过 SSE (服务器发送事件) 提供 MySQL 数据库操作的服务器,能够实现 MySQL 数据库的实时数据传输。

Cloudflare Playwright MCP

Cloudflare Playwright MCP

Enables AI assistants to control a web browser through tools for navigation, clicking, typing, and capturing screenshots using Cloudflare Workers. It allows models to perform complex web automation tasks and interact with live websites through a set of 14 specialized tools.

MCP Chess Server

MCP Chess Server

Enables interaction with Chess.com's public API to retrieve player profiles and statistics including rating history and performance metrics for any Chess.com username.