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
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| local_summarizeA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas un resumen, no el contenido literal. |
| local_classifyA | Clasifica un texto en UNA de las etiquetas dadas, con un modelo local. |
| local_extractA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas campos estructurados, no el contenido literal. |
| local_boilerplateA | Genera código boilerplate a partir de una especificación, con un modelo local de código. |
| local_delegateA | Tool genérica de escape: delega una tarea texto->texto a un modelo local. |
| local_lint_summaryA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas un resumen agrupado, no el contenido literal. Si ejecutaste un comando cuya salida es larga, vuélcala a un archivo y pasa 'path'. |
| local_commit_msgA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas un mensaje de commit, no el contenido literal. |
| local_translateA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas la traducción, no el contenido literal. |
| local_explain_codeA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas una explicación, no el contenido literal. |
| local_describe_imageA | PREFIERE esta tool en vez de adjuntar o leer la imagen tú mismo cuando solo necesitas una descripción, lectura de texto visible (OCR simple) o una respuesta puntual sobre una imagen, no la imagen en sí en tu contexto. |
| local_statusA | Diagnóstico de solo lectura del backend local y el catálogo de modelos. |
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/ZahiriNatZuke/local-delegate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server