MCPize模板
项目模板 MCPize命令行界面.
可用模板
| 模板 | 说明 |
|---|---|
typescript/default | TypeScript MCP服务器(推荐) |
typescript/openapi | 从OpenAPI规范生成MCP |
用法
# Install CLI
npm install -g mcpize
# Create from template
mcpize init my-server --template typescript
mcpize init my-api --template openapi --from-url https://api.example.com/openapi.json
# Python template coming soon模板结构
每个模板应包括:
template-name/
├── src/ # Source code
├── Dockerfile # Container build
├── mcpize.yaml # MCPize configuration
├── package.json # Dependencies (for Node.js)
└── CLAUDE.md # AI assistant instructions (optional)贡献
- 在运行时目录下创建一个新文件夹(例如。,
typescript/my-template) - 添加所需文件(Dockerfile、mcpize.yaml、源代码)
- 提交拉取请求
许可证
麻省理工学院
