pywss vs everything
并排对比,帮你在这两个 MCP server 之间做选择。
pywss by czasg | everything by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 100 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 41 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具运维基建 | 开发者工具AI / LLM 工具其它 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 10 个月前 | 本月 |
pywss · 概述
Pywss 是一个轻量级 Python Web 框架,内置 MCP 服务器功能,支持 SSE、StreamHTTP 和 MCPO 协议。
everything · 概述
官方 MCP 测试服务器,展示协议全部功能,供客户端开发者使用。
pywss · 使用场景
- 构建需要同时暴露 SSE 和 HTTP 端点的自定义工具 MCP 服务器
- 为 MCP 工具创建需要结构化 API 文档的 AI 应用程序
- 开发需要高效处理大规模并发 MCP 请求的系统
everything · 使用场景
- 测试 MCP 客户端实现是否支持所有协议功能
- 通过参考服务器学习 MCP 协议能力
- 验证客户端对不同传输方式的兼容性
pywss · 安装
安装
pip install pywss设置 MCP 服务器
from pywss import App
from pywss.mcp import MCPServer
from pydantic import BaseModel
class MyRequest(BaseModel):
param: str
class MyMCPServer(MCPServer):
@pywss.openapi.docs(description="我的工具", request=MyRequest)
def tool_my_tool(self, ctx):
req = ctx.data.req
self.handle_success(ctx, {"result": req.param})
app = App()
server = MyMCPServer()
server.mount(app.group("/mcp"))
app.run()everything · 安装
NPX(推荐)
{
"mcpServers": {
"everything": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-everything"]
}
}
}Windows 用户请使用 cmd /c:
{
"mcpServers": {
"everything": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@modelcontextprotocol/server-everything"]
}
}
}Docker
{
"mcpServers": {
"everything": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/everything"]
}
}
}全局安装
npm install -g @modelcontextprotocol/server-everything@latest
npx @modelcontextprotocol/server-everything