Skip to main content
Glama

customclaw-mcp

npm version npm downloads License: MIT MCP

再生成するのではなく、インストールしましょう。 CustomClaw レジストリ用のMCPサーバーです。LLMおよびエージェントコード向けの精査済みシングルファイルユーティリティ37種(Retry-Afterを尊重するレートリミッター、JSON修復、レスポンスキャッシュ、バックオフ付きリトライ、トークンカウンター、PIIスクラバーなど)を提供します。エージェントは、もっともらしい120行の新しいコードを書かせる代わりに、4つのネイティブツール呼び出しを利用できるようになります。

📖 背景: ユーティリティ健忘症の問題 — なぜあなたのコーディングエージェントは同じレートリミッターを47回も書き直してしまうのか。

30秒でインストール

npx -y customclaw-mcp

このコマンドをMCPクライアントの設定(以下のスニペットを参照)に貼り付けるだけで完了です。無料ツールは認証なしでインストールできます。

機能

CustomClawカタログ(37ユーティリティ、うち32種は無料)を、あらゆるModel Context Protocolホスト(Claude Desktop、Claude Code、Cursor、Windsurfなど、MCPに対応するものすべて)に4つのツールとして組み込みます:

ツール

引数

目的

list_utilities

カタログ全体(5分間キャッシュ)

search_utilities

query: string

スラッグ/名前/説明によるあいまい検索

get_utility_info

slug: string

1つのユーティリティの詳細情報

install_utility

slug, target_dir, session_id?

ペイロードの取得とファイルの書き込み

インストール(クライアント別)

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) または %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "customclaw": {
      "command": "npx",
      "args": ["-y", "customclaw-mcp"]
    }
  }
}

Claude Desktopを再起動します。ツールピッカーにツールが表示されます。

Claude Code

claude mcp add customclaw -- npx -y customclaw-mcp

Cursor / Windsurf / その他のstdio MCPホスト

ホストを npx -y customclaw-mcp に指定してください。

ストリーミング可能なHTTP (smithery, ChatGPTなど)

ホストされたエンドポイント https://customclaw.company/mcp を使用してください。smitheryには onlythebestswfl/customclaw として登録されています。

プロンプト例

接続後:

  • "Retry-Afterを尊重するレートリミッターを追加して。"search_utilitiesinstall_utility rate-limit-handler

  • "Claudeの出力から壊れたJSONを解析する必要がある。"json-repair

  • "LLMのレスポンスをキャッシュするツールはある?"search_utilities → 短い結果テーブル

  • "token-optimiser./src/lib にインストールして。" → 直接 install_utility

  • "このプロジェクトのプロンプトをインジェクション攻撃についてスキャンしたい。ツールはある?"injection-scanner

タスク → スラッグ早見表

必要な機能…

スラッグ

Retry-After 対応のレート制限

rate-limit-handler

LLM出力のJSON修復

json-repair

プロンプトハッシュによるレスポンスキャッシュ

response-cache

指数バックオフ付きリトライ

retry-with-backoff

モデル横断的なトークンカウント

token-optimiser

ログ記録前のPIIスクラブ

pii-scrubber

プロンプトインジェクションスキャナー

injection-scanner

プロバイダーごとのコスト予測

cost-forecaster

全リストは list_utilities または customclaw.company/api/catalog から確認できます。

有料ユーティリティ

有料ユーティリティの場合は、領収書メールに記載されているStripeチェックアウトの session_idinstall_utilitysession_id 引数として渡してください。これがない場合、ツールは401エラーを返します。

環境変数

  • CUSTOMCLAW_BASE — レジストリのベースURLの上書き(デフォルトは https://customclaw.company)。ステージング環境やセルフホストのミラーに便利です。

仕組み

  • Node.js stdio MCPサーバー。依存関係: @modelcontextprotocol/sdk

  • カタログは GET /api/catalog から取得。プロセスごとに5分間キャッシュされます。

  • ペイロードは GET /api/cli?slug=<slug>[&session_id=<cs_...>] から取得 — 公式の customclaw-cli が使用するものと同じエンドポイントです。

  • install_utilitytarget_dir の外側への書き込みを拒否します(パストラバーサル対策)。

リンク

ライセンス

MIT。

Install Server
A
license - permissive license
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

  • Shared long-term memory vault for AI agents with 20 MCP tools.

  • Deterministic AI agent microtools, no accounts/API keys. fetch_extract: 98% token cut. 38 tools.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/onlythebestswfl-ops/customclaw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server