研究巴西地址mcp
用于研究MCP服务器的存储库。
此MCP服务器有一个按CEP搜索地址信息的工具。
项目结构
├── src
│ ├── index.ts // mdc server code
│ ├── tool
│ │ └── searchByCep
│ │ └── index.ts // tool logic responsability
│ └── useCase
│ └── searchByCep
│ ├── index.ts // use case to search address data
│ └── type.ts // address structure
└── tsconfig.json我用了 多个 用于搜索地址数据的api。
MCP服务器配置
{
"mcpServers": {
"mcp-cep": {
"command": "node",
"args": ["{your path}/index.js"]
}
}
}运行示例:
将其添加到vs代码、光标等上:
使用示例:
