← codefmt.dev
INDIVIDUAL MCP TOOL
format_json
Format (pretty-print or minify) a JSON document, optionally sorting object keys.
LIVE ENDPOINT
https://codefmt.dev/api/mcp
Connect to this endpoint to inspect the live schema for format_json and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.codefmt]
url = "https://codefmt.dev/api/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"codefmt": {
"type": "http",
"url": "https://codefmt.dev/api/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: codefmt
Remote MCP URL: https://codefmt.dev/api/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"codefmt": {
"url": "https://codefmt.dev/api/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"codefmt": {
"type": "http",
"url": "https://codefmt.dev/api/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "codefmt",
"transport": "streamable-http",
"url": "https://codefmt.dev/api/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
format_code— Format and lint JavaScript, Python, or HubL code for Zapier, n8n, Pipedream, Make, or HubSpot.ask_codefmt— Ask a natural-language question about codefmt — formatting and linting JavaScript, Python, and HubL for automation platforms (Zapier, n8n, Pipedream, Make, HubSpot).