# Discover Mcp

> Automatically discover MCP (Model Context Protocol) skills when building MCP servers, designing tools, implementing resources/prompts, or testing MCP integrations. Activates for MCP server development tasks.

- **Type:** Skill
- **Install:** `agentstack add skill-rand-cc-polymath-discover-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [rand](https://agentstack.voostack.com/s/rand)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [rand](https://github.com/rand)
- **Source:** https://github.com/rand/cc-polymath/tree/main/skills/discover-mcp

## Install

```sh
agentstack add skill-rand-cc-polymath-discover-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# MCP Skills Discovery

Provides automatic access to comprehensive MCP server development, tool design, and testing skills.

## When This Skill Activates

This skill auto-activates when you're working with:
- Building MCP servers (TypeScript or Python)
- Designing MCP tools, resources, or prompts
- Choosing MCP transports (stdio, SSE, Streamable HTTP)
- Implementing JSON-RPC 2.0 over MCP
- Testing MCP servers with Inspector or automated tests
- Debugging MCP protocol or transport issues
- Publishing or deploying MCP servers

## Available Skills

### Quick Reference

The MCP category contains 3 specialized skills:

1. **mcp-server-fundamentals** - Architecture, transports, tools/resources/prompts primitives, SDK setup
2. **mcp-tool-design** - Tool naming, schemas, error handling, annotations, progressive disclosure
3. **mcp-testing** - Inspector, unit tests, integration tests, transport debugging, CI/CD

### Load Full Category Details

For complete descriptions and workflows:

Read ../mcp/INDEX.md

This loads the full MCP category index with:
- Detailed skill descriptions
- Usage triggers for each skill
- Common workflow combinations
- Cross-references to related skills

### Load Specific Skills

Load individual skills as needed:

# Server architecture and setup
Read ../mcp/mcp-server-fundamentals.md

# Tool design and best practices
Read ../mcp/mcp-tool-design.md

# Testing and debugging
Read ../mcp/mcp-testing.md

## Common Workflows

### New MCP Server
**Sequence**: Fundamentals -> Tool Design -> Testing

Read ../mcp/mcp-server-fundamentals.md   # Architecture, transport, SDK
Read ../mcp/mcp-tool-design.md           # Design tool interfaces
Read ../mcp/mcp-testing.md               # Test with Inspector, CI

### Adding Tools to Existing Server
**Sequence**: Tool Design -> Testing

Read ../mcp/mcp-tool-design.md           # Naming, schemas, errors
Read ../mcp/mcp-testing.md               # Test new tools

### Debugging MCP Issues
**Sequence**: Testing -> Fundamentals

Read ../mcp/mcp-testing.md               # Inspector, transport debugging
Read ../mcp/mcp-server-fundamentals.md   # Lifecycle, capabilities

## Integration with Other Skills

MCP skills commonly combine with:

**API skills** (`discover-api`):
- MCP servers wrapping REST or GraphQL APIs
- Authentication for MCP tool backends

**Testing skills** (`discover-testing`):
- Comprehensive test strategies
- Contract testing patterns

**Infrastructure skills** (`discover-infra`, `discover-cloud`):
- Deploying MCP servers
- Scaling HTTP transports

## Progressive Loading

This gateway skill (~170 lines, ~1.5K tokens) enables progressive loading:
- **Level 1**: Gateway loads automatically (you're here now)
- **Level 2**: Load category INDEX.md (~2.5K tokens) for full overview
- **Level 3**: Load specific skills (~2-3K tokens each) as needed

Total context: 1.5K + 2.5K + skill(s) = 4-8K tokens vs 12K+ for everything.

## Quick Start Examples

**"Build an MCP server"**:
Read ../mcp/mcp-server-fundamentals.md

**"Design MCP tools for my API"**:
Read ../mcp/mcp-tool-design.md

**"Test my MCP server"**:
Read ../mcp/mcp-testing.md

**"Debug why my MCP tool isn't showing up"**:
Read ../mcp/mcp-testing.md

**Next Steps**: Run `Read ../mcp/INDEX.md` to see full category details, or load specific skills using the commands above.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [rand](https://github.com/rand)
- **Source:** [rand/cc-polymath](https://github.com/rand/cc-polymath)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-rand-cc-polymath-discover-mcp
- Seller: https://agentstack.voostack.com/s/rand
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
