-
securityA
license-
qualityMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.
Last updated -
4
3
TypeScript
MIT License
该存储库包含基于 SSE(服务器发送事件)的 MCP(模型上下文协议)服务器和客户端的完整示例实现。
模型上下文协议 (MCP) 是一种专为人工智能系统设计的通信协议。本实现演示了如何创建一个使用服务器发送事件 (SSE) 与客户端进行实时通信的 MCP 服务器。
server.js
- 使用 StdioServerTransport 的基本 MCP 服务器sse-server.js
- 使用 SSEServerTransport 和 Express.js 的 MCP 服务器client.js
- 基本服务器的客户端sse-client.js
- SSE 服务器的客户端SSE 服务器提供:
SSE 客户端演示:
服务器演示了如何向客户端公开 URI 模板,让客户端了解如何动态构建资源 URI:
麻省理工学院
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aihes/mcp-sse-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server