本文へスキップ
Skillpedia
コネクタ(MCP)41k · #6541

mcp-builder

できること

このスキルは、Codewhaleアプリ向けのModel Context Protocolサーバーの作成と設定を導きます。自分のツールやサービスをAIに接続する開発者向けです。

使う場面

  • ✓AIをローカルのツールや外部のサービスに接続したいとき。
  • ✓既存のMCPサーバーがうまく動かず、デバッグが必要なとき。
  • ✓MCPサーバーの認証情報を、設定ファイルの外に保ちたいとき。

スキルのリンク

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/mcp-builder/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/mcp-builder/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“アシスタントが注文の状況をデータベースで調べられる、小さなMCPサーバーを作ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは、最小限のツールを定め、通信方式を選び、サーバーを実装し、Codewhaleのコマンドでサーバーを登録して、成功の場合と失敗の場合の両方をテストします。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

MCP Builder

Use this skill when the user asks to create, configure, or debug an MCP server or tool integration.

Design Rules

  • Prefer stdio MCP servers for local tools and HTTP/SSE for remote services.
  • Keep tool schemas small, typed, and explicit. Return structured JSON where possible.
  • Put secrets in environment variables, never in committed config.
  • For HTTP/SSE clients, send Accept: application/json, text/event-stream by default unless the server explicitly requires something else.
  • Add timeouts and clear error messages around external APIs.

Codewhale Setup

Common commands:

codewhale mcp init
codewhale mcp add my-server --command node --arg server.js
codewhale mcp add remote-server --url http://127.0.0.1:3000/mcp
codewhale mcp list
codewhale mcp validate
codewhale mcp tools

HTTP/SSE entries can include per-server headers in ~/.codewhale/mcp.json when credentials or custom routing headers are required.

Workflow

  1. Define the service boundary and the minimum useful tools.
  2. Choose transport and credential handling.
  3. Implement the server using a maintained MCP SDK when available.
  4. Add the server with codewhale mcp add or edit ~/.codewhale/mcp.json.
  5. Run codewhale mcp validate, then codewhale mcp tools.
  6. Test one happy path and one failure path before calling it done.
よくある質問

どの通信方式が対象ですか?

スキルは、ローカルのツールにはstdioのサーバーを、リモートのサービスにはHTTPまたはSSEのサーバーを扱います。

秘密情報はどこに置けばよいですか?

スキルは、秘密情報を環境変数に入れ、コミットする設定に書かないよう定めています。

サーバーはどう確認されますか?

スキルは、validateとtoolsのコマンドを使い、正常系と異常系のテストを一つずつ求めます。

詳細

作者による元の説明

Design, build, configure, or debug Model Context Protocol servers for codewhale, including stdio and HTTP/SSE transports.

repo: codewhale-hq/Codewhale

人気

GitHubのスター
41k
ランキング
#6541
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル