Adapter to expose MCPO, the MCP-to-OpenAPI proxy server, tools in Ollama-compatible format
Adapter to expose MCPO, the MCP-to-OpenAPI proxy server, tools in Ollama-compatible format
adapter = OllamaMCPOAdapter(host="localhost", port=5090, config_path="/path/to/mcp_config.json") # Gets tool descriptions from MCPO FastAPI /docs tools = adapter.list_tools_ollama() ``` You can omit the config path. But discovery of MCP server names is more reliable with a provided config. Otherwise, the server names will be read from the automatically generated OpenAPI docs MCPO provides which might change in the future.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
{
"mcpServers": {
"ollama-mcpo-adapter": {
"command": "npx",
"args": ["-y", "path"],
"env": {
"WIN_NODEJS_NPX_PATH": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| WIN_NODEJS_NPX_PATH | Filesystem location the server is allowed to use. | Optional |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Convert currencies on the daily European Central Bank reference rates. No API key, no signup.
Connect AI assistants to GitHub - manage repos, issues, PRs, workflows, and git operations.
Open-source licence risk checks for AI coding agents and dependency trees.
👉 **We recommend all users migrate to [Kit](https://github.com/mark3labs/kit).**