fire
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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.
Long-running fire commands (dev servers, start/dev/watch, workers, tunnels) go through start_session, never your own shell. Decide in this order: 1) find the command with search_commands, passing your working directory as cwd (an app or service name you don't recognize is probably one), before writing your own; 2) check list_sessions (this project; all: true for every project) and reuse what is already running; 3) long-running (long_running: true, or it doesn't exit on its own): start_session with a short note saying why, then confirm it came up with session_output; finite (build, test, lint, one-off scripts): run_command, with arguments as separate tokens. Sessions are shared with the user and other agents: read output with session_output, type with send_input, signal with signal_session, stop (or stop then start to restart) with stop_session, remove an exited record with forget_session. Never run commands the user marked agents: false, not even through your own shell. To write or edit fire configs, use get_docs. Change global directories (*_global tools) only when the user asks. https://github.com/gbenm/fire
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 |
|---|---|
| add_globalA | Register a directory globally so its commands load from anywhere (same as |
| forget_sessionA | Remove the saved record of an exited, stopped, or lost session. |
| get_docsA | Read Fire's version-matched embedded documentation. Omit
|
| list_globalA | List the directories registered globally (their commands load from anywhere), grouped by namespace, with the absolute paths of the config files that define each namespace (open those to edit a command) and which namespaces are merged. Read-only. |
| list_sessionsA | List detached |
| merge_globalA | Merge a registered namespace so its commands can be called without the namespace word (same as |
| prune_globalA | Unregister global directories that no longer exist (same as |
| remove_globalA | Unregister a global directory by |
| run_commandA | Run a finite configured command to completion. Pass the exact |
| search_commandsA | Discover the user's configured |
| send_inputA | Type into a running session's terminal (it runs on a pty): a line of text followed by Enter, or with |
| session_outputA | Read the last lines of a session's terminal output (stdout and stderr merged, colors and progress redraws cleaned up), plus its status. |
| signal_sessionB | Send a specific signal to a running session's process group (e.g. INT, HUP, USR1). |
| start_sessionA | Start a configured |
| stop_sessionB | Stop a running session gracefully with TERM, then KILL after 5 seconds if needed. |
| unmerge_globalA | Unmerge a namespace so its commands need the namespace word again (same as |
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 16 tools
The 16 tools split cleanly into four non-overlapping clusters: session lifecycle (start/stop/list/output/send_input/signal/forget), global registry management (add/remove/list/merge/unmerge/prune), command discovery/execution (search_commands, run_command), and docs (get_docs). Within clusters the pairs are explicitly distinguished in descriptions (e.g. stop_session does TERM-then-KILL while signal_session sends an arbitrary signal; merge_global adds a shortcut alias while add_global registers a directory). An agent can pick the right tool from the name plus the distinguishing sentence.
Nearly everything follows a snake_case verb_noun pattern (start_session, stop_session, list_sessions, add_global, remove_global, merge_global, run_command, search_commands). The one outlier is session_output, which is a noun phrase where the sibling pattern would suggest get_session_output or read_session_output. Minor deviation only; the convention is otherwise stable and predictable.
16 tools across three real capability areas (sessions, global config, commands/docs) is reasonable but sits at the upper edge; the six global-registry tools are the bulk. Each maps to a distinct CLI subcommand (fire cli global add/remove/merge/unmerge/prune), so none are filler, but the surface could be tightened if the global tools were less granular.
Sessions have a full lifecycle: start, list (with status/exit code), read output, inject input, signal, stop, and forget. Global registry management covers add, remove, list, merge, unmerge, and prune. Command execution and discovery are paired (search_commands -> run_command), and get_docs covers version-matched reference with an index. The only near-gap is restart, which the description explicitly documents as stop_session + start_session, so there is no dead end.