codefmt

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

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
100%
命名の品質
93%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~516トークン数(ツール定義)
~1.0 KB一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.40%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

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

リモートエンドポイント

https://codefmt.dev/api/mcpstreamable-http

できること

ツール一覧

ツール(3)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢format_code(code, platform, language)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Source code to format (≤50KB)."
    },
    "platform": {
      "type": "string",
      "enum": [
        "zapier",
        "n8n",
        "pipedream",
        "make",
        "hubspot",
        "hubl"
      ],
      "description": "Target automation platform."
    },
    "language": {
      "type": "string",
      "enum": [
        "javascript",
        "python"
      ],
      "description": "Defaults to javascript. zapier, n8n, pipedream, make, and hubspot support python; hubl does not."
    }
  },
  "required": [
    "code",
    "platform"
  ],
  "additionalProperties": false
}
🟢ask_codefmt(query)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "The natural-language question about codefmt."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
🟢format_json(json, indent, sort_keys)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "json": {
      "type": "string",
      "description": "The JSON text to format."
    },
    "indent": {
      "type": "string",
      "enum": [
        "2",
        "4",
        "tab",
        "minify"
      ],
      "description": "Indentation: '2' or '4' spaces, 'tab', or 'minify'. Defaults to '2'."
    },
    "sort_keys": {
      "type": "boolean",
      "description": "Sort object keys alphabetically. Defaults to false."
    }
  },
  "required": [
    "json"
  ],
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 3 件
検証済みバージョンは記録されていませんツール 3 件