mirror of
https://github.com/ggozad/oterm.git
synced 2026-10-20 06:01:25 +02:00
992 B
992 B
Model Context Protocol support
oterm has support for Anthropic's open-source Model Context Protocol. While Ollama does not yet directly support the protocol, oterm bridges MCP servers with Ollama by transforming MCP tools into Ollama tools.
To add an MCP server to oterm, simply add the server shim to oterm's config.json. For example for the git MCP server you would add something like the following to the mcpServers section of the oterm configuration file:
{
...
"mcpServers": {
"git": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--mount",
"type=bind,src=/Users/ggozad/dev/open-source/oterm,dst=/oterm",
"mcp/git"
]
}
}
}