/everything-copilot-cli:mcp-builderfrom everything-copilot-cli
Plans, implements, registers, and tests new MCP servers for internal APIs, databases, or custom workflows. Covers tool surface design, input/output modeling, TypeScript SDK v2, and Copilot CLI integration.
Ships in everything-copilot-cli. 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.
None: SKILL.md is the whole skill.
mcp-ecosystem helps you install and configure existing servers. This skill is for when
you need to build a new MCP server for your own domain, APIs, or internal tools.
Copilot CLI makes that loop faster with native MCP management commands and workspace/user config
surfaces.
Copilot CLI has a practical MCP authoring loop built around:
copilot mcp add — quick user-level server registrationcopilot mcp list / copilot mcp get — inspect what Copilot will load.mcp.jsonThat shortens the edit → inspect → load → test cycle while you build a server.
| Instead of mcp-builder | Use |
|---|---|
| Installing an existing MCP server | mcp-ecosystem |
| Using only built-in GitHub tools | built-in GitHub MCP |
| Writing a one-off local script for yourself | a normal script or CLI tool |
.mcp.json or user-level config)Decide whether the server should expose:
Use stable, action-oriented tool names such as:
db_querypayments_get_invoicefeature_flags_listEvery tool should define:
For read-only tools, mark the intent clearly in the tool design.
Pick the TypeScript SDK major version first. v2 (@modelcontextprotocol/server) is the stable
release line for new servers and replaces v1's single @modelcontextprotocol/sdk package. Stay on
v1 only when the project already depends on @modelcontextprotocol/sdk; the upstream codemod
npx @modelcontextprotocol/codemod@latest v1-to-v2 . and the
v2 migration guide move a project
over. Do not mix the two in one project — v1 imports do not apply to v2. (Version guidance adapted
from anthropics/skills mcp-builder.)
TypeScript example (SDK v1 API, for existing v1 projects — for v2 follow the v2 documentation):
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { z } from "zod";
const server = new McpServer({ name: "my-service" });
server.tool(
"my_service_lookup",
{ id: z.string().describe("Service object ID") },
async ({ id }) => {
const result = await lookup(id);
return { content: [{ type: "text", text: JSON.stringify(result) }] };
}
);
// .mcp.json
{
"mcpServers": {
"my-service": {
"command": "node",
"args": ["./tools/mcp-server.js"],
"tools": ["*"]
}
}
}
If your server talks to remote HTTP or SSE backends, keep request-scoped concerns in one place instead of rebuilding them inside every tool:
Whether your stack calls these interceptors, middleware, or request wrappers, the rule is the same: tool handlers should focus on business logic, while transport policy stays in a reusable layer.
Default every tool's response shape to be token-dense, not just correct. An LLM caller pays context-window cost for every token a tool returns, so a verbose or redundantly-nested response shape is a recurring tax on every future call, not a one-time cost.
If the server exposes many tools but most calls only need a handful, do not force every tool's full schema into the initial discovery response. Expose a smaller set of high-probability tools up front, and attach routing hints (a short description of what else is available and when to ask for it) so the caller can request the rest only when needed.
This avoids a full discovery round-trip for tools that are rarely used, which matters most for servers with a large or long-tail tool surface. Promote a deferred tool to fully visible only when its routing hint condition is actually triggered by the caller's request.
Use Copilot CLI's built-in management flow:
1. Register or edit the server config
2. Inspect it with `copilot mcp list` and `copilot mcp get <name>`
3. Start or refresh a Copilot session so the server is loaded
4. Call the new tool with a real test input
Before sharing the server, prepare realistic prompts that prove:
copilot mcp list| Rationalization | Reality |
|---|---|
| "I'll just expose every endpoint" | Too many low-value tools make the server harder to use well. |
| "The schema is obvious" | LLMs rely on explicit parameter descriptions and output shape. |
| "I can skip inspection and test it live" | Bad config slows iteration and creates avoidable confusion. |
| "A generic wrapper is enough" | Workflow-specific tools often serve agents better than raw API mirrors. |
| "I'll copy the auth headers in each tool" | Request policy belongs in one interceptor or middleware layer so it stays correct everywhere. |
copilot mcp listcopilot mcp get <name> shows the expected command, env, or URL.mcp.json when a team should share the serversource-driven-development when wrapping a third-party SDK or APImcp-ecosystem — install and manage existing MCP serverssource-driven-development — verify SDK usage against official docsskill-creator — create supporting skills for your MCP workflowWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job