[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M748K70H0XNQ2WDDBJ720JNX":3,"skill-same:01M748K70H0XNQ2WDDBJ720JNX":87},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M748K70H0XNQ2WDDBJ720JNX","mcp-builder",null,"Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP\u002FMCP SDK) or Node\u002FTypeScript (MCP SDK). Covers tool design, output schemas, Streamable HTTP transport, authentication patterns, evaluation creation, and common debugging.","surfingalien\u002FFinSurfing","surfingalien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F138259559?v=4","01M71XACCFHNXK70BHYFHFT657","01M71XACDJSV4YA5NZ191F1C8C",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: mcp-builder\ndescription: Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP\u002FMCP SDK) or Node\u002FTypeScript (MCP SDK). Covers tool design, output schemas, Streamable HTTP transport, authentication patterns, evaluation creation, and common debugging.\nlicense: Complete terms in LICENSE.txt\n---\n\n# MCP Server Development Guide\n\n## Overview\n\nCreate MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. The quality of an MCP server is measured by how well it enables LLMs to accomplish real-world tasks.\n\n---\n\n# Process\n\n## 🚀 High-Level Workflow\n\nCreating a high-quality MCP server involves four main phases:\n\n### Phase 1: Deep Research and Planning\n\n#### 1.1 Understand Modern MCP Design\n\n**API Coverage vs. Workflow Tools:**\nBalance comprehensive API endpoint coverage with specialized workflow tools. Workflow tools can be more convenient for specific tasks, while comprehensive coverage gives agents flexibility to compose operations. Performance varies by client—some clients benefit from code execution that combines basic tools, while others work better with higher-level workflows. When uncertain, prioritize comprehensive API coverage.\n\n**Tool Naming and Discoverability:**\nClear, descriptive tool names help agents find the right tools quickly. Use consistent prefixes (e.g., `github_create_issue`, `github_list_repos`) and action-oriented naming.\n\n**Context Management:**\nAgents benefit from concise tool descriptions and the ability to filter\u002Fpaginate results. Design tools that return focused, relevant data. Some clients support code execution which can help agents filter and process data efficiently.\n\n**Actionable Error Messages:**\nError messages should guide agents toward solutions with specific suggestions and next steps.\n\n#### 1.2 Study MCP Protocol Documentation\n\n**Navigate the MCP specification:**\n\nStart with the sitemap to find relevant pages: `https:\u002F\u002Fmodelcontextprotocol.io\u002Fsitemap.xml`\n\nThen fetch specific pages with `.md` suffix for markdown format (e.g., `https:\u002F\u002Fmodelcontextprotocol.io\u002Fspecification\u002Fdraft.md`).\n\nKey pages to review:\n- Specification overview and architecture\n- Transport mechanisms (streamable HTTP, stdio)\n- Tool, resource, and prompt definitions\n\n#### 1.3 Study Framework Documentation\n\n**Recommended stack:**\n- **Language**: TypeScript (high-quality SDK support and good compatibility in many execution environments. AI models are good at generating TypeScript code, benefiting from its broad usage, static typing and good linting tools)\n- **Transport**: Streamable HTTP for remote servers, using stateless JSON (simpler to scale and maintain, as opposed to stateful sessions and streaming responses). stdio for local servers.\n- **Auth**: For remote servers, use OAuth 2.1 (MCP spec's standard) or API key via Authorization header. See MCP spec `authorization.md` for the canonical OAuth flow.\n\n**Load framework documentation:**\n\n- **MCP Best Practices**: [📋 View Best Practices](.\u002Freference\u002Fmcp_best_practices.md) - Core guidelines\n\n**For TypeScript (recommended):**\n- **TypeScript SDK**: Use WebFetch to load `https:\u002F\u002Fraw.githubusercontent.com\u002Fmodelcontextprotocol\u002Ftypescript-sdk\u002Fmain\u002FREADME.md`\n- [⚡ TypeScript Guide](.\u002Freference\u002Fnode_mcp_server.md) - TypeScript patterns and examples\n\n**For Python:**\n- **Python SDK**: Use WebFetch to load `https:\u002F\u002Fraw.githubusercontent.com\u002Fmodelcontextprotocol\u002Fpython-sdk\u002Fmain\u002FREADME.md`\n- [🐍 Python Guide](.\u002Freference\u002Fpython_mcp_server.md) - Python patterns and examples\n\n#### 1.4 Plan Your Implementation\n\n**Understand the API:**\nReview the service's API documentation to identify key endpoints, authentication requirements, and data models. Use web search and WebFetch as needed.\n\n**Tool Selection:**\nPrioritize comprehensive API coverage. List endpoints to implement, starting with the most common operations.\n\n---\n\n### Phase 2: Implementation\n\n#### 2.1 Set Up Project Structure\n\nSee language-specific guides for project setup:\n- [⚡ TypeScript Guide](.\u002Freference\u002Fnode_mcp_server.md) - Project structure, package.json, tsconfig.json\n- [🐍 Python Guide](.\u002Freference\u002Fpython_mcp_server.md) - Module organization, dependencies\n\n#### 2.2 Implement Core Infrastructure\n\nCreate shared utilities:\n- API client with authentication\n- Error handling helpers\n- Response formatting (JSON\u002FMarkdown)\n- Pagination support\n\n#### 2.3 Implement Tools\n\nFor each tool:\n\n**Input Schema:**\n- Use Zod (TypeScript) or Pydantic (Python)\n- Include constraints and clear descriptions\n- Add examples in field descriptions\n\n**Output Schema:**\n- Define `outputSchema` where possible for structured data\n- Use `structuredContent` in tool responses (TypeScript SDK feature)\n- Helps clients understand and process tool outputs\n\n**Tool Description:**\n- Concise summary of functionality\n- Parameter descriptions\n- Return type schema\n\n**Implementation:**\n- Async\u002Fawait for I\u002FO operations\n- Proper error handling with actionable messages\n- Support pagination where applicable\n- Return both text content and structured data when using modern SDKs\n\n**Annotations:**\n- `readOnlyHint`: true\u002Ffalse\n- `destructiveHint`: true\u002Ffalse\n- `idempotentHint`: true\u002Ffalse\n- `openWorldHint`: true\u002Ffalse\n\n---\n\n### Phase 3: Review and Test\n\n#### 3.1 Code Quality\n\nReview for:\n- No duplicated code (DRY principle)\n- Consistent error handling\n- Full type coverage\n- Clear tool descriptions\n\n#### 3.2 Build and Test\n\n**TypeScript:**\n- Run `npm run build` to verify compilation\n- Test with MCP Inspector: `npx @modelcontextprotocol\u002Finspector`\n\n**Python:**\n- Verify syntax: `python -m py_compile your_server.py`\n- Test with MCP Inspector\n\nSee language-specific guides for detailed testing approaches and quality checklists.\n\n---\n\n### Phase 4: Create Evaluations\n\nAfter implementing your MCP server, create comprehensive evaluations to test its effectiveness.\n\n**Load [✅ Evaluation Guide](.\u002Freference\u002Fevaluation.md) for complete evaluation guidelines.**\n\n#### 4.1 Understand Evaluation Purpose\n\nUse evaluations to test whether LLMs can effectively use your MCP server to answer realistic, complex questions.\n\n#### 4.2 Create 10 Evaluation Questions\n\nTo create effective evaluations, follow the process outlined in the evaluation guide:\n\n1. **Tool Inspection**: List available tools and understand their capabilities\n2. **Content Exploration**: Use READ-ONLY operations to explore available data\n3. **Question Generation**: Create 10 complex, realistic questions\n4. **Answer Verification**: Solve each question yourself to verify answers\n\n#### 4.3 Evaluation Requirements\n\nEnsure each question is:\n- **Independent**: Not dependent on other questions\n- **Read-only**: Only non-destructive operations required\n- **Complex**: Requiring multiple tool calls and deep exploration\n- **Realistic**: Based on real use cases humans would care about\n- **Verifiable**: Single, clear answer that can be verified by string comparison\n- **Stable**: Answer won't change over time\n\n#### 4.4 Output Format\n\nCreate an XML file with this structure:\n\n```xml\n\u003Cevaluation>\n  \u003Cqa_pair>\n    \u003Cquestion>Find discussions about AI model launches with animal codenames. One model needed a specific safety designation that uses the format ASL-X. What number X was being determined for the model named after a spotted wild cat?\u003C\u002Fquestion>\n    \u003Canswer>3\u003C\u002Fanswer>\n  \u003C\u002Fqa_pair>\n\u003C!-- More qa_pairs... -->\n\u003C\u002Fevaluation>\n```\n\n---\n\n## Security Best Practices\n\nMCP servers can be exposed to the internet and handle sensitive operations. Follow these guidelines:\n\n### Authentication & Authorization\n- **Remote servers**: Implement OAuth 2.1 or API key authentication\n- **Validate all inputs**: Never trust client-provided data; validate against schemas\n- **Secrets**: Never hardcode API keys; use environment variables\n- **Scope limiting**: Only expose tools the client needs; use least privilege\n\n### Input Validation\n```typescript\n\u002F\u002F Use Zod with strict schemas\nconst DeleteUserSchema = z.object({\n  userId: z.string().uuid(),  \u002F\u002F UUID format enforced\n  reason: z.enum([\"spam\", \"policy_violation\", \"user_request\"]),  \u002F\u002F Enum limits\n});\n\n\u002F\u002F Never allow arbitrary code execution\nconst QuerySchema = z.object({\n  table: z.enum([\"users\", \"orders\", \"products\"]),  \u002F\u002F No arbitrary tables\n  id: z.number().int().positive(),\n});\n```\n\n### Rate Limiting & Abuse Prevention\n```typescript\n\u002F\u002F Add rate limiting to destructive operations\nconst rateLimiter = new Map\u003Cstring, number[]>();\n\nfunction checkRateLimit(clientId: string, limit: number, windowMs: number): boolean {\n  const now = Date.now();\n  const calls = rateLimiter.get(clientId) ?? [];\n  const windowCalls = calls.filter(t => now - t \u003C windowMs);\n  if (windowCalls.length >= limit) return false;\n  rateLimiter.set(clientId, [...windowCalls, now]);\n  return true;\n}\n```\n\n### Audit Logging\n```typescript\n\u002F\u002F Log all tool calls for sensitive operations\nserver.registerTool(\"delete_record\", {\n  \u002F\u002F ...\n  handler: async ({ id }) => {\n    console.error(JSON.stringify({  \u002F\u002F stderr for logging\n      event: \"tool_call\",\n      tool: \"delete_record\",\n      params: { id },\n      timestamp: new Date().toISOString(),\n    }));\n    \u002F\u002F ... implementation\n  }\n});\n```\n\n---\n\n# Common Pitfalls\n\nMCP server development encounters several predictable failure modes. These gotchas represent real problems discovered during implementation.\n\n## 1. Server Doesn't Start After Generation\n\n**Symptoms:**\n- `npm start` fails with exit code 1\n- Process starts but immediately crashes\n- Port already in use error\n\n**Root Causes:**\n- Missing dependencies (SDK version mismatch, incomplete npm install)\n- Port conflict with existing process\n- Incorrect environment variable configuration\n- Invalid configuration in `.npmrc` or `tsconfig.json`\n\n**Debugging Commands:**\n\n```bash\n# Verify dependencies are installed\nnpm list @modelcontextprotocol\u002Fsdk\n\n# Check if port is in use\nlsof -i :3000  # Replace 3000 with your port\nnetstat -an | grep LISTEN | grep 3000\n\n# Clear cache and reinstall\nrm -rf node_modules package-lock.json\nnpm install\n\n# Run with verbose output to see initialization errors\nnpm start -- --debug\nNODE_DEBUG=* npm start  # Maximum verbosity for Node.js internals\n\n# For TypeScript, verify compilation first\nnpm run build\nnpx tsc --noEmit  # Check for type errors without building\n\n# Check for missing env variables\nenv | grep MCP  # See what MCP-related vars are set\n```\n\n**Prevention:**\n- Always run `npm install` after generating project\n- Use explicit port numbers in configuration files\n- Document required environment variables in `.env.example`\n- Test compilation before starting: `npm run build`\n\n---\n\n## 2. Tool Schemas Don't Validate\n\n**Symptoms:**\n- MCP Inspector shows \"Invalid schema\" error\n- Client rejects tool with 422 error\n- Tool works in one SDK version but not another\n\n**Root Causes:**\n- JSON Schema violations in Zod\u002FPydantic definitions\n- Missing required fields in schema objects\n- Incorrect `type` annotations\n- Circular schema references\n- Invalid constraints (pattern regex, min\u002Fmax without number type)\n\n**Debugging Commands:**\n\n```bash\n# Validate schema syntax\nnpx @modelcontextprotocol\u002Finspector  # GUI debugger, shows schema errors clearly\n\n# Test schema compilation directly (TypeScript)\ncat > test-schema.ts \u003C\u003C 'EOF'\nimport { z } from 'zod';\nconst schema = z.object({\n  \u002F\u002F your schema here\n});\nconsole.log(JSON.stringify(schema.safeParse({}), null, 2));\nEOF\nnpx ts-node test-schema.ts\n\n# For Python, test Pydantic directly\npython3 \u003C\u003C 'EOF'\nfrom pydantic import BaseModel\nclass MyTool(BaseModel):\n    # your fields here\n    pass\nprint(MyTool.model_json_schema())\nEOF\n\n# Print actual schema being sent to client\n# In your server code, log before registration:\nconsole.log(JSON.stringify(toolSchema, null, 2));\n\n# Test with invalid inputs to see error messages\n# In MCP Inspector, try calling tool with:\n# - Missing required fields\n# - Wrong types (string instead of number)\n# - Values outside constraints\n```\n\n**Prevention:**\n- Use TypeScript with strict mode enabled (`strict: true` in tsconfig.json)\n- Test each schema change: `npm run build`\n- Print schema JSON to console during development\n- Use MCP Inspector's schema validation (it's the source of truth)\n- Keep schemas simple; break complex tools into smaller ones\n- Document constraints in field descriptions (min\u002Fmax values, regex patterns)\n\n---\n\n## 3. Authentication Flows Fail\n\n**Symptoms:**\n- \"Unauthorized\" or \"403 Forbidden\" errors\n- API key not being sent with requests\n- OAuth token expired or invalid\n- Credentials work locally but fail when deployed\n\n**Root Causes:**\n- Environment variables not set in deployment environment\n- Credentials expired or revoked\n- Wrong header format for API authentication (Bearer vs Basic)\n- OAuth redirect URI doesn't match registration\n- Missing scopes in OAuth request\n- Credentials accidentally hardcoded instead of using env vars\n\n**Debugging Commands:**\n\n```bash\n# Verify environment variables are accessible\nnode -e \"const k = process.env.API_KEY; console.log('Key set:', !!k, '| Length:', k?.length, '| Prefix:', k?.substring(0, 4) + '***')\"\n\n# Check if file-based credentials exist\ntest -f ~\u002F.aws\u002Fcredentials && echo \"AWS creds found\" || echo \"AWS creds missing\"\ntest -f ~\u002F.config\u002Fgithub-cli\u002Fhosts.yml && echo \"GitHub token found\" || echo \"GitHub token missing\"\n\n# Validate API key format before use\nnode -e \"const key = process.env.API_KEY; console.log('Key length:', key?.length); console.log('Key prefix:', key?.substring(0, 10));\"\n\n# Test API authentication directly\ncurl -H \"Authorization: Bearer $API_KEY\" https:\u002F\u002Fapi.example.com\u002Fv1\u002Ftest\ncurl -H \"X-API-Key: $API_KEY\" https:\u002F\u002Fapi.example.com\u002Fv1\u002Ftest  # Alternative header\n\n# Check OAuth token expiration\nnode -e \"const payload = JSON.parse(Buffer.from(process.env.OAUTH_TOKEN.split('.')[1], 'base64url').toString()); console.log('Expires:', new Date(payload.exp * 1000));\"\n\n# For deployed servers, check what environment was actually loaded\n# Add this to your server initialization:\nconsole.error('Auth check:', {\n  hasApiKey: !!process.env.API_KEY,\n  keyLength: process.env.API_KEY?.length,\n  keyPrefix: process.env.API_KEY?.substring(0, 10) + '***'\n});\n```\n\n**Prevention:**\n- Never hardcode credentials; always use environment variables\n- Create `.env.example` with placeholder values for all required credentials\n- Document which credentials are optional vs. required\n- Use dotenv library to load `.env` file in development\n- Log credential status at startup (without exposing actual values)\n- Implement credential validation on server start that fails fast\n- For deployed servers, use platform-native secrets management (GitHub Secrets, Fly.io Secrets, etc.)\n- Test auth independently before testing tools: `curl` with credentials first\n\n---\n\n## 4. Client Connection Timeouts\n\n**Symptoms:**\n- \"Connection timeout\" error after 30 seconds\n- Client can't find server\n- Stdio transport works locally but not in MCP Inspector\n- Streamable HTTP server never receives requests\n\n**Root Causes:**\n- Server process crashes before client connects\n- Wrong port\u002Fhostname in client configuration\n- Firewall blocking connections\n- Server thread deadlocks during initialization\n- Incorrect stdio transport setup (stdin\u002Fstdout not properly connected)\n- Server takes too long to initialize (exceed default timeout)\n\n**Debugging Commands:**\n\n```bash\n# For stdio transport, test directly\nnpx @modelcontextprotocol\u002Finspector stdio node dist\u002Findex.js\n\n# For HTTP transport, verify server is listening\nlsof -i -n -P | grep LISTEN  # See all listening ports\ncurl http:\u002F\u002Flocalhost:3000\u002F -v  # Try to reach server directly\n\n# Monitor server startup time\ntime npm start  # Measure total startup duration\n\n# Check if process is using all CPU (deadlock indicator)\ntop -n1 | grep node  # See if CPU% is stuck at 100\n\n# For stdio issues, run server directly to see output\nnode dist\u002Findex.js  # If it hangs here, initialization is blocking\n# Try interrupt (Ctrl+C) to see if it's truly stuck\n\n# Check for port binding issues\nss -tlnp | grep 3000  # Linux\nnetstat -tlnp | grep 3000  # Linux alternative\nlsof -i TCP:3000  # macOS\u002FBSD\n\n# Test server connectivity with timeout\ntimeout 5 curl -v http:\u002F\u002Flocalhost:3000\u002F || echo \"Connection failed or timeout\"\n```\n\n**Prevention:**\n- Add startup logging: log when server starts, log after each major initialization step\n- Implement a health check endpoint: `GET \u002Fhealth` returns `200 OK`\n- Use MCP Inspector for testing (it catches connection issues quickly)\n- Keep server initialization lightweight; defer expensive operations to first request\n- Set explicit timeouts on external API calls (don't leave them hanging indefinitely)\n- Test stdio transport with `npx @modelcontextprotocol\u002Finspector stdio \u003Ccommand>`\n- For HTTP transport, expose `\u002Fhealth` and test it independently\n- Monitor memory usage during startup (leaks indicate problems)\n\n---\n\n## Systematic Debugging Workflow\n\nWhen your MCP server isn't working:\n\n1. **Check logs first**: Most failures are logged. Run with verbose output:\n   ```bash\n   NODE_DEBUG=* npm start 2>&1 | head -50\n   ```\n\n2. **Use MCP Inspector**: Start it independently and select your server:\n   ```bash\n   npx @modelcontextprotocol\u002Finspector\n   ```\n   It shows schema errors, connection issues, and tool execution failures clearly.\n\n3. **Test in isolation**: Before testing with a client, verify server works standalone:\n   ```bash\n   npm run build && node dist\u002Findex.js\n   ```\n\n4. **Check external dependencies**: Verify API credentials, network access, firewall:\n   ```bash\n   curl -v https:\u002F\u002Fapi.example.com\u002F  # Does API respond?\n   ```\n\n5. **Add instrumentation**: When stuck, add logging to understand what's happening:\n   ```typescript\n   server.setRequestHandler(Tool, async (request) => {\n     console.error('Tool called:', request.params.name);\n     try {\n       \u002F\u002F implementation\n       console.error('Tool succeeded');\n     } catch (error) {\n       console.error('Tool failed:', error);\n       throw error;\n     }\n   });\n   ```\n\n---\n\n# Reference Files\n\n## 📚 Documentation Library\n\nLoad these resources as needed during development:\n\n### Core MCP Documentation (Load First)\n- **MCP Protocol**: Start with sitemap at `https:\u002F\u002Fmodelcontextprotocol.io\u002Fsitemap.xml`, then fetch specific pages with `.md` suffix\n- [📋 MCP Best Practices](.\u002Freference\u002Fmcp_best_practices.md) - Universal MCP guidelines including:\n  - Server and tool naming conventions\n  - Response format guidelines (JSON vs Markdown)\n  - Pagination best practices\n  - Transport selection (streamable HTTP vs stdio)\n  - Security and error handling standards\n\n### SDK Documentation (Load During Phase 1\u002F2)\n- **Python SDK**: Fetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Fmodelcontextprotocol\u002Fpython-sdk\u002Fmain\u002FREADME.md`\n- **TypeScript SDK**: Fetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Fmodelcontextprotocol\u002Ftypescript-sdk\u002Fmain\u002FREADME.md`\n\n### Language-Specific Implementation Guides (Load During Phase 2)\n- [🐍 Python Implementation Guide](.\u002Freference\u002Fpython_mcp_server.md) - Complete Python\u002FFastMCP guide with:\n  - Server initialization patterns\n  - Pydantic model examples\n  - Tool registration with `@mcp.tool`\n  - Complete working examples\n  - Quality checklist\n\n- [⚡ TypeScript Implementation Guide](.\u002Freference\u002Fnode_mcp_server.md) - Complete TypeScript guide with:\n  - Project structure\n  - Zod schema patterns\n  - Tool registration with `server.registerTool`\n  - Complete working examples\n  - Quality checklist\n\n### Evaluation Guide (Load During Phase 4)\n- [✅ Evaluation Guide](.\u002Freference\u002Fevaluation.md) - Complete evaluation creation guide with:\n  - Question creation guidelines\n  - Answer verification strategies\n  - XML format specifications\n  - Example questions and answers\n  - Running an evaluation with the provided scripts\n","# MCP Server Development Guide\n\n## Overview\n\nCreate MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. The quality of an MCP server is measured by how well it enables LLMs to accomplish real-world tasks.\n\n---\n\n# Process\n\n## 🚀 High-Level Workflow\n\nCreating a high-quality MCP server involves four main phases:\n\n### Phase 1: Deep Research and Planning\n\n#### 1.1 Understand Modern MCP Design\n\n**API Coverage vs. Workflow Tools:**\nBalance comprehensive API endpoint coverage with specialized workflow tools. Workflow tools can be more convenient for specific tasks, while comprehensive coverage gives agents flexibility to compose operations. Performance varies by client—some clients benefit from code execution that combines basic tools, while others work better with higher-level workflows. When uncertain, prioritize comprehensive API coverage.\n\n**Tool Naming and Discoverability:**\nClear, descriptive tool names help agents find the right tools quickly. Use consistent prefixes (e.g., `github_create_issue`, `github_list_repos`) and action-oriented naming.\n\n**Context Management:**\nAgents benefit from concise tool descriptions and the ability to filter\u002Fpaginate results. Design tools that return focused, relevant data. Some clients support code execution which can help agents filter and process data efficiently.\n\n**Actionable Error Messages:**\nError messages should guide agents toward solutions with specific suggestions and next steps.\n\n#### 1.2 Study MCP Protocol Documentation\n\n**Navigate the MCP specification:**\n\nStart with the sitemap to find relevant pages: `https:\u002F\u002Fmodelcontextprotocol.io\u002Fsitemap.xml`\n\nThen fetch specific pages with `.md` suffix for markdown format (e.g., `https:\u002F\u002Fmodelcontextprotocol.io\u002Fspecification\u002Fdraft.md`).\n\nKey pages to review:\n- Specification overview and architecture\n- Transport mechanisms (streamable HTTP, stdio)\n- Tool, resource, and prompt definitions\n\n#### 1.3 Study Framework Documentation\n\n**Recommended stack:**\n- **Language**: TypeScript (high-quality SDK support and good compatibility in many execution environments. AI models are good at generating TypeScript code, benefiting from its broad usage, static typing and good linting tools)\n- **Transport**: Streamable HTTP for remote servers, using stateless JSON (simpler to scale and maintain, as opposed to stateful sessions and streaming responses). stdio for local servers.\n- **Auth**: For remote servers, use OAuth 2.1 (MCP spec's standard) or API key via Authorization header. See MCP spec `authorization.md` for the canonical OAuth flow.\n\n**Load framework documentation:**\n\n- **MCP Best Practices**: [📋 View Best Practices](.\u002Freference\u002Fmcp_best_practices.md) - Core guidelines\n\n**For TypeScript (recommended):**\n- **TypeScript SDK**: Use WebFetch to load `https:\u002F\u002Fraw.githubusercontent.com\u002Fmodelcontextprotocol\u002Ftypescript-sdk\u002Fmain\u002FREADME.md`\n- [⚡ TypeScript Guide](.\u002Freference\u002Fnode_mcp_server.md) - TypeScript patterns and examples\n\n**For Python:**\n- **Python SDK**: Use WebFetch to load `https:\u002F\u002Fraw.githubusercontent.com\u002Fmodelcontextprotocol\u002Fpython-sdk\u002Fmain\u002FREADME.md`\n- [🐍 Python Guide](.\u002Freference\u002Fpython_mcp_server.md) - Python patterns and examples\n\n#### 1.4 Plan Your Implementation\n\n**Understand the API:**\nReview the service's API documentation to identify key endpoints, authentication requirements, and data models. Use web search and WebFetch as needed.\n\n**Tool Selection:**\nPrioritize comprehensive API coverage. List endpoints to implement, starting with the most common operations.\n\n---\n\n### Phase 2: Implementation\n\n#### 2.1 Set Up Project Structure\n\nSee language-specific guides for project setup:\n- [⚡ TypeScript Guide](.\u002Freference\u002Fnode_mcp_server.md) - Project structure, package.json, tsconfig.json\n- [🐍 Python Guide](.\u002Freference\u002Fpython_mcp_server.md) - Module organization, dependencies\n\n#### 2.2 Implement Core Infrastructure\n\nCreate shared utilities:\n- API client with authentication\n- Error handling helpers\n- Response formatting (JSON\u002FMarkdown)\n- Pagination support\n\n#### 2.3 Implement Tools\n\nFor each tool:\n\n**Input Schema:**\n- Use Zod (TypeScript) or Pydantic (Python)\n- Include constraints and clear descriptions\n- Add examples in field descriptions\n\n**Output Schema:**\n- Define `outputSchema` where possible for structured data\n- Use `structuredContent` in tool responses (TypeScript SDK feature)\n- Helps clients understand and process tool outputs\n\n**Tool Description:**\n- Concise summary of functionality\n- Parameter descriptions\n- Return type schema\n\n**Implementation:**\n- Async\u002Fawait for I\u002FO operations\n- Proper error handling with actionable messages\n- Support pagination where applicable\n- Return both text content and structured data when using modern SDKs\n\n**Annotations:**\n- `readOnlyHint`: true\u002Ffalse\n- `destructiveHint`: true\u002Ffalse\n- `idempotentHint`: true\u002Ffalse\n- `openWorldHint`: true\u002Ffalse\n\n---\n\n### Phase 3: Review and Test\n\n#### 3.1 Code Quality\n\nReview for:\n- No duplicated code (DRY principle)\n- Consistent error handling\n- Full type coverage\n- Clear tool descriptions\n\n#### 3.2 Build and Test\n\n**TypeScript:**\n- Run `npm run build` to verify compilation\n- Test with MCP Inspector: `npx @modelcontextprotocol\u002Finspector`\n\n**Python:**\n- Verify syntax: `python -m py_compile your_server.py`\n- Test with MCP Inspector\n\nSee language-specific guides for detailed testing approaches and quality checklists.\n\n---\n\n### Phase 4: Create Evaluations\n\nAfter implementing your MCP server, create comprehensive evaluations to test its effectiveness.\n\n**Load [✅ Evaluation Guide](.\u002Freference\u002Fevaluation.md) for complete evaluation guidelines.**\n\n#### 4.1 Understand Evaluation Purpose\n\nUse evaluations to test whether LLMs can effectively use your MCP server to answer realistic, complex questions.\n\n#### 4.2 Create 10 Evaluation Questions\n\nTo create effective evaluations, follow the process outlined in the evaluation guide:\n\n1. **Tool Inspection**: List available tools and understand their capabilities\n2. **Content Exploration**: Use READ-ONLY operations to explore available data\n3. **Question Generation**: Create 10 complex, realistic questions\n4. **Answer Verification**: Solve each question yourself to verify answers\n\n#### 4.3 Evaluation Requirements\n\nEnsure each question is:\n- **Independent**: Not dependent on other questions\n- **Read-only**: Only non-destructive operations required\n- **Complex**: Requiring multiple tool calls and deep exploration\n- **Realistic**: Based on real use cases humans would care about\n- **Verifiable**: Single, clear answer that can be verified by string comparison\n- **Stable**: Answer won't change over time\n\n#### 4.4 Output Format\n\nCreate an XML file with this structure:\n\n```xml\n\u003Cevaluation>\n  \u003Cqa_pair>\n    \u003Cquestion>Find discussions about AI model launches with animal codenames. One model needed a specific safety designation that uses the format ASL-X. What number X was being determined for the model named after a spotted wild cat?\u003C\u002Fquestion>\n    \u003Canswer>3\u003C\u002Fanswer>\n  \u003C\u002Fqa_pair>\n\u003C!-- More qa_pairs... -->\n\u003C\u002Fevaluation>\n```\n\n---\n\n## Security Best Practices\n\nMCP servers can be exposed to the internet and handle sensitive operations. Follow these guidelines:\n\n### Authentication & Authorization\n- **Remote servers**: Implement OAuth 2.1 or API key authentication\n- **Validate all inputs**: Never trust client-provided data; validate against schemas\n- **Secrets**: Never hardcode API keys; use environment variables\n- **Scope limiting**: Only expose tools the client needs; use least privilege\n\n### Input Validation\n```typescript\n\u002F\u002F Use Zod with strict schemas\nconst DeleteUserSchema = z.object({\n  userId: z.string().uuid(),  \u002F\u002F UUID format enforced\n  reason: z.enum([\"spam\", \"policy_violation\", \"user_request\"]),  \u002F\u002F Enum limits\n});\n\n\u002F\u002F Never allow arbitrary code execution\nconst QuerySchema = z.object({\n  table: z.enum([\"users\", \"orders\", \"products\"]),  \u002F\u002F No arbitrary tables\n  id: z.number().int().positive(),\n});\n```\n\n### Rate Limiting & Abuse Prevention\n```typescript\n\u002F\u002F Add rate limiting to destructive operations\nconst rateLimiter = new Map\u003Cstring, number[]>();\n\nfunction checkRateLimit(clientId: string, limit: number, windowMs: number): boolean {\n  const now = Date.now();\n  const calls = rateLimiter.get(clientId) ?? [];\n  const windowCalls = calls.filter(t => now - t \u003C windowMs);\n  if (windowCalls.length >= limit) return false;\n  rateLimiter.set(clientId, [...windowCalls, now]);\n  return true;\n}\n```\n\n### Audit Logging\n```typescript\n\u002F\u002F Log all tool calls for sensitive operations\nserver.registerTool(\"delete_record\", {\n  \u002F\u002F ...\n  handler: async ({ id }) => {\n    console.error(JSON.stringify({  \u002F\u002F stderr for logging\n      event: \"tool_call\",\n      tool: \"delete_record\",\n      params: { id },\n      timestamp: new Date().toISOString(),\n    }));\n    \u002F\u002F ... implementation\n  }\n});\n```\n\n---\n\n# Common Pitfalls\n\nMCP server development encounters several predictable failure modes. These gotchas represent real problems discovered during implementation.\n\n## 1. Server Doesn't Start After Generation\n\n**Symptoms:**\n- `npm start` fails with exit code 1\n- Process starts but immediately crashes\n- Port already in use error\n\n**Root Causes:**\n- Missing dependencies (SDK version mismatch, incomplete npm install)\n- Port conflict with existing process\n- Incorrect environment variable configuration\n- Invalid configuration in `.npmrc` or `tsconfig.json`\n\n**Debugging Commands:**\n\n```bash\n# Verify dependencies are installed\nnpm list @modelcontextprotocol\u002Fsdk\n\n# Check if port is in use\nlsof -i :3000  # Replace 3000 with your port\nnetstat -an | grep LISTEN | grep 3000\n\n# Clear cache and reinstall\nrm -rf node_modules package-lock.json\nnpm install\n\n# Run with verbose output to see initialization errors\nnpm start -- --debug\nNODE_DEBUG=* npm start  # Maximum verbosity for Node.js internals\n\n# For TypeScript, verify compilation first\nnpm run build\nnpx tsc --noEmit  # Check for type errors without building\n\n# Check for missing env variables\nenv | grep MCP  # See what MCP-related vars are set\n```\n\n**Prevention:**\n- Always run `npm install` after generating project\n- Use explicit port numbers in configuration files\n- Document required environment variables in `.env.example`\n- Test compilation before starting: `npm run build`\n\n---\n\n## 2. Tool Schemas Don't Validate\n\n**Symptoms:**\n- MCP Inspector shows \"Invalid schema\" error\n- Client rejects tool with 422 error\n- Tool works in one SDK version but not another\n\n**Root Causes:**\n- JSON Schema violations in Zod\u002FPydantic definitions\n- Missing required fields in schema objects\n- Incorrect `type` annotations\n- Circular schema references\n- Invalid constraints (pattern regex, min\u002Fmax without number type)\n\n**Debugging Commands:**\n\n```bash\n# Validate schema syntax\nnpx @modelcontextprotocol\u002Finspector  # GUI debugger, shows schema errors clearly\n\n# Test schema compilation directly (TypeScript)\ncat > test-schema.ts \u003C\u003C 'EOF'\nimport { z } from 'zod';\nconst schema = z.object({\n  \u002F\u002F your schema here\n});\nconsole.log(JSON.stringify(schema.safeParse({}), null, 2));\nEOF\nnpx ts-node test-schema.ts\n\n# For Python, test Pydantic directly\npython3 \u003C\u003C 'EOF'\nfrom pydantic import BaseModel\nclass MyTool(BaseModel):\n    # your fields here\n    pass\nprint(MyTool.model_json_schema())\nEOF\n\n# Print actual schema being sent to client\n# In your server code, log before registration:\nconsole.log(JSON.stringify(toolSchema, null, 2));\n\n# Test with invalid inputs to see error messages\n# In MCP Inspector, try calling tool with:\n# - Missing required fields\n# - Wrong types (string instead of number)\n# - Values outside constraints\n```\n\n**Prevention:**\n- Use TypeScript with strict mode enabled (`strict: true` in tsconfig.json)\n- Test each schema change: `npm run build`\n- Print schema JSON to console during development\n- Use MCP Inspector's schema validation (it's the source of truth)\n- Keep schemas simple; break complex tools into smaller ones\n- Document constraints in field descriptions (min\u002Fmax values, regex patterns)\n\n---\n\n## 3. Authentication Flows Fail\n\n**Symptoms:**\n- \"Unauthorized\" or \"403 Forbidden\" errors\n- API key not being sent with requests\n- OAuth token expired or invalid\n- Credentials work locally but fail when deployed\n\n**Root Causes:**\n- Environment variables not set in deployment environment\n- Credentials expired or revoked\n- Wrong header format for API authentication (Bearer vs Basic)\n- OAuth redirect URI doesn't match registration\n- Missing scopes in OAuth request\n- Credentials accidentally hardcoded instead of using env vars\n\n**Debugging Commands:**\n\n```bash\n# Verify environment variables are accessible\nnode -e \"const k = process.env.API_KEY; console.log('Key set:', !!k, '| Length:', k?.length, '| Prefix:', k?.substring(0, 4) + '***')\"\n\n# Check if file-based credentials exist\ntest -f ~\u002F.aws\u002Fcredentials && echo \"AWS creds found\" || echo \"AWS creds missing\"\ntest -f ~\u002F.config\u002Fgithub-cli\u002Fhosts.yml && echo \"GitHub token found\" || echo \"GitHub token missing\"\n\n# Validate API key format before use\nnode -e \"const key = process.env.API_KEY; console.log('Key length:', key?.length); console.log('Key prefix:', key?.substring(0, 10));\"\n\n# Test API authentication directly\ncurl -H \"Authorization: Bearer $API_KEY\" https:\u002F\u002Fapi.example.com\u002Fv1\u002Ftest\ncurl -H \"X-API-Key: $API_KEY\" https:\u002F\u002Fapi.example.com\u002Fv1\u002Ftest  # Alternative header\n\n# Check OAuth token expiration\nnode -e \"const payload = JSON.parse(Buffer.from(process.env.OAUTH_TOKEN.split('.')[1], 'base64url').toString()); console.log('Expires:', new Date(payload.exp * 1000));\"\n\n# For deployed servers, check what environment was actually loaded\n# Add this to your server initialization:\nconsole.error('Auth check:', {\n  hasApiKey: !!process.env.API_KEY,\n  keyLength: process.env.API_KEY?.length,\n  keyPrefix: process.env.API_KEY?.substring(0, 10) + '***'\n});\n```\n\n**Prevention:**\n- Never hardcode credentials; always use environment variables\n- Create `.env.example` with placeholder values for all required credentials\n- Document which credentials are optional vs. required\n- Use dotenv library to load `.env` file in development\n- Log credential status at startup (without exposing actual values)\n- Implement credential validation on server start that fails fast\n- For deployed servers, use platform-native secrets management (GitHub Secrets, Fly.io Secrets, etc.)\n- Test auth independently before testing tools: `curl` with credentials first\n\n---\n\n## 4. Client Connection Timeouts\n\n**Symptoms:**\n- \"Connection timeout\" error after 30 seconds\n- Client can't find server\n- Stdio transport works locally but not in MCP Inspector\n- Streamable HTTP server never receives requests\n\n**Root Causes:**\n- Server process crashes before client connects\n- Wrong port\u002Fhostname in client configuration\n- Firewall blocking connections\n- Server thread deadlocks during initialization\n- Incorrect stdio transport setup (stdin\u002Fstdout not properly connected)\n- Server takes too long to initialize (exceed default timeout)\n\n**Debugging Commands:**\n\n```bash\n# For stdio transport, test directly\nnpx @modelcontextprotocol\u002Finspector stdio node dist\u002Findex.js\n\n# For HTTP transport, verify server is listening\nlsof -i -n -P | grep LISTEN  # See all listening ports\ncurl http:\u002F\u002Flocalhost:3000\u002F -v  # Try to reach server directly\n\n# Monitor server startup time\ntime npm start  # Measure total startup duration\n\n# Check if process is using all CPU (deadlock indicator)\ntop -n1 | grep node  # See if CPU% is stuck at 100\n\n# For stdio issues, run server directly to see output\nnode dist\u002Findex.js  # If it hangs here, initialization is blocking\n# Try interrupt (Ctrl+C) to see if it's truly stuck\n\n# Check for port binding issues\nss -tlnp | grep 3000  # Linux\nnetstat -tlnp | grep 3000  # Linux alternative\nlsof -i TCP:3000  # macOS\u002FBSD\n\n# Test server connectivity with timeout\ntimeout 5 curl -v http:\u002F\u002Flocalhost:3000\u002F || echo \"Connection failed or timeout\"\n```\n\n**Prevention:**\n- Add startup logging: log when server starts, log after each major initialization step\n- Implement a health check endpoint: `GET \u002Fhealth` returns `200 OK`\n- Use MCP Inspector for testing (it catches connection issues quickly)\n- Keep server initialization lightweight; defer expensive operations to first request\n- Set explicit timeouts on external API calls (don't leave them hanging indefinitely)\n- Test stdio transport with `npx @modelcontextprotocol\u002Finspector stdio \u003Ccommand>`\n- For HTTP transport, expose `\u002Fhealth` and test it independently\n- Monitor memory usage during startup (leaks indicate problems)\n\n---\n\n## Systematic Debugging Workflow\n\nWhen your MCP server isn't working:\n\n1. **Check logs first**: Most failures are logged. Run with verbose output:\n   ```bash\n   NODE_DEBUG=* npm start 2>&1 | head -50\n   ```\n\n2. **Use MCP Inspector**: Start it independently and select your server:\n   ```bash\n   npx @modelcontextprotocol\u002Finspector\n   ```\n   It shows schema errors, connection issues, and tool execution failures clearly.\n\n3. **Test in isolation**: Before testing with a client, verify server works standalone:\n   ```bash\n   npm run build && node dist\u002Findex.js\n   ```\n\n4. **Check external dependencies**: Verify API credentials, network access, firewall:\n   ```bash\n   curl -v https:\u002F\u002Fapi.example.com\u002F  # Does API respond?\n   ```\n\n5. **Add instrumentation**: When stuck, add logging to understand what's happening:\n   ```typescript\n   server.setRequestHandler(Tool, async (request) => {\n     console.error('Tool called:', request.params.name);\n     try {\n       \u002F\u002F implementation\n       console.error('Tool succeeded');\n     } catch (error) {\n       console.error('Tool failed:', error);\n       throw error;\n     }\n   });\n   ```\n\n---\n\n# Reference Files\n\n## 📚 Documentation Library\n\nLoad these resources as needed during development:\n\n### Core MCP Documentation (Load First)\n- **MCP Protocol**: Start with sitemap at `https:\u002F\u002Fmodelcontextprotocol.io\u002Fsitemap.xml`, then fetch specific pages with `.md` suffix\n- [📋 MCP Best Practices](.\u002Freference\u002Fmcp_best_practices.md) - Universal MCP guidelines including:\n  - Server and tool naming conventions\n  - Response format guidelines (JSON vs Markdown)\n  - Pagination best practices\n  - Transport selection (streamable HTTP vs stdio)\n  - Security and error handling standards\n\n### SDK Documentation (Load During Phase 1\u002F2)\n- **Python SDK**: Fetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Fmodelcontextprotocol\u002Fpython-sdk\u002Fmain\u002FREADME.md`\n- **TypeScript SDK**: Fetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Fmodelcontextprotocol\u002Ftypescript-sdk\u002Fmain\u002FREADME.md`\n\n### Language-Specific Implementation Guides (Load During Phase 2)\n- [🐍 Python Implementation Guide](.\u002Freference\u002Fpython_mcp_server.md) - Complete Python\u002FFastMCP guide with:\n  - Server initialization patterns\n  - Pydantic model examples\n  - Tool registration with `@mcp.tool`\n  - Complete working examples\n  - Quality checklist\n\n- [⚡ TypeScript Implementation Guide](.\u002Freference\u002Fnode_mcp_server.md) - Complete TypeScript guide with:\n  - Project structure\n  - Zod schema patterns\n  - Tool registration with `server.registerTool`\n  - Complete working examples\n  - Quality checklist\n\n### Evaluation Guide (Load During Phase 4)\n- [✅ Evaluation Guide](.\u002Freference\u002Fevaluation.md) - Complete evaluation creation guide with:\n  - Question creation guidelines\n  - Answer verification strategies\n  - XML format specifications\n  - Example questions and answers\n  - Running an evaluation with the provided scripts\n",{"name":5,"license":24,"description":7},"Complete terms in LICENSE.txt","main","351d6f0a5dac78be33208c688fdbb820b9053685",".claude\u002Fskills\u002Fmcp-builder",0,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing","https:\u002F\u002Fgithub.com\u002Fsurfingalien","2026-11-14 00:29:40",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add surfingalien\u002FFinSurfing --skill mcp-builder",{"tool":38,"command":39},"bunx","bunx skills add surfingalien\u002FFinSurfing --skill mcp-builder",{"tool":41,"command":42},"pnpm","pnpm dlx skills add surfingalien\u002FFinSurfing --skill mcp-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002FSKILL.md",true,[46,51,57,61,65,69,75,79,83],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":15},"LICENSE.txt","LICENSE","许可证",11357,{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"reference\u002Fevaluation.md","REFERENCE","参考文档",21663,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002Freference\u002Fevaluation.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"reference\u002Fmcp_best_practices.md",7330,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002Freference\u002Fmcp_best_practices.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"reference\u002Fnode_mcp_server.md",28550,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002Freference\u002Fnode_mcp_server.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"reference\u002Fpython_mcp_server.md",25099,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002Freference\u002Fpython_mcp_server.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Fconnections.py","SCRIPT","脚本",4875,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002Fscripts\u002Fconnections.py",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Fevaluation.py",12579,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002Fscripts\u002Fevaluation.py",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fexample_evaluation.xml",1194,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002Fscripts\u002Fexample_evaluation.xml",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Frequirements.txt",29,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-builder\u002Fscripts\u002Frequirements.txt",[88,95,101,108,115,122],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7490VYNX3NCT8R0PPSYHTXP","portfolio-management","MIT","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fskills\u002Fportfolio-management\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7490SNSG32QP06X1P1EVK7N","financial-analysis","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fskills\u002Ffinancial-analysis\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7490MKJ5QCVWWXC8HK57EVQ","tradingview-mcp","AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, Reddit sentiment, news, and multi-market screener. Supports stocks, crypto, ETFs, indices, Turkish (BIST), and Egyptian (EGX) markets.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fopenclaw\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M7490FHXRPVEPQMZ4KHFD161","sales-engineer","Analyzes RFP\u002FRFI responses for coverage gaps, builds competitive feature comparison matrices, and plans proof-of-concept (POC) engagements for pre-sales engineering. Use when responding to RFPs, bids, or proposal requests; comparing product features against competitors; planning or scoring a customer POC or sales demo; preparing a technical proposal; or performing win\u002Floss competitor analysis. Handles tasks described as 'RFP response', 'bid response', 'proposal response', 'competitor comparison', 'feature matrix', 'POC planning', 'sales demo prep', or 'pre-sales engineering'.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fbusiness-growth\u002Fskills\u002Fsales-engineer\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M7490C91D8F7CM7AXFZK8SQE","revenue-operations","Analyzes sales pipeline health, revenue forecasting accuracy, and go-to-market efficiency metrics for SaaS revenue optimization. Use when analyzing sales pipeline coverage, forecasting revenue, evaluating go-to-market performance, reviewing sales metrics, assessing pipeline analysis, tracking forecast accuracy with MAPE, calculating GTM efficiency, or measuring sales efficiency and unit economics for SaaS teams.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fbusiness-growth\u002Fskills\u002Frevenue-operations\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":19},"01M74907FEV2YRKSYPNG649HGF","customer-success-manager","Monitors customer health, predicts churn risk, and identifies expansion opportunities using weighted scoring models for SaaS customer success. Use when analyzing customer accounts, reviewing retention metrics, scoring at-risk customers, or when the user mentions churn, customer health scores, upsell opportunities, expansion revenue, retention analysis, or customer analytics. Runs three Python CLI tools to produce deterministic health scores, churn risk tiers, and prioritized expansion recommendations across Enterprise, Mid-Market, and SMB segments.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fbusiness-growth\u002Fskills\u002Fcustomer-success-manager\u002FSKILL.md",[],[]]