/allin:mcp-devfrom allin
Design, build, test, and ship MCP servers and apps for Claude/ChatGPT. Covers deployment choice, tool design, OAuth, MCPB bundling, directory review, and spec changes.
Ships in allin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The spec moved to 2026-07-28 (stateless: no initialize handshake, no Mcp-Session-Id, server/discover, elicitation/sampling via multi-round-trip results, resultType on every result). Hosts and SDKs migrate at different speeds — check mcp-docs (/specification/<rev>/changelog.mdx) and the SDK changelog before writing protocol-level code, and let the official SDK negotiate versions. Platform rules: claude-ai-docs (/connectors/building/*), openai-docs (/plugins/build/mcp-server, /plugins/reference).
| Connects to | Users | Shape |
|---|---|---|
| Cloud API / SaaS / pure logic | anyone | Remote streamable HTTP (default). Works in chat, Cowork, Code, ChatGPT |
| Local files, desktop app, localhost, OS | installers | MCPB bundle (runtime included) — Claude desktop/Code only; chat ignores local servers |
| Just me, prototype | me | local stdio (npx/uvx), upgrade path MCPB |
| Private network, must stay unexposed | Claude API / Managed Agents | Remote HTTP behind an MCP tunnel (research preview) → references/ship.md |
| Needs pickers, charts, previews in chat | any | MCP App = remote server + ui:// resources → references/apps.md |
| Ships workflows/know-how with the tools | any | Skills over MCP (io.modelcontextprotocol/skills, SEP-2640) → references/skills.md |
Bartek default: Cloudflare Worker (cloudflare skill): new servers use createMcpHandler from agents/mcp/server with an SDK v2 server factory (stateless, no Durable Object); McpAgent is deprecated and feature-frozen since Agents SDK 0.20, only for migrating old servers. State lives in KV/D1/DO keyed by user, not by session. Service bindings for same-account Worker calls. Portable: official TS SDK v2 = split packages @modelcontextprotocol/server (+ client, node, express); @modelcontextprotocol/sdk is the v1 line: new code on v2 (docs index ts.sdk.modelcontextprotocol.io/v2/llms.txt); migrate v1 projects with npx @modelcontextprotocol/codemod@latest v1-to-v2 ., and until then each module uses one API. Python: FastMCP (jlowin's 3.x, not the frozen 1.0 in mcp). Versions: use the exact pin a framework's docs require (Cloudflare Agents pins @modelcontextprotocol/server); otherwise npm install <pkg>, never versions typed from memory.
TS SDK v2 traps:
zod ^4.2.0 with import * as z from "zod/v4": Zod 3 is unsupported, 4.0–4.1 fail type-checking.server.tool/resource/prompt are removed: use registerTool/registerResource/registerPrompt.McpServer and transport per request from the factory, never one module-scope instance. Stateful sessions keep one per session.Wrapping a REST/OpenAPI API: curate, don't mirror every endpoint (references/tools.md → OpenAPI). ≤15 actions → one tool each. 30+ → search_actions + execute_action, promote the top 3-5. Details and directory rules: references/tools.md. Non-negotiable for Claude's directory: read and write in separate tools, title + readOnlyHint/destructiveHint on every tool, names ≤64 chars, descriptions describe (never instruct the model), actionable errors.
Prefer: none → OAuth with CIMD (AS metadata advertises client_id_metadata_document_supported: true and none in token_endpoint_auth_methods_supported, else Claude falls back to DCR) → DCR. Callback https://claude.ai/api/mcp/auth_callback; Claude Code loopback needs port-agnostic localhost + 127.0.0.1. No client_credentials; static header credentials are org-owner beta only. Validate token audience (RFC 8707); never pass the user's token upstream. ChatGPT side declares auth in portable mcp.json (extensions.com.openai.auth). More: references/ship.md.
python3 scripts/mcp_probe.py <url> — detects spec era (server/discover vs initialize), lists tools with annotations, flags directory-rule violations; --call name '{json}' runs one tool. Works from the chat sandbox for public URLs. Local HTTP development: explicitly use --allow-loopback with localhost or a loopback IP; redirects are refused. CLI for operator-selected URLs, not an SSRF boundary for untrusted input.npx @modelcontextprotocol/inspector) in Claude Code.clientInfo.name: "claude-ai"); ChatGPT Plugins → Add custom MCP server; Grok Build grok mcp add --transport http <n> <url> + grok mcp doctor <n>. Local servers via tunnel.references/evals.md.Report the level reached — static review → syntax/build → server answers (mcp_probe.py) → real host loop — and what didn't run. "Files exist" is not "works".
Wrap the server in a plugin with a skill (plugin-dev) — the usual partner shape. Directory submission checklists: references/ship.md.
Chat sandbox: write code, run mcp_probe.py against deployed URLs, deploy via CI (house rule: workflow beats local). Claude Code: run servers locally, Inspector, wrangler dev, MCPB packing (npx @anthropic-ai/mcpb pack).
LICENSE.txt (opens in a new tab)NOTICE.md (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/icon.svg (opens in a new tab)references/apps.md (opens in a new tab)references/evals.md (opens in a new tab)references/ship.md (opens in a new tab)references/skills.md (opens in a new tab)references/tools.md (opens in a new tab)scripts/eval/LICENSE.txt (opens in a new tab)scripts/eval/connections.py (opens in a new tab)scripts/eval/evaluation.py (opens in a new tab)scripts/eval/example_evaluation.xml (opens in a new tab)scripts/eval/requirements.txt (opens in a new tab)scripts/mcp_probe.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub travnie/twojstar --plugin allin4 skills in this plugin
/docs-lookupGet facts from live official docs through docs MCP connectors, not WebFetch or web search: Claude Code, claude.ai/Cowork, Claude API, MCP, ACP, OpenAI/Codex, xAI/Grok, MDN web platform and browser compatibility, plus any docs connector the session has. Use whenever a doc fact matters: answering, building, reviewing or debugging./plugin-devBuild, fix, validate or port AI agent plugins for Claude, ChatGPT/Codex, Grok Build, Copilot CLI, Antigravity and Gemini CLI. Covers manifests, skills, MCP packaging, hooks, marketplaces, OpenAI scaffolds and submission workflows./skill-creator-v2Skill lifecycle: create, edit, eval, benchmark and package skills; SKILL.md and frontmatter rules, trigger fixes, claude.ai compat audit, Codex packaging. Use for any skill-authoring question.