• tags::

规划

  • 创建一个 mcp server typescript 项目模板 gkzhb/fastmcp-template: TypeScript MCP Server Template [completion:: 2025-05-29]
  • 开发 Crawl4AI 的 MCP Server ,使用现成的服务器 API,用户填写 url 及鉴权 token(可选)即可 [completion:: 2025-06-09]

经验小结

MCP Server TS 框架

主流有两个:

  1. FastMCP
  2. MCP Framework

前端 CLI 项目基建

  1. 使用 tsup 构建打包
  2. 使用 @antfu/eslint-config 配置包

开发流程

使用 modelcontextprotocol/inspector 来调试 MCP Server,调用工具等

MCP http streamable

mcp 客户端应用不支持 http streamable 协议时,可以使用 geelen/mcp-remote 将 http streamable 转换为 stdio 协议

[[dyn.proj_todos]]