sakulapor/templateagents/mcp-server-patterns

Claude Code and agent skill by sakulapor/templateagents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install sakulapor/templateagents/mcp-server-patterns

SKILL.md

The same SKILL.md was published earlier as sakulapor/templateagents/mcp-server-patterns.

MCP Server Patterns

Model Context Protocol server patterns using the official TypeScript SDK

When to Use

Use this skill when building or extending the MCP server in launchpad-offline:

  • Designing new tools for Claude Desktop integration
  • Implementing stdio transport
  • Structuring tool input schemas with Zod
  • Publishing an MCP package to npm

Key Patterns

Server Setup
typescript
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
import { z } from 'zod'
const server = new McpServer({
name: 'launchpad',
version: '1.0.0',
})
Tool Definition
typescript
server.tool(
'list_items',
'List all items in the local database',
{
limit: z.number().optional().default(20).describe('Max items to return'),
},
async ({ limit }) => {
const items = await db.items.limit(limit).toArray()
return {
content: [{ type: 'text', text: JSON.stringify(items, null, 2) }],
}
}
)
Stdio Transport
typescript
async function main() {
const transport = new StdioServerTransport()
await server.connect(transport)
}
main().catch(console.error)
Claude Desktop Config
json
{
"mcpServers": {
"launchpad": {
"command": "npx",
"args": ["-y", "launchpad-mcp"]
}
}
}

Tool Design Principles

  • One responsibility per tool
  • Clear, descriptive names (verb_noun pattern: list_items, get_item)
  • Zod schemas for all inputs — type safety + auto-documentation
  • Return human-readable text content for LLM consumption

References

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sakulapor/templateagents/mcp-server-patterns/badge)](https://verified-skill.com/skills/sakulapor/templateagents/mcp-server-patterns)

Something wrong with this skill or its page? Tell us.