Coding Tools MCP
Getting Started

Quickstart

Install Coding Tools MCP, connect one client, and verify the first safe end-to-end result.

This page takes you from zero to one working setup in about ten minutes. It uses the safest default path: a local workspace, the safe permission mode, and a local MCP client.

If you do not want to use a terminal at all, start with the Desktop app instead. If your client is ChatGPT, Grok, or another cloud product that cannot start local processes, read Choose your setup before copying any configuration.

Before you begin

You need:

  • a folder you are comfortable letting an AI inspect and modify — ideally a Git repository with a clean working tree;
  • Python 3.11 or newer with uv, or Node.js with npx;
  • an MCP client such as Claude Desktop, Claude Code, Codex, Cursor, VS Code, Windsurf, or Gemini CLI.

Start with a test repository

Coding Tools MCP is not a read-only viewer. Its default catalog can edit files and run commands inside the configured workspace. Try the first run on a small repository or a disposable copy, and keep secrets outside that folder.

1. Check that the runtime starts

Python toolchain:

uvx coding-tools-mcp --help

Node.js toolchain:

npx --yes coding-tools-mcp --help

Either command downloads the published package if necessary and prints the command help. You do not need a persistent install for the first run.

If both commands fail, install or repair uv/Python or Node.js first. If they print help but the client cannot launch the server later, use the absolute command path reported by which uvx, which npx, or your package manager.

2. Choose the connection shape

Most local desktop clients should use stdio: the client launches coding-tools-mcp as a child process. You do not manually start a server in that mode.

Your situationUseWorkspace exposure
Claude Desktop, Claude Code, Codex, Cursor, Windsurf, or Gemini CLI on the same computerstdioOnly that client process
MCP Inspector, VS Code HTTP mode, or a client that expects a URL on this computerStreamable HTTP on loopbackhttp://127.0.0.1:8765/mcp
ChatGPT, Grok, claude.ai, or a phone/browser outside this computerauthenticated HTTPS tunnelPublic URL; authentication is mandatory
You want a GUI and no terminalDesktop appLocal-only or authenticated public access
You are evaluating untrusted codeDocker sandboxDisposable container

The detailed decision guide is in Choose your setup.

3. Configure a local stdio client

Paste this entry into your MCP client, replacing /path/to/repo with the real workspace folder:

{
  "mcpServers": {
    "coding-tools": {
      "command": "uvx",
      "args": ["coding-tools-mcp", "--stdio", "--workspace", "/path/to/repo"]
    }
  }
}

Prefer Node.js? Use the same arguments through npx:

{
  "mcpServers": {
    "coding-tools": {
      "command": "npx",
      "args": ["--yes", "coding-tools-mcp", "--stdio", "--workspace", "/path/to/repo"]
    }
  }
}

Restart or reload the client after saving its configuration. Client-specific file locations and alternatives are in Client configuration.

4. Verify with a read-only request

Ask the connected client:

Inspect this repository and summarize its structure. Do not modify files or run commands yet.

A successful answer proves the complete path: client → MCP transport → Coding Tools MCP → workspace files. If the client says the server or tools are unavailable, go to Troubleshooting instead of randomly changing workspace or permission settings.

5. Try one small, reviewable change

After the read-only request works, ask for a bounded task:

Find one small correctness or documentation issue in this repository, fix it,
run the narrowest relevant check, and show me the diff before committing anything.

Then inspect the result yourself:

git status --short
git diff

A good first task is small enough that you can review every changed line. You remain responsible for accepting, rejecting, or committing the change.

6. Understand the permission default

The default mode is safe. It is not read-only: file edits are part of the product, and commands run under server-side policy checks. Network-looking commands, shell expansion, inline scripts, destructive commands, and secret-looking environment variables receive extra scrutiny.

Use trusted only for local development on code you trust:

coding-tools-mcp --permission-mode trusted --workspace /path/to/repo

Use dangerous only inside an isolated container or VM when the client cannot present permission prompts:

coding-tools-mcp --permission-mode dangerous --workspace /path/to/repo

The full security model stays in the core repository; start with the security boundary and permission modes.

Optional: persistent install and HTTP

Install the published command from PyPI:

curl -fsSL https://raw.githubusercontent.com/xyTom/coding-tools-mcp/main/scripts/install.sh | bash

Start local Streamable HTTP against a workspace:

uvx coding-tools-mcp --workspace /path/to/repo --port 8765

Endpoint:

http://127.0.0.1:8765/mcp

Install and expose an authenticated bearer-token Cloudflare tunnel:

curl -fsSL https://raw.githubusercontent.com/xyTom/coding-tools-mcp/main/scripts/install.sh \
  | bash -s -- --tunnel cloudflared --auto-install-tunnel --auth-mode bearer --workspace /path/to/repo

Do not expose HTTP publicly without authentication. See Remote access.

What next?

On this page