mcp-builder
Design, build, configure, or debug Model Context Protocol servers for codewhale, including stdio and HTTP/SSE transports.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 4.1w
- Forks
- 3.6k
01 前言 Front Matter
- name
- mcp-builder
- description
- Design, build, configure, or debug Model Context Protocol servers for codewhale, including stdio and HTTP/SSE transports.
03 SKILL.md 正文
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-streamby 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
- Define the service boundary and the minimum useful tools.
- Choose transport and credential handling.
- Implement the server using a maintained MCP SDK when available.
- Add the server with
codewhale mcp addor edit~/.codewhale/mcp.json. - Run
codewhale mcp validate, thencodewhale mcp tools. - Test one happy path and one failure path before calling it done.
04 同仓库更多 Skills
gh-find-prs
Survey the open Codewhale PR and issue queue read-only: fetch each item, check it against current code, and produce one coverage and disposition matrix with cited evidence and credit owed.
gh-file-issue
Use when filing a new Codewhale GitHub issue: turn a bug or idea into a well-formed, actionable issue with repro, acceptance criteria, labels, and milestone.
gh-close-issues
Close resolved Codewhale issues only after verifying the landed behavior: Refs #N per landing, Fixes #N only when the reporter's scenario was reproduced, closure at the release step or on the reporter's confirmation, always with a crediting comment.
gh-assign-issues
Use to assign GitHub issues to a milestone and/or owners in bulk, verifying each.
feedback
暂无简介
cw-slice
Use before writing code for any Codewhale feature, upgrade, or refactor: find the existing owner of the behavior, bound the change to one reviewable slice, and fix the evidence bar before you start.