Discover Awesome MCP Servers
Extend your agent with 15,933 capabilities via MCP servers.
- All15,933
- Developer Tools3,867
- Search1,714
- Research & Data1,557
- AI Integration Systems229
- Cloud Platforms219
- Data & App Analysis181
- Database Interaction177
- Remote Shell Execution165
- Browser Automation147
- Databases145
- Communication137
- AI Content Generation127
- OS Automation120
- Programming Docs Access109
- Content Fetching108
- Note Taking97
- File Systems96
- Version Control93
- Finance91
- Knowledge & Memory90
- Monitoring79
- Security71
- Image & Video Processing69
- Digital Note Management66
- AI Memory Systems62
- Advanced AI Reasoning59
- Git Management Tools58
- Cloud Storage51
- Entertainment & Media43
- Virtualization42
- Location Services35
- Web Automation & Stealth32
- Media Content Processing32
- Calendar Management26
- Ecommerce & Retail18
- Speech Processing18
- Customer Data Platforms16
- Travel & Transportation14
- Education & Learning Tools13
- Home Automation & IoT13
- Web Search Integration12
- Health & Wellness10
- Customer Support10
- Marketing9
- Games & Gamification8
- Google Cloud Integrations7
- Art & Culture4
- Language Translation3
- Legal & Compliance2
Text-to-Speech MCP Server
一个简单的 MCP (模型上下文协议) 服务器,提供文本转语音转换功能,使用 TypeScript 编写。
MCP Server Implementation Guide
以下是一个指南和实现,用于创建你自己的 MCP (模型控制协议) 服务器,以便与 Cursor 集成: **标题:创建你自己的 Cursor 集成 MCP 服务器指南与实现** **简介:** Cursor 是一款强大的代码编辑器,它允许通过 MCP (Model Control Protocol) 与外部语言模型进行交互。 本指南将引导你完成创建自己的 MCP 服务器的过程,以便将你自己的语言模型集成到 Cursor 中。 **1. 了解 MCP (Model Control Protocol):** * **目的:** MCP 是一种允许 Cursor 与外部语言模型进行通信的协议。 它定义了 Cursor 如何向模型发送请求以及模型如何返回响应。 * **通信方式:** MCP 通常使用 JSON over WebSocket 进行通信。 * **关键消息类型:** * **`completion` 请求:** Cursor 向模型发送代码补全请求。 * **`completion` 响应:** 模型返回代码补全建议。 * **`chat` 请求:** Cursor 向模型发送聊天请求。 * **`chat` 响应:** 模型返回聊天回复。 * **`edit` 请求:** Cursor 向模型发送代码编辑请求。 * **`edit` 响应:** 模型返回代码编辑建议。 * **`health` 请求:** Cursor 向服务器发送健康检查请求。 * **`health` 响应:** 服务器返回健康状态。 **2. 选择编程语言和框架:** 你可以使用任何你喜欢的编程语言和框架来构建 MCP 服务器。 一些常见的选择包括: * **Python:** 使用 `websockets` 或 `aiohttp` 库。 * **Node.js:** 使用 `ws` 或 `socket.io` 库。 * **Go:** 使用 `gorilla/websocket` 库。 本指南将使用 Python 和 `websockets` 库作为示例。 **3. 设置 WebSocket 服务器:** 首先,你需要设置一个 WebSocket 服务器来监听来自 Cursor 的连接。 ```python import asyncio import websockets import json async def handle_connection(websocket, path): print(f"New connection from {websocket.remote_address}") try: async for message in websocket: print(f"Received message: {message}") try: data = json.loads(message) # 处理消息 response = await process_message(data) await websocket.send(json.dumps(response)) except json.JSONDecodeError: print("Invalid JSON received") await websocket.send(json.dumps({"error": "Invalid JSON"})) except Exception as e: print(f"Error processing message: {e}") await websocket.send(json.dumps({"error": str(e)})) except websockets.exceptions.ConnectionClosedError: print(f"Connection closed unexpectedly from {websocket.remote_address}") except websockets.exceptions.ConnectionClosedOK: print(f"Connection closed normally from {websocket.remote_address}") finally: print(f"Connection closed from {websocket.remote_address}") async def process_message(data): # 在这里处理不同类型的 MCP 请求 if data.get("type") == "completion": return await handle_completion(data) elif data.get("type") == "chat": return await handle_chat(data) elif data.get("type") == "edit": return await handle_edit(data) elif data.get("type") == "health": return await handle_health(data) else: return {"error": "Unknown message type"} async def handle_completion(data): # TODO: 调用你的语言模型进行代码补全 prompt = data.get("prompt") # 示例:返回一个简单的补全建议 completion = f"// This is a completion for: {prompt}" return {"completion": completion} async def handle_chat(data): # TODO: 调用你的语言模型进行聊天 message = data.get("message") # 示例:返回一个简单的聊天回复 response = f"You said: {message}" return {"response": response} async def handle_edit(data): # TODO: 调用你的语言模型进行代码编辑 code = data.get("code") instruction = data.get("instruction") # 示例:返回一个简单的编辑建议 edited_code = f"// Edited code based on: {instruction}\n{code}" return {"edited_code": edited_code} async def handle_health(data): # 返回服务器的健康状态 return {"status": "ok"} async def main(): async with websockets.serve(handle_connection, "localhost", 8765): print("WebSocket server started at ws://localhost:8765") await asyncio.Future() # 保持服务器运行 if __name__ == "__main__": asyncio.run(main()) ``` **4. 处理 MCP 请求:** 在 `process_message` 函数中,你需要根据 `data.get("type")` 的值来处理不同类型的 MCP 请求。 * **`completion` 请求:** * 从 `data` 中提取代码补全所需的上下文信息(例如,当前代码、光标位置等)。 * 调用你的语言模型来生成代码补全建议。 * 将补全建议封装在 `completion` 响应中并返回。 * **`chat` 请求:** * 从 `data` 中提取聊天消息。 * 调用你的语言模型来生成聊天回复。 * 将回复封装在 `chat` 响应中并返回。 * **`edit` 请求:** * 从 `data` 中提取代码和编辑指令。 * 调用你的语言模型来生成代码编辑建议。 * 将编辑后的代码封装在 `edit` 响应中并返回。 * **`health` 请求:** * 返回服务器的健康状态。 **5. 集成你的语言模型:** 在 `handle_completion`、`handle_chat` 和 `handle_edit` 函数中,你需要集成你自己的语言模型。 这可能涉及: * 加载你的语言模型。 * 预处理输入数据。 * 调用语言模型进行推理。 * 后处理输出数据。 **6. 配置 Cursor:** 1. 打开 Cursor 的设置。 2. 搜索 "Model Control Protocol"。 3. 启用 "Enable Model Control Protocol"。 4. 在 "Model Control Protocol URL" 中输入你的 MCP 服务器的 URL (例如,`ws://localhost:8765`)。 **7. 测试:** 1. 运行你的 MCP 服务器。 2. 在 Cursor 中打开一个代码文件。 3. 尝试代码补全、聊天或代码编辑功能。 4. 检查你的 MCP 服务器是否收到请求并返回了正确的响应。 **8. 错误处理:** * 在服务器端,捕获所有可能的异常并返回包含错误信息的 JSON 响应。 * 在 Cursor 端,检查响应中是否包含错误信息并向用户显示。 **9. 优化:** * **性能:** 优化你的语言模型和 MCP 服务器以提高性能。 * **可扩展性:** 设计你的 MCP 服务器以支持多个并发连接。 * **安全性:** 考虑安全性问题,例如身份验证和授权。 **示例 JSON 消息格式:** **Completion Request:** ```json { "type": "completion", "prompt": "def hello_world():\n " } ``` **Completion Response:** ```json { "completion": "print('Hello, world!')" } ``` **Chat Request:** ```json { "type": "chat", "message": "How do I write a for loop in Python?" } ``` **Chat Response:** ```json { "response": "You can write a for loop in Python like this: `for i in range(10): print(i)`" } ``` **Edit Request:** ```json { "type": "edit", "code": "def add(a, b):\n return a + b", "instruction": "Add a docstring to the function." } ``` **Edit Response:** ```json { "edited_code": "def add(a, b):\n \"\"\"Adds two numbers together.\"\"\"\n return a + b" } ``` **Health Request:** ```json { "type": "health" } ``` **Health Response:** ```json { "status": "ok" } ``` **总结:** 通过遵循本指南,你可以创建自己的 MCP 服务器,并将你自己的语言模型集成到 Cursor 中。 这将使你能够利用你自己的模型来增强 Cursor 的代码补全、聊天和代码编辑功能。 记住,这只是一个起点,你需要根据你的具体需求进行调整和优化。 **重要提示:** * 确保你的语言模型符合 Cursor 的使用条款和隐私政策。 * 仔细测试你的 MCP 服务器,以确保其稳定性和可靠性。 * 考虑安全性问题,例如身份验证和授权。 This translation provides a comprehensive guide and implementation example for creating your own MCP server for Cursor integration. It covers the key concepts, steps, and considerations involved in the process. Remember to replace the placeholder comments with your actual language model integration logic. Good luck!
yunxin-mcp-server
云信 MCP 服务器 (Yúnxìn MCP fúwùqì)
Weather-server MCP Server
A TypeScript-based MCP server that provides weather information through resources and tools, allowing users to access current weather data and forecast predictions for different cities.
My Awesome MCP
A basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Supports both stdio and HTTP transports with Docker deployment capabilities.
PostgreSQL MCP Server by CData
PostgreSQL MCP Server by CData
Lunar Calendar Mcp
TaskFlow MCP
A task management server that helps AI assistants break down user requests into manageable tasks and track their completion with user approval steps.
MCP Toolkit
A modular toolkit for building extensible tool services that fully supports the MCP 2024-11-05 specification, offering file operations, terminal execution, and network requests.
Deep Research MCP
A Model Context Protocol compliant server that facilitates comprehensive web research by utilizing Tavily's Search and Crawl APIs to gather and structure data for high-quality markdown document creation.
PostgreSQL MCP Server
Enables direct execution of PostgreSQL queries through the Model Context Protocol. Supports both SELECT and non-SELECT operations with dual communication modes (stdio and HTTP REST API).
ExecuteAutomation Database Server
A Model Context Protocol server that enables LLMs like Claude to interact with SQLite and SQL Server databases, allowing for schema inspection and SQL query execution.
Cline Code Nexus
Cline 创建的用于验证 MCP 服务器功能的测试存储库。
Kaspersky OpenTIP MCP Server
Kaspersky OpenTIP Model Context Protocol Server. This server gives access to Kaspersky OpenTIP API to agentic applications.
Shopify MCP Server
Enables interaction with Shopify store data through GraphQL API, providing tools for managing products, customers, orders, blogs, and articles.
College Basketball Stats MCP Server
An MCP server for accessing college basketball statistics through the SportsData.io CBB v3 Stats API, enabling AI agents to retrieve and analyze college basketball data through natural language interactions.
Saros MCP Server
Enables AI agents to interact with Saros DeFi through natural language, providing tools for liquidity pool management, portfolio analytics, farming positions, and swap quotes on Solana.
mcp_server
Okay, I understand. You want me to translate the following request into Chinese: "implementing a sample mcp_server using dolphin_mcp client" Here's the translation: **Simplified Chinese:** 使用 dolphin_mcp 客户端实现一个示例 mcp_server **Traditional Chinese:** 使用 dolphin_mcp 客戶端實作一個範例 mcp_server **Explanation of the translation:** * **implementing:** 实现 (shí xiàn) / 實作 (shí zuò) - "to implement" or "to realize" * **a sample:** 一个示例 (yī gè shì lì) / 一個範例 (yī gè fàn lì) - "a sample" or "an example" * **mcp_server:** mcp_server - This is kept as is, as it's a technical term. It could be translated, but it's generally better to keep technical terms in English for clarity. * **using:** 使用 (shǐ yòng) - "using" * **dolphin_mcp client:** dolphin_mcp 客户端 (dolphin_mcp kè hù duān) / dolphin_mcp 客戶端 (dolphin_mcp kè hù duān) - "dolphin_mcp client" **Which version to use:** * Use **Simplified Chinese** if your target audience is in mainland China or Singapore. * Use **Traditional Chinese** if your target audience is in Taiwan, Hong Kong, or Macau. Therefore, the best translation depends on your target audience. Both translations convey the same meaning.
amap-weather-server
一个带有 MCP 的高德地图天气服务器
MCP server for kintone by Deno サンプル
mcp-trigger
This phrase is a bit ambiguous. To translate it accurately, I need more context. Here are a few possible translations, depending on what you mean by "mcp server for trigger": **Possible Interpretations and Translations:** * **If "mcp" refers to a specific software or system (e.g., a Minecraft mod, a control system, etc.) and "trigger" refers to an event that initiates an action:** * **Translation:** 用于触发的 MCP 服务器 (Yòng yú chùfā de MCP fúwùqì) * **Explanation:** This translates to "MCP server for triggering" or "MCP server used for triggering." It implies the server is designed to respond to a specific event. * **If "trigger" is a verb, meaning to activate or initiate something on the MCP server:** * **Translation:** 触发 MCP 服务器 (Chùfā MCP fúwùqì) * **Explanation:** This translates to "Trigger MCP server" or "Activate MCP server." It implies an action that starts or activates the server. * **If "trigger" is a noun, referring to a specific mechanism or event that affects the MCP server:** * **Translation:** 用于 MCP 服务器的触发器 (Yòng yú MCP fúwùqì de chùfāqì) * **Explanation:** This translates to "Trigger for MCP server" or "Trigger mechanism for MCP server." **To give you the best translation, please provide more context. For example:** * What does "mcp" stand for? * What kind of "trigger" are you referring to? * What is the purpose of this server? Once I have more information, I can provide a more accurate and helpful translation.
Jokes MCP Server
An MCP server that allows Microsoft Copilot Studio to fetch random jokes from three sources: Chuck Norris jokes, Dad jokes, and Yo Mama jokes.
Ghost MCP Server
Manage your Ghost blog content directly from Claude, Cursor, or any MCP-compatible client, allowing you to create, edit, search, and delete posts with support for tag management and analytics.
DeepChat 好用的图像 MCP Server 集合
一个用于 DeepChat 的图像 MCP 服务器
Slack MCP Server
A FastMCP-based server that provides complete Slack integration for Cursor IDE, allowing users to interact with Slack API features using natural language.
Python MCP Sandbox
An interactive Python code execution environment that allows users and LLMs to safely execute Python code and install packages in isolated Docker containers.
Form.io MCP Server
Enables AI assistants to interact with Form.io's API to create, read, update, and manage forms using natural language. Includes safety guardrails to protect existing forms and supports real-time form previews.
Ares DevOps MCP Server
An MCP server that provides seamless interaction with Azure DevOps Git repositories, enabling users to manage repositories, branches, pull requests, and pipelines through natural language.
Guardian News MCP Server
Enables users to search for the latest news articles from The Guardian using keywords and check service status. Provides access to Guardian's news content through their API with configurable result limits.
Marketstack MCP Server
Exposes various Marketstack API endpoints as MCP tools, providing access to financial market data including EOD, intraday, splits, dividends, tickers, exchanges, and other financial information.