ollama-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_HOST | No | Daemon address | http://localhost:11434 |
| DEBUG_OLLAMA_MCP | No | 1 for verbose stderr | |
| OLLAMA_MCP_CONFIG | No | Explicit config path | |
| OLLAMA_MCP_DETAIL | No | Default response verbosity | concise |
| OLLAMA_MCP_RANKING | No | Tie-break policy among capable models | resident-then-smallest |
| OLLAMA_MCP_FILE_ROOTS | No | Colon-separated readable roots | cwd |
| OLLAMA_MCP_KEEP_ALIVE | No | Longer than Ollama's default; batch-friendly | 10m |
| OLLAMA_MCP_TIMEOUT_MS | No | Total request timeout | 600000 |
| OLLAMA_MCP_ROLE_<NAME> | No | Comma-separated chain; defines new roles | |
| OLLAMA_MCP_ALIAS_<NAME> | No | Shorthand → real model name | |
| OLLAMA_MCP_DEFAULT_ROLE | No | Role used when model is omitted | general |
| OLLAMA_MCP_DEFAULT_THINK | No | See the trap above | false |
| OLLAMA_MCP_REGISTRY_TTL_MS | No | Model-list cache TTL | 60000 |
| OLLAMA_MCP_MAX_OUTPUT_CHARS | No | Output cap before truncation | 100000 |
| OLLAMA_MCP_BATCH_CONCURRENCY | No | Within-group concurrency; 1 is VRAM-safe | 1 |
| OLLAMA_MCP_CONNECT_TIMEOUT_MS | No | Separate and short, so a down daemon fails fast | 3000 |
| OLLAMA_MCP_DEFAULT_TEMPERATURE | No | Determinism by default | 0 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Clickt-Digital-Marketing-Inc/ollama-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server