MCP应用服务器

一个通过工具暴露MCP应用的MCP服务器,适用于开发和管理MCP应用。

  • by brunobuddy
  • TypeScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 brunobuddy/first-mcp-app

使用说明

第一个MCP应用程序

一 MCP服务器 这暴露了一个 MCP应用程序 通过一个工具。

文件夹结构

first-mcp-app/
├── resources/
│   └── flight-card/
│       ├── flight-card.ts
│       └── mcp-app/
│           ├── flight-card-mcp-app.html
│           └── flight-card-mcp-app.ts
├── tools/
│   └── get-flights.ts
├── server.ts
├── vite.config.ts
├── tsconfig.json
├── nodemon.json
└── package.json

发展

npm install
npm run dev

构建

该项目使用:

  • TypeScript 对于MCP服务器
  • 维特 和 vite-plugin-singlefile 用于捆绑HTML资源