Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Mcp Server Development?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-mcp-server-development)
---
name: mcp-server-development
description: "Build Model Context Protocol servers with the official SDKs: tools, resources, prompts, stdio/HTTP transports, auth and testing."
tags: [ai-agents]
---
# Mcp Server Development
## When to use
- Exposing a service to Claude, Cursor or other MCP clients
## Procedure
1. Scaffold with the official TypeScript or Python SDK
2. Define tools with zod/pydantic schemas
3. Implement handlers with validation and timeouts
4. Add OAuth or token auth for remote servers
5. Test with MCP Inspector
6. Publish with pinned versions
## Example
```ts
server.registerTool('search_orders', {
description: 'Search orders by customer email or order ID. Use before refunding or answering order questions.',
inputSchema: { query: z.string().min(3), limit: z.number().int().max(50).default(10) },
}, async ({ query, limit }) => ({ content: [{ type: 'text', text: JSON.stringify(await orders.search(query, limit)) }] }));
```
## Checklist
- [ ] Descriptions tested with a real client
- [ ] No secrets logged
## Anti-patterns
- Huge tool outputs
- Unpinned dependencies in published servers