MCP-Bridge
Let MCP tools be used by LLM functions.
Get Started
- Create a
mpc.jsonat<llm-functions-dir>.
{
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"/tmp/foo.db"
]
},
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
MCP-Bridge will launch the server and register all the tools listed by the server. The tool identifier will be
server_toolnameto avoid clashes.
- Run the bridge server, build mcp tool binaries, update functions.json, all with:
argc mcp start
Run
argc mcp stopto stop the bridge server, recover functions.json