发现优秀的 MCP 服务器

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

全部23,375
LaTeX MCP Server

LaTeX MCP Server

A server that enables compilation of LaTeX documents to PDF and management of reusable templates and snippets through the Model Context Protocol.

kk-bedrock-agent-hub-mcp

kk-bedrock-agent-hub-mcp

Enables AI assistants to query and retrieve information from Amazon Bedrock Knowledge Base using the Retrieve API, returning search results with content, location, and relevance scores.

MCP Server Boilerplate

MCP Server Boilerplate

A starter template for building custom MCP servers with example implementations of tools, resources, and prompts. Includes TypeScript support and installation scripts for Claude Desktop, Cursor, and other MCP-compatible clients.

Brave Search MCP Server

Brave Search MCP Server

Integrates the Brave Search API to provide web and local search capabilities, including news, articles, and business information. It features smart fallbacks from local to web search and supports pagination and freshness controls.

MCP Server & Client Test Environment

MCP Server & Client Test Environment

A testing environment for MCP server setup and client-server interactions, allowing users to verify basic MCP server functionality and test client-server communications including shell command execution.

MCPCurrentTime

MCPCurrentTime

A Model Context Protocol server that provides the current time in any timezone with customizable formatting, allowing AI assistants to access accurate time information.

MetaMask MCP

MetaMask MCP

A Model Context Protocol server that allows LLMs to interact with blockchain through MetaMask, keeping private keys securely in your crypto wallet while enabling transactions and blockchain operations.

CSV Editor

CSV Editor

Comprehensive CSV processing MCP server with 40+ operations for data manipulation, analysis, and validation. Features auto-save, undo/redo, and handles GB+ files

JSM Assets MCP Server

JSM Assets MCP Server

Enables AI assistants to search and browse Jira Service Management Assets data using AQL queries, schema exploration, and hierarchical object searches. It features robust automatic pagination to ensure reliable retrieval of complete asset datasets.

Magazine Photography MCP

Magazine Photography MCP

A visual vocabulary server that translates specific magazine aesthetics and photography styles into locked parameters for consistent, era-authentic image generation. It enables users to apply publication-style color grading, lighting, and composition strategies to prompts for reproducible and historically accurate results.

mcp-servers

mcp-servers

待定 (dài dìng)

FL Studio MCP

FL Studio MCP

An MCP server that connects Claude to FL Studio, allowing the AI to send melodies, chords, and drum patterns directly to the DAW via virtual MIDI ports.

DHIS2 MCP Server

DHIS2 MCP Server

Enables comprehensive interaction with DHIS2 health information systems through 40+ tools covering complete Web API functionality. Supports data management, tracker programs, analytics, and bulk operations for DHIS2 development and administration.

Demo MCP Basic

Demo MCP Basic

好的,这是 MCP 服务器的 HTTP SSE 演示以及一个客户端: **服务器端 (Python - 使用 Flask):** ```python from flask import Flask, Response, request import time import json app = Flask(__name__) # 模拟 MCP 数据 def generate_mcp_data(): counter = 0 while True: data = { "timestamp": time.time(), "counter": counter, "message": f"MCP Data Update: {counter}" } yield f"data: {json.dumps(data)}\n\n" counter += 1 time.sleep(1) # 每秒更新一次 @app.route('/mcp_stream') def mcp_stream(): return Response(generate_mcp_data(), mimetype="text/event-stream") if __name__ == '__main__': app.run(debug=True, host='0.0.0.0', port=5000) ``` **代码解释:** * **`Flask`:** 使用 Flask 框架创建一个简单的 Web 服务器。 * **`generate_mcp_data()`:** 这是一个生成器函数,它模拟 MCP 数据。 * 它创建一个包含时间戳、计数器和消息的字典。 * 它使用 `yield` 关键字返回一个格式化为 SSE 事件的数据字符串。 `data: {json.dumps(data)}\n\n` 是 SSE 格式的关键。 `data:` 表示数据字段,`\n\n` 表示事件的结束。 * `time.sleep(1)` 模拟数据更新的间隔(这里是每秒一次)。 * **`/mcp_stream` 路由:** * `@app.route('/mcp_stream')` 定义了一个路由,当客户端访问 `/mcp_stream` 时,会调用 `mcp_stream()` 函数。 * `Response(generate_mcp_data(), mimetype="text/event-stream")` 创建一个 HTTP 响应,其中包含 `generate_mcp_data()` 生成的数据流,并将 `mimetype` 设置为 `text/event-stream`。 这是告诉客户端这是一个 SSE 流的关键。 * **`app.run(...)`:** 启动 Flask 服务器。 `host='0.0.0.0'` 允许从任何 IP 地址访问服务器。 **客户端 (JavaScript - HTML):** ```html <!DOCTYPE html> <html> <head> <title>MCP SSE Client</title> </head> <body> <h1>MCP Data Stream</h1> <div id="mcp-data"></div> <script> const eventSource = new EventSource('/mcp_stream'); // 替换为你的服务器地址 eventSource.onmessage = (event) => { const data = JSON.parse(event.data); const mcpDataElement = document.getElementById('mcp-data'); mcpDataElement.innerHTML += `<p>${JSON.stringify(data)}</p>`; }; eventSource.onerror = (error) => { console.error("EventSource failed:", error); eventSource.close(); // 关闭连接,防止无限重试 }; </script> </body> </html> ``` **代码解释:** * **`EventSource`:** `new EventSource('/mcp_stream')` 创建一个 `EventSource` 对象,连接到服务器的 `/mcp_stream` 端点。 确保将 `/mcp_stream` 替换为你的服务器地址(例如 `http://localhost:5000/mcp_stream`)。 * **`onmessage` 事件处理程序:** * `eventSource.onmessage = (event) => { ... }` 定义了一个事件处理程序,当服务器发送新数据时,该处理程序会被调用。 * `event.data` 包含服务器发送的数据。 * `JSON.parse(event.data)` 将 JSON 字符串解析为 JavaScript 对象。 * `document.getElementById('mcp-data')` 获取 HTML 中 `id` 为 `mcp-data` 的元素。 * `mcpDataElement.innerHTML += `<p>${JSON.stringify(data)}</p>`;` 将接收到的数据添加到 HTML 元素中。 * **`onerror` 事件处理程序:** * `eventSource.onerror = (error) => { ... }` 定义了一个事件处理程序,当发生错误时,该处理程序会被调用。 * `console.error("EventSource failed:", error);` 将错误信息输出到控制台。 * `eventSource.close();` 关闭 `EventSource` 连接,防止客户端无限重试连接。 **如何运行:** 1. **保存文件:** 将 Python 代码保存为 `mcp_server.py`,将 HTML 代码保存为 `mcp_client.html`。 2. **安装 Flask:** 在命令行中运行 `pip install flask`。 3. **运行服务器:** 在命令行中运行 `python mcp_server.py`。 4. **打开客户端:** 在浏览器中打开 `mcp_client.html`。 **预期结果:** 你将在浏览器中看到一个标题为 "MCP Data Stream" 的页面,并且页面会不断更新,显示来自服务器的 MCP 数据。 每次服务器发送新数据时,都会在页面上添加一个新的 `<p>` 元素,显示 JSON 格式的数据。 **重要注意事项:** * **CORS (跨域资源共享):** 如果你的客户端和服务器运行在不同的域名或端口上,你可能需要配置 CORS。 你可以使用 Flask 的 `flask_cors` 扩展来处理 CORS。 例如: ```python from flask import Flask, Response from flask_cors import CORS import time import json app = Flask(__name__) CORS(app) # 允许所有来源的跨域请求 # ... (其余代码不变) ``` 然后运行 `pip install flask_cors`。 * **错误处理:** 在实际应用中,你需要更完善的错误处理机制,例如处理连接错误、数据解析错误等。 * **数据格式:** 根据你的实际需求调整 MCP 数据的格式。 * **服务器地址:** 确保客户端中的 `EventSource` 连接到正确的服务器地址。 这个演示提供了一个基本的 MCP 服务器和客户端的框架。你可以根据你的具体需求进行修改和扩展。 希望这个例子能帮助你理解如何使用 HTTP SSE 实现 MCP 服务器。

Manim MCP Server

Manim MCP Server

镜子 (jìng zi)

MCP Remote macOS Control Server

MCP Remote macOS Control Server

Enables AI to remotely control macOS systems via VNC with full desktop capabilities including screenshots, mouse control, keyboard input, and application management. Includes a web-based chat interface for natural language control.

GLM Vision Server

GLM Vision Server

Enables image analysis using GLM-4.5V's vision capabilities from Z.AI. Supports analyzing both local image files and URLs with customizable prompts and parameters.

Gemini Email Subject Generator MCP

Gemini Email Subject Generator MCP

An MCP server that utilizes Google's Gemini Flash 2 model to generate AI-driven email subjects and detailed reasoning processes. It enables users to send emails via SMTP with dynamic content and save complex brainstorming sessions to local files.

Model Context Protocol and Fireproof Demo: JSON Document Server

Model Context Protocol and Fireproof Demo: JSON Document Server

镜子 (jìng zi)

🚀 deco.host — Instant MCP Server Deployment

🚀 deco.host — Instant MCP Server Deployment

开源 MCP 服务器平台。一个用于构建自定义 MCP 服务器并在任何地方部署的 Web Ninite。

Czech Railways (České dráhy) MCP Server

Czech Railways (České dráhy) MCP Server

Enables searching for train connections, stations, and ticket pricing on the Czech railway network via the official České dráhy API. It supports retrieving detailed connection information and passenger discount categories for travel planning.

MCP 学习项目⚡

MCP 学习项目⚡

个人学习MCP (Gèrén xuéxí MCP) - This translates to "Personal study of MCP".

Fetch JSONPath MCP

Fetch JSONPath MCP

Enables efficient extraction of specific data from JSON APIs using JSONPath patterns, reducing token usage by up to 99% compared to fetching entire responses. Supports single and batch operations for both JSON extraction and raw text retrieval from URLs.

Zotero Chunk RAG

Zotero Chunk RAG

Enables passage-level semantic search over a Zotero library by extracting, chunking, and embedding PDF text using Gemini and ChromaDB. It provides MCP tools to perform topical searches and retrieve specific document passages with surrounding context.

Global MCP Manager

Global MCP Manager

Enables executing terminal commands and managing files across different contexts: local system, remote SSH servers, and GitHub repositories. Provides comprehensive file operations, directory navigation, and multi-environment command execution capabilities.

ReportPortal MCP Server

ReportPortal MCP Server

ReportPortal 的 MCP 服务器

mcp-nomad

mcp-nomad

mcp-nomad

MCP Pyrefly

MCP Pyrefly

Integrates Pyrefly's real-time Python type checker with a gamification system that rewards fixing code errors with lollipops, using psychological manipulation to encourage LLMs to actively hunt for and fix all errors including imports.

MCP Imagen Server

MCP Imagen Server

Enables text-to-image generation, style transfer, background removal, and automatic image cropping using Google's Imagen AI models through the Model Context Protocol.

Pokemon MCP Server

Pokemon MCP Server

An MCP server that provides standardized access to Pokemon data, allowing users to search, compare, and retrieve detailed information about Pokemon through natural language tools.