MCP服务器

一个使用Streamable HTTP传输的MCP(Model Context Protocol)服务器模板,支持快速启动和自定义工具、资源及提示。

  • by enriquetecfan11
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 enriquetecfan11/mcp-http-template

使用说明

Servidor MCP con Streamable HTTP

Plantilla de servidor MCP (Model Context Protocol) usando transporte Streamable HTTP.

Inicio Rápido

npm install
npm run dev

Servidor disponible en: http://localhost:3000/mcp

Conectar Clientes

MCP Inspector:

npx @modelcontextprotocol/inspector

Personalización

Edita src/index.ts para añadir herramientas, recursos y prompts personalizados.

Health Check

curl http://localhost:3000/health