mcp-claude-code
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLAUDE_BIN | No | Path to the Claude Code CLI. Auto-detected by default. | |
| WORKSPACE_DIR | No | Default working directory for tasks. Defaults to the server cwd. | |
| CLAUDE_MCP_LOCALE | No | Locale for reset-time formatting. Defaults to es-AR. | |
| CLAUDE_REMOTE_BIN | No | Claude Code binary on the remote host. Defaults to claude. | |
| FORCE_LOCAL_CLAUDE | No | Set to 1 to force local execution. Defaults to 0. | |
| CLAUDE_MCP_QUOTA_FILE | No | Path to the quota telemetry cache. Defaults to ~/.claude-live-quota.json. | |
| CLAUDE_REMOTE_SSH_HOST | No | SSH host or ~/.ssh/config alias to run tasks remotely over SSH. Unset means remote execution is disabled. | |
| CLAUDE_MCP_SETTINGS_FILE | No | Path to persisted defaults from claude_configure. Defaults to ~/.config/mcp-claude-code/settings.json. | |
| CLAUDE_REMOTE_FORWARD_TOKEN | No | Whether to forward the local CLAUDE_CODE_OAUTH_TOKEN over stdin. Defaults to 0. | |
| CLAUDE_REMOTE_SYNC_SESSIONS | No | Whether to rsync session JSONL files to/from the remote so --resume and session tools keep working. Defaults to 1. | |
| CLAUDE_REMOTE_WORKSPACE_DIR | No | Working directory on the remote host. Defaults to the local cwd. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| claude_run_taskB | Ejecuta una tarea, refactor, suite de tests o instrucción técnica usando el agente autónomo de Claude Code. Puede iniciar una sesión limpia o reanudar una sesión existente (pasando sessionId) con continuidad de contexto y ejecución headless de comandos. |
| claude_session_statusA | Consulta el estado de una sesión de Claude Code: porcentaje de la ventana de contexto usado (tope 1M de tokens), tokens acumulados, modelo activo, fecha de última modificación y alerta de límite. |
| claude_list_sessionsA | Lista las sesiones de Claude Code registradas en la máquina, ordenadas por fecha reciente, indicando su prompt inicial, tokens en contexto y modelo. |
| claude_compact_sessionB | Ejecuta el comando /compact en una sesión existente de Claude Code para reducir los tokens acumulados en la ventana de contexto y recuperar velocidad. |
| claude_account_limitsA | Consulta la cuota y límites de la cuenta de Claude: límite móvil de 5 horas (% usado/restante), límite semanal (% usado/restante), créditos extra disponibles y el total de tokens consumidos hoy a través de todas las sesiones. |
| claude_configureC | Consulta o actualiza el modelo y nivel de esfuerzo/thinking predeterminados para las tareas ejecutadas por Claude Code MCP. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool maps to a fairly distinct action (list, compact, account quota, configure, run, status), but claude_list_sessions and claude_session_status overlap since both report tokens and model, differing mainly in scope and detail level. claude_account_limits vs claude_session_status also both surface token/limit information, which could cause occasional misselection.
All tools share a claude_ prefix and snake_case, which is highly predictable. Minor deviations exist: account_limits is noun-only and configure is verb-only, while the rest follow verb_noun (list_sessions, compact_session, run_task, session_status).
Six tools is a well-scoped set for a Claude Code session manager: discovery, inspection, maintenance, configuration, quota check, and task execution. Each tool clearly earns its place with no filler.
Core lifecycle is covered (list, inspect, compact, run, configure, quota), but there is no way to read a session's actual transcript or task output, nor to delete/clean up or stop a running session. These gaps will force agents to work around missing read/cleanup operations when a task result needs inspecting.