Skip to main content

Installation & Configuration

Coding Tools MCP is a Python package that installs a single CLI command: coding-tools-mcp.

Installation

The package requires Python >=3.11 and declares PyJWT as a runtime dependency. Development extras are available through coding-tools-mcp[dev]; image support declares coding-tools-mcp[image].

Core CLI options

Transports

HTTP

HTTP requests go to /mcp. The server also exposes metadata at /.well-known/mcp.json and /.well-known/mcp/server-card.json.

Stdio

Stdio is best for clients that manage MCP servers as subprocesses.

Authentication

Local loopback HTTP can run without auth. Non-loopback binding is rejected unless one of these is configured:
  • --auth-token or CODING_TOOLS_MCP_AUTH_TOKEN
  • --oauth-mode or CODING_TOOLS_MCP_OAUTH_MODE=1
  • CODING_TOOLS_MCP_AUTH_MODE=noauth for an explicit no-auth deployment behind another trusted boundary
The recognized CODING_TOOLS_MCP_AUTH_MODE values are bearer, noauth, and oauth. OAuth settings are read from:
  • CODING_TOOLS_MCP_OAUTH_CLIENT_ID
  • CODING_TOOLS_MCP_OAUTH_CLIENT_SECRET
  • CODING_TOOLS_MCP_OAUTH_PASSWORD
  • CODING_TOOLS_MCP_SERVER_URL
  • CODING_TOOLS_MCP_OAUTH_TOKEN_SECRET
  • CODING_TOOLS_MCP_OAUTH_TOKEN_TTL
If OAuth password or token secret values are omitted, the server generates runtime values and prints the password to stderr.

Tool profiles

Permission modes

Use trusted for normal local development tasks that need package managers, test runners, or shell features. Use dangerous only when an outer sandbox already provides the real isolation boundary.

Command environment

exec_command inherits a controlled environment. --shell-env-inherit accepts:
  • core: inherit core variables such as PATH and locale values.
  • all: inherit the process environment subject to filtering.
  • none: start from an empty baseline except explicit values.
The server also supports environment policy variables for includes, excludes, and fixed values. Keep secrets out of exec_command.env; secret-looking names, values, and risky loader/startup variables are filtered in safe and trusted modes.

Runtime files

The server uses a runtime root named coding-tools-mcp under the system temp directory unless CODING_TOOLS_MCP_RUNTIME_ROOT is set. This root is used for runtime-managed home/tmp areas and command sessions.