1 Star 0 Fork 0

greyCode/mcp-router

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

mcprouter

OpenRouter for MCP Servers

mcp-infa

Start Proxy Server

  1. edit config file
cp .env.example.toml .env.toml

edit .env.toml as needed.

  1. start proxy server
go run main.go proxy
  1. add Proxy URL to MCP Client like Cursor

http://localhost:8025/sse/fetch

make sure you have set mcp_server_commands.fetch in .env.toml

Start API Server

  1. edit config file
cp .env.example.toml .env.toml

edit .env.toml as needed.

  1. start api server
go run main.go api
  1. request api with curl
curl -X POST http://127.0.0.1:8027/v1/list-tools \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer fetch'

make sure you have set mcp_server_commands.fetch in .env.toml

空文件

简介

取消

发行版 (1)

全部

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/greycode/mcp-router.git
git@gitee.com:greycode/mcp-router.git
greycode
mcp-router
mcp-router
master

搜索帮助