codefmt

dev.codefmtPublished by codefmt.devOfficial publisherv1.0.0Updated Oct 24, 2026

Format/lint JS, Python, HubL for automation platforms. Tools: format_code, format_json, ask_codefmt

VerifiedStreamable HTTPWeb executableDeveloper ToolsData & Analytics

Overview

AI-generated overview

Lets an assistant format and lint JavaScript, Python, and HubL for automation platforms, and tidy JSON.

What you can do
Offers three tools: format_code formats and lints JavaScript, Python, or HubL, wrapping the source in each automation platform's runtime shell first so platform-specific syntax does not break formatting, and returns formatted code plus lint diagnostics; format_json pretty-prints or minifies JSON with optional key sorting; ask_codefmt answers natural-language questions about its formatting and linting features with cited sources and a confidence score.
When to use it
Useful when writing or debugging automation scripts for Zapier, n8n, Pipedream, Make, or HubSpot, especially when top-level await, bare return, or injected globals break ordinary formatters. Also handy for tidying or minifying JSON configuration and data.
Requirements
Network access to the remote endpoint at codefmt.dev; no packages to install and no account or API key required.
Before you install
ask_codefmt sends natural-language questions to a third-party service and returns cited sources; format_code and format_json send code or JSON content to the remote service for processing, so avoid including sensitive data.

Installation

In SourceWeft

  1. Open codefmt in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/dev.codefmt%2Fcodefmt/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "codefmt": {
      "type": "http",
      "url": "https://codefmt.dev/api/mcp"
    }
  }
}

Tools

3

format_code

Format code for automation platforms

Format and lint JavaScript, Python, or HubL code for Zapier, n8n, Pipedream, Make, or HubSpot. Wraps the source in each platform's runtime shell before formatting so top-level await, bare return, and injected globals don't break the formatter. Returns formatted code plus lint diagnostics.

Parameterscoderequiredlanguageplatformrequired

ask_codefmt

Ask codefmt

Ask a natural-language question about codefmt: formatting and linting JavaScript, Python, and HubL for automation platforms (Zapier, n8n, Pipedream, Make, HubSpot). Returns a grounded answer drawn from codefmt's own content with cited source URLs and a confidence score (0-1, how much of the question the answer covers, weighted toward its rarer terms); off-topic or too-weakly-matched questions are refused rather than guessed.

Parametersqueryrequired

format_json

Format a JSON document

Format (pretty-print or minify) a JSON document, optionally sorting object keys. Number literals are preserved exactly (64-bit IDs safe); parse errors report the exact line and column.

Parametersjsonrequiredindentsort_keys

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

72% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts

    Publish an icon in the registry entry.

  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.