所有MCP服务器
建筑 | 项目结构 | 启动过程 | 服务器特性 | 扩展点 | 运作原理
此MCP服务器尝试执行MCP协议的所有功能。它不是一个有用的服务器,而是MCP客户端构建者的测试服务器。它实现了提示、工具、资源、采样等,以展示MCP的功能。
工具、资源、提示和其他功能
注册的MCP原语和演示的其他协议功能的完整列表可以在 服务器特性 文件。
使用Claude Desktop(使用 标准输入输出传输)
添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"everything": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-everything"
]
}
}
}在Windows上,使用 cmd /c 发射 npx:
{
"mcpServers": {
"everything": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@modelcontextprotocol/server-everything"
]
}
}
}使用VS代码
为了快速安装,请使用下面的一键安装按钮之一。..
](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Feverything%22%5D%7D) ](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Feverything%22%5D%7D&quality=insiders)
对于手动安装,您可以使用以下方法之一配置MCP服务器:
方法1:用户配置(推荐) 将配置添加到用户级MCP配置文件中。打开命令选项板(Ctrl + Shift + P)然后跑 MCP: Open User Configuration。这将打开您的用户 mcp.json 您可以在其中添加服务器配置的文件。
方法2:工作空间配置 或者,您可以将配置添加到名为的文件中 .vscode/mcp.json 在您的工作空间中。这将允许您与他人共享配置。
有关VS Code中MCP配置的更多详细信息,请参阅 官方VS Code MCP文档.
NPX
{
"servers": {
"everything": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-everything"]
}
}
}在Windows上,使用:
{
"servers": {
"everything": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@modelcontextprotocol/server-everything"]
}
}
}从源代码运行 HTTP+SSE传输 (已弃用 2025-03-26)
cd src/everything
npm install
npm run start:sse从源代码运行 可流式HTTP传输
cd src/everything
npm install
npm run start:streamableHttp作为已安装的软件包运行
安装
npm install -g @modelcontextprotocol/server-everything@latest运行默认(stdio)服务器
npx @modelcontextprotocol/server-everything或者明确指定stdio
npx @modelcontextprotocol/server-everything stdio运行SSE服务器
npx @modelcontextprotocol/server-everything sse运行可流式传输的HTTP服务器
npx @modelcontextprotocol/server-everything streamableHttp