发现优秀的 MCP 服务器

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

全部86,267
Playcanvas_editor Mcp Server

Playcanvas_editor Mcp Server

镜子 (jìng zi)

FreeTaxUSA MCP Server

FreeTaxUSA MCP Server

Enables AI agents to file taxes through FreeTaxUSA by automating a browser, allowing form filling, navigation, and refund checks via natural language.

code-vector-sync

code-vector-sync

Enables semantic code search over a local codebase using Qdrant vector embeddings and OpenAI embeddings, allowing natural language queries from MCP-compatible clients like Claude Desktop.

git-log-mcp

git-log-mcp

Enables querying git commit history to analyze when and why code changes happened, providing authorship context and diffs for specific modules.

Forward MCP

Forward MCP

Enables agents to purchase verified growth outcomes such as qualified leads, sales meetings, and SEO content, with payment only for accepted results.

mcp-septa

mcp-septa

Provides real-time SEPTA transit data via the keyless SEPTA API, enabling users to query schedules, routes, and arrivals for Philadelphia's public transit system.

Vibe Marketing MCP

Vibe Marketing MCP

Provides AI clients with access to proven social media hooks, copywriting frameworks, KOL archetypes, and real-time trending content across platforms like Twitter, Instagram, LinkedIn, TikTok, YouTube, and Facebook to humanize and optimize marketing content.

Copus MCP Server

Copus MCP Server

An MCP server that allows AI assistants to search and retrieve human-curated content recommendations from Copus.

MCP TS Quickstart

MCP TS Quickstart

好的,这是针对 MCP 服务器实现的无构建 TypeScript 快速入门: **目标:** * 创建一个简单的 MCP 服务器,无需任何构建步骤(例如,webpack、rollup、esbuild)。 * 使用 TypeScript 编写,并直接使用 `ts-node` 运行。 * 展示基本的 MCP 服务器功能,例如注册、心跳和数据处理。 **先决条件:** * Node.js (推荐版本 16 或更高版本) * npm 或 yarn * TypeScript (`npm install -g typescript`) * ts-node (`npm install -g ts-node`) **步骤:** 1. **创建项目目录:** ```bash mkdir mcp-server-quickstart cd mcp-server-quickstart ``` 2. **初始化 npm 项目:** ```bash npm init -y ``` 3. **安装必要的依赖项:** ```bash npm install @minecraft/server @minecraft/server-ui @minecraft/server-admin @minecraft/server-net npm install ws # 用于 WebSocket 通信 npm install uuid # 用于生成唯一 ID npm install @types/ws @types/uuid --save-dev # 安装类型定义 ``` 4. **创建 `tsconfig.json` 文件:** ```json { "compilerOptions": { "target": "esnext", "module": "commonjs", "moduleResolution": "node", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true, "outDir": "dist", // 可选,如果需要输出编译后的 JavaScript "sourceMap": true, // 可选,用于调试 "experimentalDecorators": true, // 启用装饰器 "emitDecoratorMetadata": true, // 发射装饰器元数据 "lib": ["esnext"] // 包含最新的 ECMAScript 特性 }, "include": ["src/**/*"], "exclude": ["node_modules"] } ``` **解释:** * `target`: 指定编译的目标 JavaScript 版本。`esnext` 允许使用最新的 JavaScript 特性。 * `module`: 指定模块系统。 `commonjs` 适用于 Node.js。 * `moduleResolution`: 指定模块解析策略。 `node` 模拟 Node.js 的模块解析。 * `esModuleInterop`: 允许 CommonJS 模块与 ES 模块互操作。 * `strict`: 启用所有严格类型检查选项。 * `skipLibCheck`: 跳过对声明文件的类型检查,可以加快编译速度。 * `outDir`: 指定输出目录(可选)。 * `sourceMap`: 生成源映射文件(可选),用于调试。 * `experimentalDecorators` 和 `emitDecoratorMetadata`: 启用装饰器支持。 * `lib`: 包含要包含在编译中的库文件。 5. **创建 `src` 目录并创建 `src/index.ts` 文件:** ```bash mkdir src touch src/index.ts ``` 6. **将以下代码添加到 `src/index.ts`:** ```typescript import { WebSocket, WebSocketServer } from 'ws'; import { v4 as uuidv4 } from 'uuid'; interface Client { id: string; socket: WebSocket; } const clients: Client[] = []; const wss = new WebSocketServer({ port: 3000 }); console.log("MCP Server started on port 3000"); wss.on('connection', ws => { const clientId = uuidv4(); const client: Client = { id: clientId, socket: ws }; clients.push(client); console.log(`Client connected: ${clientId}`); ws.on('message', message => { console.log(`Received message from ${clientId}: ${message}`); // 广播消息给所有其他客户端 clients.forEach(c => { if (c.id !== clientId) { c.socket.send(`[${clientId}]: ${message}`); } }); }); ws.on('close', () => { console.log(`Client disconnected: ${clientId}`); clients.splice(clients.findIndex(c => c.id === clientId), 1); }); ws.on('error', error => { console.error(`WebSocket error for client ${clientId}: ${error}`); }); ws.send('Welcome to the MCP Server!'); }); wss.on('error', error => { console.error('WebSocket server error:', error); }); ``` **解释:** * **导入必要的模块:** `ws` 用于 WebSocket 服务器,`uuid` 用于生成客户端 ID。 * **`Client` 接口:** 定义客户端的结构,包含 ID 和 WebSocket 连接。 * **`clients` 数组:** 存储连接的客户端。 * **创建 WebSocket 服务器:** `new WebSocketServer({ port: 3000 })` 在端口 3000 上启动服务器。 * **`connection` 事件:** 当有客户端连接时触发。 * 生成一个唯一的客户端 ID。 * 将客户端添加到 `clients` 数组。 * 设置消息、关闭和错误处理程序。 * 发送欢迎消息。 * **`message` 事件:** 当客户端发送消息时触发。 * 将消息记录到控制台。 * 将消息广播给所有其他客户端。 * **`close` 事件:** 当客户端断开连接时触发。 * 从 `clients` 数组中删除客户端。 * **`error` 事件:** 处理 WebSocket 错误。 7. **运行服务器:** ```bash npx ts-node src/index.ts ``` 或者,如果你的 `tsconfig.json` 中有 `outDir`,你可以先编译: ```bash tsc node dist/index.js ``` 8. **测试服务器:** 你可以使用任何 WebSocket 客户端来连接到服务器。 以下是一些选项: * **在线 WebSocket 客户端:** 例如,[https://www.websocket.org/echo.html](https://www.websocket.org/echo.html) * **Node.js 客户端:** 你可以创建一个简单的 Node.js 客户端来测试服务器。 * **Minecraft 客户端:** 你可以使用 Minecraft 的 `/connect` 命令连接到服务器(如果你的服务器支持 Minecraft 协议)。 在 WebSocket 客户端中,连接到 `ws://localhost:3000`。 连接后,你应该收到欢迎消息。 发送消息,你应该看到它们被记录到服务器控制台,并广播给所有其他连接的客户端。 **重要注意事项:** * **安全性:** 此示例未实现任何安全性措施。 在生产环境中,你需要添加身份验证、授权和加密。 * **错误处理:** 此示例仅包含基本的错误处理。 你需要添加更全面的错误处理来处理各种情况。 * **扩展性:** 此示例是一个简单的单线程服务器。 对于高负载,你可能需要考虑使用多线程或集群。 * **MCP 协议:** 此示例仅演示了基本的 WebSocket 通信。 要实现完整的 MCP 服务器,你需要实现 MCP 协议的所有方面,包括注册、心跳、数据处理和命令执行。 请参考官方的 MCP 文档。 * **`@minecraft/server` 包:** 虽然安装了 `@minecraft/server` 包,但此示例并没有直接使用它。 在更复杂的 MCP 服务器实现中,你将使用此包来与 Minecraft 服务器交互。 **下一步:** * 研究 MCP 协议规范。 * 实现注册和心跳机制。 * 处理来自 Minecraft 服务器的数据。 * 实现命令执行。 * 添加安全性措施。 * 考虑使用更高级的 WebSocket 库,例如 `socket.io`。 * 探索使用 `@minecraft/server` 包与 Minecraft 服务器进行更深入的集成。 这个快速入门提供了一个基本的框架,你可以用来构建一个更完整的 MCP 服务器。 记住,这只是一个起点,你需要根据你的具体需求进行扩展和修改。 **中文翻译:** 好的,这是一个针对 MCP 服务器实现的无构建 TypeScript 快速入门: **目标:** * 创建一个简单的 MCP 服务器,无需任何构建步骤(例如,webpack、rollup、esbuild)。 * 使用 TypeScript 编写,并直接使用 `ts-node` 运行。 * 展示基本的 MCP 服务器功能,例如注册、心跳和数据处理。 **先决条件:** * Node.js (推荐版本 16 或更高版本) * npm 或 yarn * TypeScript (`npm install -g typescript`) * ts-node (`npm install -g ts-node`) **步骤:** 1. **创建项目目录:** ```bash mkdir mcp-server-quickstart cd mcp-server-quickstart ``` 2. **初始化 npm 项目:** ```bash npm init -y ``` 3. **安装必要的依赖项:** ```bash npm install @minecraft/server @minecraft/server-ui @minecraft/server-admin @minecraft/server-net npm install ws # 用于 WebSocket 通信 npm install uuid # 用于生成唯一 ID npm install @types/ws @types/uuid --save-dev # 安装类型定义 ``` 4. **创建 `tsconfig.json` 文件:** ```json { "compilerOptions": { "target": "esnext", "module": "commonjs", "moduleResolution": "node", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true, "outDir": "dist", // 可选,如果需要输出编译后的 JavaScript "sourceMap": true, // 可选,用于调试 "experimentalDecorators": true, // 启用装饰器 "emitDecoratorMetadata": true, // 发射装饰器元数据 "lib": ["esnext"] // 包含最新的 ECMAScript 特性 }, "include": ["src/**/*"], "exclude": ["node_modules"] } ``` **解释:** * `target`: 指定编译的目标 JavaScript 版本。`esnext` 允许使用最新的 JavaScript 特性。 * `module`: 指定模块系统。 `commonjs` 适用于 Node.js。 * `moduleResolution`: 指定模块解析策略。 `node` 模拟 Node.js 的模块解析。 * `esModuleInterop`: 允许 CommonJS 模块与 ES 模块互操作。 * `strict`: 启用所有严格类型检查选项。 * `skipLibCheck`: 跳过对声明文件的类型检查,可以加快编译速度。 * `outDir`: 指定输出目录(可选)。 * `sourceMap`: 生成源映射文件(可选),用于调试。 * `experimentalDecorators` 和 `emitDecoratorMetadata`: 启用装饰器支持。 * `lib`: 包含要包含在编译中的库文件。 5. **创建 `src` 目录并创建 `src/index.ts` 文件:** ```bash mkdir src touch src/index.ts ``` 6. **将以下代码添加到 `src/index.ts`:** ```typescript import { WebSocket, WebSocketServer } from 'ws'; import { v4 as uuidv4 } from 'uuid'; interface Client { id: string; socket: WebSocket; } const clients: Client[] = []; const wss = new WebSocketServer({ port: 3000 }); console.log("MCP Server started on port 3000"); wss.on('connection', ws => { const clientId = uuidv4(); const client: Client = { id: clientId, socket: ws }; clients.push(client); console.log(`Client connected: ${clientId}`); ws.on('message', message => { console.log(`Received message from ${clientId}: ${message}`); // 广播消息给所有其他客户端 clients.forEach(c => { if (c.id !== clientId) { c.socket.send(`[${clientId}]: ${message}`); } }); }); ws.on('close', () => { console.log(`Client disconnected: ${clientId}`); clients.splice(clients.findIndex(c => c.id === clientId), 1); }); ws.on('error', error => { console.error(`WebSocket error for client ${clientId}: ${error}`); }); ws.send('Welcome to the MCP Server!'); }); wss.on('error', error => { console.error('WebSocket server error:', error); }); ``` **解释:** * **导入必要的模块:** `ws` 用于 WebSocket 服务器,`uuid` 用于生成客户端 ID。 * **`Client` 接口:** 定义客户端的结构,包含 ID 和 WebSocket 连接。 * **`clients` 数组:** 存储连接的客户端。 * **创建 WebSocket 服务器:** `new WebSocketServer({ port: 3000 })` 在端口 3000 上启动服务器。 * **`connection` 事件:** 当有客户端连接时触发。 * 生成一个唯一的客户端 ID。 * 将客户端添加到 `clients` 数组。 * 设置消息、关闭和错误处理程序。 * 发送欢迎消息。 * **`message` 事件:** 当客户端发送消息时触发。 * 将消息记录到控制台。 * 将消息广播给所有其他客户端。 * **`close` 事件:** 当客户端断开连接时触发。 * 从 `clients` 数组中删除客户端。 * **`error` 事件:** 处理 WebSocket 错误。 7. **运行服务器:** ```bash npx ts-node src/index.ts ``` 或者,如果你的 `tsconfig.json` 中有 `outDir`,你可以先编译: ```bash tsc node dist/index.js ``` 8. **测试服务器:** 你可以使用任何 WebSocket 客户端来连接到服务器。 以下是一些选项: * **在线 WebSocket 客户端:** 例如,[https://www.websocket.org/echo.html](https://www.websocket.org/echo.html) * **Node.js 客户端:** 你可以创建一个简单的 Node.js 客户端来测试服务器。 * **Minecraft 客户端:** 你可以使用 Minecraft 的 `/connect` 命令连接到服务器(如果你的服务器支持 Minecraft 协议)。 在 WebSocket 客户端中,连接到 `ws://localhost:3000`。 连接后,你应该收到欢迎消息。 发送消息,你应该看到它们被记录到服务器控制台,并广播给所有其他连接的客户端。 **重要注意事项:** * **安全性:** 此示例未实现任何安全性措施。 在生产环境中,你需要添加身份验证、授权和加密。 * **错误处理:** 此示例仅包含基本的错误处理。 你需要添加更全面的错误处理来处理各种情况。 * **扩展性:** 此示例是一个简单的单线程服务器。 对于高负载,你可能需要考虑使用多线程或集群。 * **MCP 协议:** 此示例仅演示了基本的 WebSocket 通信。 要实现完整的 MCP 服务器,你需要实现 MCP 协议的所有方面,包括注册、心跳、数据处理和命令执行。 请参考官方的 MCP 文档。 * **`@minecraft/server` 包:** 虽然安装了 `@minecraft/server` 包,但此示例并没有直接使用它。 在更复杂的 MCP 服务器实现中,你将使用此包来与 Minecraft 服务器交互。 **下一步:** * 研究 MCP 协议规范。 * 实现注册和心跳机制。 * 处理来自 Minecraft 服务器的数据。 * 实现命令执行。 * 添加安全性措施。 * 考虑使用更高级的 WebSocket 库,例如 `socket.io`。 * 探索使用 `@minecraft/server` 包与 Minecraft 服务器进行更深入的集成。 这个快速入门提供了一个基本的框架,你可以用来构建一个更完整的 MCP 服务器。 记住,这只是一个起点,你需要根据你的具体需求进行扩展和修改。

Ledgent

Ledgent

Ledgent is a secure agentic integration layer that exposes Salesforce and billing operations as MCP tools. It enforces action-level authorization, idempotency, PII tokenization, and full audit logging, enabling AI agents to safely perform writes with human approval for high-risk actions.

container-tag-finder

container-tag-finder

Enables AI agents to retrieve the latest semantic version tags for container images from Docker Hub, GHCR, Quay, and other OCI registries, allowing them to pin specific versions for reproducible deployments.

mcp-ssh-remote

mcp-ssh-remote

Enables executing commands on remote SSH hosts, with full support for bastion/jump hosts and ~/.ssh/config, plus Slurm job management and rsync.

SEC EDGAR Filings MCP Server

SEC EDGAR Filings MCP Server

Enables AI assistants to download, convert (HTML to PDF), and parse SEC EDGAR filings into Markdown, supporting filing types like 8-K, 10-Q, 10-K, and DEF 14A with Docker deployment and rate limiting.

GPT Image Playground MCP

GPT Image Playground MCP

Enables agents to generate images through the GPT Image Playground via a browser extension, supporting task submission, status tracking, and downloading generated images with reference image support.

MCP MySQL Server

MCP MySQL Server

一个容器化的服务器,允许通过模型上下文协议 (MCP) 与 MySQL 数据库进行交互,从而能够通过自然语言执行 SQL 查询、检索模式和列出表。 Or, a slightly more formal translation: 一个容器化的服务器,它允许通过模型上下文协议 (MCP) 与 MySQL 数据库进行交互,从而实现通过自然语言执行 SQL 查询、检索数据库模式以及列出数据表的功能。

서울시 교통 데이터 MCP 서버

서울시 교통 데이터 MCP 서버

首尔市交通数据 MCP 服务器 - 提供实时交通信息、公共交通、Ttareungi(首尔市公共自行车)等数据的 MCP 服务器

mcp-artisan

mcp-artisan

Provides read-only, structurally safe introspection of a Laravel codebase, letting AI agents inspect routes, models, migrations, jobs, and config without risk of mutation or secret disclosure.

screenshot-mcp

screenshot-mcp

Enables AI agents to capture screenshots of windows (e.g., WeChat developer tools) and save them locally, allowing the agent to read the image directly and close the code-change-to-review loop without OSS or network.

AgentUI

AgentUI

An MCP server that lets coding agents ask their human via interactive UIs like sliders, forms, diffs, and live previews.

sl-mcp

sl-mcp

MCP server for Sapling (sl) that gives LLMs structured access to Sapling repos with built-in safety guardrails.

op-injection-scanner

op-injection-scanner

An MCP server for prompt injection boundary enforcement that scans URL content using a tiered LLM model strategy.

Outlook OAuth MCP Server

Outlook OAuth MCP Server

Enables interaction with Microsoft Outlook for managing emails and calendars through OAuth2 delegated access. It provides a stateless, spec-compliant server that allows users to authenticate and perform mail and calendar operations with their own Microsoft accounts.

MediaCrawler MCP Server

MediaCrawler MCP Server

Enables AI assistants to crawl and extract data from Chinese social media platforms like Bilibili, Xiaohongshu, and Douyin. Provides search, content detail retrieval, and creator information tools with persistent browser sessions and QR code login support.

Freelo MCP Server

Freelo MCP Server

Integrates with Freelo project management API to retrieve task details, list subtasks with completion status, and download files from task comments.

Evolution API MCP Server

Evolution API MCP Server

Exposes the Evolution API v2 (WhatsApp) as 121 tools for MCP clients, enabling management of instances, messages, chats, groups, profiles, labels, webhooks, and integrations.

Kiwix Wiki MCP Server

Kiwix Wiki MCP Server

Provides access to offline Wikipedia and other content through Kiwix, enabling search and retrieval of articles from local ZIM files.

Domain Check MCP Server

Domain Check MCP Server

一个模型上下文协议 (MCP) 服务器,用于使用 IONOS 端点检查域名可用性。 (Or, a slightly more formal/technical translation:) 一个模型上下文协议 (MCP) 服务器,用于通过 IONOS 端点来验证域名是否可用。

PitchLense MCP

PitchLense MCP

Enables comprehensive AI-powered startup investment risk analysis across 9 categories including market, product, team, financial, customer, operational, competitive, legal, and exit risks. Provides structured risk assessments, peer benchmarking, and investment recommendations using Google Gemini AI.

Data.gov.il MCP Server

Data.gov.il MCP Server

Enables AI assistants to search, discover, and analyze thousands of datasets from Israel's national open data portal. It provides tools for querying government ministries, municipalities, and public bodies using the CKAN API.

mcp-tools-cli

mcp-tools-cli

用于与模型上下文协议 (MCP) 服务器交互的命令行客户端。