CEP地址搜索工具

一个基于MCP服务器的工具,用于通过CEP搜索巴西地址信息。

  • by gabrielburich
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 gabrielburich/study-brazilian-address-mcp

使用说明

研究巴西地址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代码、光标等上:

使用示例: