Skip to main content
Glama
code-bridge

code-bridge

by ITSWProj

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
claude_startA

Avvia un lavoro in background su Claude Code e restituisce subito un job_id. Non attende il completamento: usare claude_wait con quel job_id per ottenere il risultato. Adatto a compiti lunghi; per richieste brevi usare claude_run. PRIMA di chiamarlo, chiamare claude_status: ogni istanza di Claude Code occupa centinaia di MB e il numero di istanze contemporanee è limitato. Se esiste già un lavoro sullo stesso progetto, usare claude_wait su quel job_id invece di avviarne un altro. Se la risposta contiene DECISIONE RICHIESTA, non avviare nulla: riportare le opzioni all'utente e richiamare questo strumento con il parametro mode scelto da lui. Se la risposta contiene RIFIUTATO, non ritentare in nessun caso.

claude_runA

Invia un prompt a Claude Code in modalità headless sul progetto indicato e attende la risposta. Restituisce il risultato e il session_id per continuare la conversazione. Adatto a richieste brevi; per compiti lunghi usare claude_start. Anche questo strumento occupa un posto nel limite di istanze contemporanee. Se la risposta contiene RIFIUTATO, non ritentare: riferire all'utente.

claude_statusA

Elenca tutte le istanze di Claude Code attive: quelle avviate da questo server (con job_id, progetto, durata e diagnosi di attività) e quelle presenti nel sistema ma avviate altrove. Da chiamare prima di claude_start, e ogni volta che un lavoro sembra bloccato: distingue un processo piantato da uno semplicemente lento.

claude_waitA

Attende il completamento di un lavoro avviato con claude_start. Se il lavoro non è ancora finito entro hold_ms, restituisce lo stato 'in corso' e va richiamato di nuovo con lo stesso job_id. Se un lavoro sembra non finire mai, usare claude_status per capire se è piantato invece di avviarne un altro.

claude_killA

Termina forzatamente un lavoro avviato con claude_start. Usare se un job resta bloccato o se il compito non serve più.

claude_kill_allA

Pulizia di emergenza: termina TUTTE le istanze di Claude Code, comprese quelle non avviate da questo server, se include_altri è true. Operazione distruttiva: usare solo su richiesta esplicita dell'utente, mai di iniziativa e mai come modo per liberare posti dopo un RIFIUTATO.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.3/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a distinct lifecycle role: claude_run is synchronous, claude_start is asynchronous, claude_wait waits on a job, claude_status diagnoses active instances, claude_kill terminates one job, and claude_kill_all performs broad cleanup. The overlap between start and run is clearly explained by short-vs-long request guidance. Boundaries between status and wait are also clear: status inspects state, wait blocks for completion.

Naming Consistency5/5

All tools consistently use the claude_ prefix followed by a clear action or action pair (start, run, status, wait, kill, kill_all). The snake_case convention is uniform throughout. The kill_all variation is a readable, predictable extension of kill rather than an inconsistency.

Tool Count5/5

Six tools are well scoped for managing Claude Code jobs: sync execution, async start, status inspection, waiting, individual termination, and emergency cleanup. No tool appears redundant or excessive. The set is compact but covers the operational lifecycle without thinning out essential operations.

Completeness4/5

The core lifecycle is covered: start, run, wait, inspect status, kill one job, and kill all instances. Minor gaps remain around explicitly retrieving or listing completed job results/history, since status appears focused on active instances and results are obtained through wait. Continuation semantics are clearer for claude_run via session_id than for claude_start.