skills/mcp-builder/SKILL.md
Model Context Protocol server building, tool creation, resource management, prompt templates, and MCP SDK usage. Use when building MCP servers, defining tools, or integrating with MCP-compatible clients.
npx skillsauth add melikhanmutlu/web_ar mcp-builderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
"MCP turns AI capabilities into composable, discoverable services that any client can use."
npm install @modelcontextprotocol/sdk
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
const server = new McpServer({
name: "my-mcp-server",
version: "1.0.0",
capabilities: {
tools: {},
resources: {},
prompts: {},
},
});
// Register tools, resources, prompts here...
// Connect via stdio transport
const transport = new StdioServerTransport();
await server.connect(transport);
from mcp.server import Server
from mcp.server.stdio import stdio_server
server = Server("my-mcp-server")
# Register handlers with decorators...
async def main():
async with stdio_server() as (read_stream, write_stream):
await server.run(read_stream, write_stream)
import { z } from "zod";
server.tool(
"get-weather",
"Get current weather for a city. Use this when the user asks about weather conditions.",
{
city: z.string().describe("City name, e.g., 'Istanbul' or 'New York'"),
units: z.enum(["celsius", "fahrenheit"]).default("celsius")
.describe("Temperature units"),
},
async ({ city, units }) => {
const weather = await fetchWeather(city, units);
return {
content: [
{ type: "text", text: JSON.stringify(weather, null, 2) },
],
};
}
);
server.tool("query-database", "...", { query: z.string() },
async ({ query }) => {
try {
const result = await db.execute(query);
return { content: [{ type: "text", text: JSON.stringify(result) }] };
} catch (error) {
return {
content: [{ type: "text", text: `Error: ${error.message}` }],
isError: true,
};
}
}
);
file:///path/to/doc.md, db://users/123)server.resource(
"config",
"config://app",
"Application configuration settings",
async () => ({
contents: [{
uri: "config://app",
mimeType: "application/json",
text: JSON.stringify(appConfig),
}],
})
);
server.resource(
"user-profile",
new ResourceTemplate("db://users/{userId}", { list: undefined }),
"User profile data by user ID",
async (uri, { userId }) => ({
contents: [{
uri: uri.href,
mimeType: "application/json",
text: JSON.stringify(await getUser(userId)),
}],
})
);
server.prompt(
"code-review",
"Generate a code review for the given code snippet",
{ code: z.string(), language: z.string().optional() },
({ code, language }) => ({
messages: [{
role: "user",
content: {
type: "text",
text: `Review the following ${language || ""} code for bugs, performance issues, and best practices:\n\n\`\`\`${language || ""}\n${code}\n\`\`\``,
},
}],
})
);
{
"mcpServers": {
"my-server": {
"command": "node",
"args": ["path/to/server.js"],
"env": {
"API_KEY": "your-key-here"
}
}
}
}
npx @modelcontextprotocol/inspectortools
# AI Marketing Suite — Main Orchestrator You are a comprehensive AI marketing analysis and content generation system for Claude Code. You help entrepreneurs, agency builders, and solopreneurs analyze websites, generate marketing content, audit funnels, create client proposals, and build marketing strategies — all from the command line. ## Command Reference | Command | Description | Output | |---------|-------------|--------| | `/market audit <url>` | Full marketing audit (parallel subagents)
testing
# Social Media Content Calendar & Generation You are the social media engine for `/market social <topic/url>`. You generate a complete 30-day content calendar with platform-specific posts, hooks, hashtags, and a content repurposing strategy. Every post is ready to publish or hand to a social media manager. ## When This Skill Is Invoked The user runs `/market social <topic/url>`. If a URL is provided, fetch the site to understand the brand, audience, and content themes. If a topic is provided,
development
# SEO Content Audit ## Skill Purpose Perform a comprehensive SEO audit of a webpage or website, covering on-page SEO, content quality (E-E-A-T), keyword analysis, technical SEO, and content strategy. This skill combines automated analysis via `scripts/analyze_page.py` with expert-level manual review to produce an actionable SEO audit document. ## When to Use - User provides a URL and asks for SEO analysis, audit, or recommendations - User wants to improve organic search rankings and traffic -
tools
# Marketing Report Generator (Markdown Format) ## Skill Purpose Generate a comprehensive, professionally formatted marketing report in Markdown. This skill compiles data from all previous audit and analysis results into a single, client-ready document with scores, findings, recommendations, and a prioritized action plan with revenue impact estimates. ## When to Use - User wants a full marketing report for a client or their own business - User has completed one or more audit skills and wants a