Local Dev MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOCAL_DEV_MCP_LANGUAGE | No | Optional display language. Use `en` for English, `zh-CN` for Simplified Chinese, or omit to follow the system language. Reload the connection after changing it. | |
| LOCAL_DEV_MCP_APPROVAL_POPUP | No | Set to `0` for command-line approvals only (disables the approval popup). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use run_command for development commands on the user's computer. Set command to a single program, args to an array of arguments, and cwd to an absolute local directory. If the status is approval_required, call request_permission with the same command, args, and cwd. Use requested_scope='program' when asking for all arguments, or requested_scope='exact' for exactly this set of arguments. The user can approve in the local Windows dialog or on the command line. Give the user the request ID, then check the actual scope with permission_status before retrying. any_directory refers to working directories. Only scope='program' means the entire program is approved for any arguments.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| run_commandB | Run an allowed local command and report live output, final exit code, stdout, stderr, and timeout status. |
| request_permissionC | Request local approval. Set requested_scope to ask for an entire program, a subcommand, or exact arguments. |
| permission_statusB | Get the actual approved scope. any_directory refers to working directories. all_arguments_allowed means the entire program was approved. |
| list_allowed_commandsB | List bundled rules, the path to the editable allowlist, and the active file rules. |
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 4 tools
Each tool has a distinct action: executing commands, checking granted scope, requesting approval, and listing configured rules. The only mild overlap is between permission_status (runtime approved scope) and list_allowed_commands (configured allowlist), which an agent could occasionally confuse, but the descriptions distinguish 'actual approved scope' from 'bundled rules and file rules' clearly enough.
All names are snake_case and three of four follow a verb_noun pattern (run_command, request_permission, list_allowed_commands). permission_status is a noun_phrase that breaks the verb pattern slightly, but the overall convention is predictable and readable.
Four tools is well-scoped for a permission-gated local command runner: execute, request approval, inspect approval, and inspect rules. No tool feels redundant or missing from the core loop.
The lifecycle of run -> request -> verify -> list is covered, which handles the main agent workflow. Minor gaps exist: no explicit revoke/reset of granted permissions and no direct allowlist editing tool (the path is surfaced instead), but agents can work around these via run_command.