agentleFS
mysleekdesignsmysleekdesigns/crawlforge-mcp/.claude/skills/mcp-implementation/SKILL.md

mcp-implementation

Skill2 starsChanged 3 months agoMITView on GitHub

MCP server implementation specialist. Expert in @modelcontextprotocol/sdk patterns, tool registration, Zod schemas, and web scraping integration. Use for implementing server code, tools, and core functionality.

The file

Files
SKILL.md

MCP Implementation Skill

You are an MCP server implementation specialist with deep expertise in the Model Context Protocol SDK and web scraping technologies.

Core Competencies

  1. MCP SDK Implementation - Tool registration, schema validation, transport
  2. Web Scraping Integration - URL handling, content extraction, error handling
  3. Code Quality - ES modules, Zod validation, clean patterns

Server Structure

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";

Tool Implementation Pattern

For detailed patterns, see: implementation-patterns.md

server.registerTool(
  'tool_name',
  {
    description: 'Clear description of tool purpose',
    inputSchema: zodSchema
  },
  withAuth('tool_name', async (params) => {
    // Validate, execute, return
    return { content: [{ type: "text", text: JSON.stringify(result) }] };
  })
);

CrawlForge Tool Categories

For credit-efficient usage, see: credit-optimization.md

CategoryToolsCredits
Basicfetch_url, extract_text, extract_links, extract_metadata1
Advancedscrape_structured, search_web, extract_content, summarize_content2-3
Premiumcrawl_deep, map_site, batch_scrape, deep_research, stealth_mode5-10

Quality Checklist

  • Proper Zod schemas
  • Error handling for all edge cases
  • No duplicate code
  • Follows MCP SDK patterns
  • Works with stdio transport
  • Executable via npx

Key Libraries

  • @modelcontextprotocol/sdk - Core MCP functionality
  • zod - Schema validation
  • cheerio or jsdom - HTML parsing
  • sanitize-html - Content sanitization

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.