Skip to content
Back to skills

Mcp Server Development

ASecurity

Building Model Context Protocol servers — tools, resources and prompts design, JSON schemas and descriptions agents can use, transports (stdio, streamable HTTP), auth, pagination and errors, idempotency, testing with MCP clients and inspectors, versioning. Use to build or extend an MCP server (MCP server, tools, resources, tool schema, transport).

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsrustgotestingsecurity

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add vectora-os/kit --skill mcp-server-development --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mcp Server Development?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mcp Server Development
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectora-os-mcp-server-development/badge)](https://www.skillsdirectory.com/skills/vectora-os-mcp-server-development)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mcp-server-development
description: Building Model Context Protocol servers — tools, resources and prompts design, JSON schemas and descriptions agents can use, transports (stdio, streamable HTTP), auth, pagination and errors, idempotency, testing with MCP clients and inspectors, versioning. Use to build or extend an MCP server (MCP server, tools, resources, tool schema, transport).
metadata:
  category: ai
---

# MCP server development

## Purpose

Expose capabilities to agents through precise, safe MCP tools.

**Use when:** building or extending MCP servers.

**Not for:** approving new MCP connections (ADR + security review).

## Inputs

- Capabilities to expose, consumers, security requirements.

## Outputs

- Server code, schemas, docs, tests.

## Read first

- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "mcp server development"` for prior decisions, patterns and anti-patterns.
- [MCP review checklist](../../../checklists/mcp-review.md)
- [MCP integration](../../../integrations/mcp.md)

## Steps

1. **Tools.** Few, task-shaped tools with clear names and descriptions; read and write separated.
   Done when each tool has one purpose.
2. **Schemas.** Strict input schemas; bounded outputs; pagination.
   Done when invalid input rejected.
3. **Safety.** Auth, scopes, confirmations for destructive tools; mark external content as untrusted.
   Done when least privilege.
4. **Test.** Client tests incl. adversarial content.
   Done when tests pass.

## Best practices

- Descriptions are prompts — write them for the model.
- Return actionable errors.

## Common mistakes

- One giant tool with a mode parameter.
- Returning huge unpaginated payloads.

## Example

Incident tracker MCP: `search_incidents`, `get_incident`, `add_note` (requires confirm flag), OAuth read scope by default.

## Reusable prompt

```text
Apply the MCP server development skill (.agents/skills/mcp-server-development/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Design the tools, schemas and permissions for the MCP server and write tests including adversarial content.
Return: Server code, schemas, docs, tests..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.