format_code — codefmt MCP Tool
format_code
(format code) is one of 3 tools on the
codefmt
MCP server. Connect the server and your client discovers it on the handshake.
by client
How to call format_code from your client
- Claude Code codefmt format_code run in your project directory
- Claude Desktop codefmt format_code ~/Library/Application Support/Claude/claude_desktop_config.json
- Cursor codefmt format_code ~/.cursor/mcp.json
- VS Code codefmt format_code .vscode/mcp.json
- Zed codefmt format_code ~/.config/zed/settings.json
- Windsurf codefmt format_code ~/.codeium/windsurf/mcp_config.json
- Cline codefmt format_code ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Gemini CLI codefmt format_code ~/.gemini/settings.json
- Grok codefmt format_code .mcp.json (in your project root)
- ChatGPT codefmt format_code Settings → Connectors → Advanced → Developer mode
- Claude.ai codefmt format_code Settings → Connectors → Add custom connector
- LangChain codefmt format_code pip install langchain-mcp-adapters
Fastest route
claude mcp add --transport http codefmt https://codefmt.dev/api/mcp
Other tools on this server
This list was read from the server itself, by connecting to it and calling tools/list on 24 September 2026. It is what
the server actually exposes, not what its listing claims.
Mutating and Read-only are read off each tool's name, not its schema — a hint, not a guarantee. The registry stores tool names only; connect the server for its live schemas.