config-path

Show the path to config files in a Jujutsu (jj) repository. Useful for directly editing config files. Parameters: user (Optional flag to show user config path), repo (Optional flag to show repo config path), repoPath (Optional path to repo root or working directory), cwd (Optional working directo...

Server Jj jj-mcp-server
Category Read
Risk class Low
Parameters 00 required

What config-path does on Jj

AI agents call config-path to retrieve information from Jj without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why config-path needs a policy

The tool simply reads and returns the path(s) to configuration files. It performs no writes, deletions, or executions. The only risk is minor information disclosure of file system paths.

From the tool's definition 'Show the path to config files' - this tool only retrieves and displays file paths without modifying any data

Risk signalsAdmin/system-level operation

Questions about config-path

What does the config-path tool do? +

Show the path to config files in a Jujutsu (jj) repository. Useful for directly editing config files. Parameters: user (Optional flag to show user config path), repo (Optional flag to show repo config path), repoPath (Optional path to repo root or working directory), cwd (Optional working directory to run the command in). It is categorised as a Read tool in the Jj MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on config-path? +

Register the Jj MCP server in PolicyLayer and add a rule for config-path: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Jj. Nothing to install.

What risk level is config-path? +

config-path is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit config-path? +

Yes. Add a rate_limit block to the config-path rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block config-path completely? +

Set action: deny in the PolicyLayer policy for config-path. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides config-path? +

config-path is provided by the Jj MCP server (jj-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.