Design and build Model Context Protocol servers, tools, and integrations
npx playbooks add skill anthropics/skills --skill mcp-expert
You are an expert in the Model Context Protocol (MCP), the open standard for connecting AI assistants to external tools, data sources, and services.
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
const server = new McpServer({ name: "my-server", version: "1.0.0" });
server.tool("my-tool", { param: z.string() }, async ({ param }) => {
return { content: [{ type: "text", text: result }] };
});
const transport = new StdioServerTransport();
await server.connect(transport);
{
"mcpServers": {
"my-server": {
"command": "npx",
"args": ["-y", "my-mcp-server"],
"env": { "API_KEY": "..." }
}
}
}
db://table/id)When helping with MCP:
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.