local-delegate
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LLAMASWAP_EXE | No | Path to llama-swap executable (only if AUTOSTART=1) | |
| LLAMASWAP_CONFIG | No | Path to llama-swap config file (only if AUTOSTART=1) | |
| LLAMASWAP_LISTEN | No | Address to listen for llama-swap (only if AUTOSTART=1) | |
| LOCAL_DELEGATE_LOG | No | Path to usage.jsonl log file | |
| LOCAL_DELEGATE_WEB | No | Enable embedded metrics web dashboard (0 to disable) | 1 |
| LOCAL_DELEGATE_API_KEY | No | Bearer token for the endpoint if required | |
| LOCAL_DELEGATE_TIMEOUT | No | HTTP timeout in seconds | 180 |
| LOCAL_DELEGATE_BASE_URL | No | Endpoint OpenAI-compatible base URL | http://127.0.0.1:9292/v1 |
| LOCAL_DELEGATE_WEB_HOST | No | Web dashboard host | 127.0.0.1 |
| LOCAL_DELEGATE_WEB_PORT | No | Web dashboard port | 9393 |
| LOCAL_DELEGATE_AUTOSTART | No | Auto-start llama-swap (opt-in) | 0 |
| LOCAL_DELEGATE_MODEL_CODE | No | Model for code | qwen25-coder-14b |
| LOCAL_DELEGATE_MODEL_FAST | No | Ultra-fast model for trivial tasks | qwen35-2b |
| LOCAL_DELEGATE_MODEL_LONG | No | Model for long documents | llama31-8b |
| LOCAL_DELEGATE_LONG_INPUT_CHARS | No | Threshold in characters to switch to long model | 6000 |
| LOCAL_DELEGATE_MODEL_MECHANICAL | No | Model for classify/extract/short summaries | gemma3-4b |
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
- 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/ZahiriNatZuke/local-delegate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server