prp-mcp-create

prp-mcp-create is a command for Claude Code from maike009/context-engineering-intro-CN. It costs 46 tokens per session (947 once invoked), scanned A, a copy of prp-mcp-create, MIT.

A command specification for creating a Product Requirement Prompt, a detailed build plan, for a Model Context Protocol server. It uses patterns from a server codebase and can include authentication, databases, and Cloudflare Workers deployment.

In plain words
What is it for?
Use it to plan MCP servers for specific use cases, including their tools, integrations, deployment, and authentication.
Why use it?
It turns a server idea into structured requirements and implementation guidance before development begins.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; mentions Claude Code.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/maike009/context-engineering-intro-cn/prp-mcp-create
Clone the repo
git clone --depth 1 https://github.com/maike009/context-engineering-intro-CN

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prp-mcp-create

README.md
[![agentmods](https://agentmods.dev/badge/commands/maike009/context-engineering-intro-cn/prp-mcp-create.svg)](https://agentmods.dev/commands/maike009/context-engineering-intro-cn/prp-mcp-create)
Your own site
<a href="https://agentmods.dev/commands/maike009/context-engineering-intro-cn/prp-mcp-create"><img src="https://agentmods.dev/badge/commands/maike009/context-engineering-intro-cn/prp-mcp-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 947 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00947
Opus 5 $0.00023 $0.00474
Sonnet 5 $0.00009 $0.00189
Haiku 4.5 $0.00005 $0.00095

Measured 6d ago against content hash e0c579970885, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

prp-mcp-create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to prp-mcp-create — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

use-cases/mcp-server/.claude/commands/prp-mcp-create.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Example usage: /prp-mcp-create weather-server "MCP server for weather data with API integration" Example usage: /prp-mcp-create file-manager "MCP server mirroring task master mcp"

---

# Create MCP Server PRP

Create a comprehensive Product Requirement Prompt (PRP) for building Model Context Protocol (MCP) servers with authentication, database integration, and Cloudflare Workers deployment.

Before you start ensure that you read these key files to get an understanding about the goal of the PRP:
PRPs/README.md
PRPs/templates/prp_mcp_base.md (This base PRP is already partially filled out based on the project structure but please finish it specific to the user's use case for an MCP server)

## Users MCP use case: $ARGUMENTS

## Purpose

Generate context-rich PRPs specifically designed for MCP server development, using the proven patterns in this codebase that is a scaffolding of a MCP server setup that the user can build upon, including GitHub OAuth, and production-ready Cloudflare Workers deployment.

None of the existing tools will likely be reused and the tools should be created for the users use case specifically tailored to their needs.

## Execution Process

1. **Research & Context Gathering**
   - Create clear todos and spawn subagents to search the codebase for similar features/patterns Think hard and plan your approach
   - Gather relevant documentation about MCP tools, resources, and authentication flows
   - Research existing tool patterns to understand how to build the users specified use case
   - Study existing integration patterns in the codebase

2. **Generate Comprehensive PRP**
   - Use the specialized `PRPs/templates/prp_mcp_base.md` template as the foundation
   - Customize the template with specific server requirements and functionality
   - Include all necessary context from the codebase patterns and ai_docs
   - Add specific validation loops for MCP server development
   - Include database integration patterns and security considerations

3. **Enhance with AI docs**
   - The use might have added docs in PRPs/ai_docs/ directory that you should read
   - If there are docs in the PRPs/ai_docs/ directory, review them and take them into context as you build the PRP

## Implementation Details

### PRP Structure for MCP Servers

The generated PRP uses the specialized template `PRPs/templates/prp_mcp_base.md` and includes:

- **Goal**: Clear description of the MCP server to be built with authentication and database integration
- **Context**: All necessary documentation including PRPs/ai_docs/ references and existing codebase patterns
- **Implementation Blueprint**: Step-by-step TypeScript tasks following Cloudflare Workers patterns
- **Validation Loop**: Comprehensive MCP-specific testing from compilation to production deployment
- **Security Considerations**: GitHub OAuth flows, database access patterns, and SQL injection protection

### Key Features

- **Context-Rich**: Includes all patterns and references using relative paths from this proven codebase
- **Validation-Driven**: Multi-level validation from syntax to production deployment
- **Security-First**: Built-in authentication and authorization patterns
- **Production-Ready**: Cloudflare Workers deployment and monitoring

### Research Areas

1. **MCP Protocol Patterns**
   - Tool registration and validation
   - Resource serving and caching
   - Error handling and logging
   - Client communication patterns

2. **Authentication Integration**
   - GitHub OAuth implementation
   - User permission systems
   - Token management and validation
   - Session handling patterns

## Output

Creates a comprehensive PRP file in the PRPs/ directory with:

- All necessary context and code patterns
- Step-by-step implementation tasks
- Validation loops for MCP server development

## Validation

The command ensures:

- All referenced code patterns exist in the codebase
- Documentation links are valid and accessible
- Implementation tasks are specific and actionable
- Validation loops are comprehensive and executable by claude code (IMPORTANT)

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 101 lines · 46 tokens per session scan A e0c579970885

Subscribe to this mod's changes

prp-mcp-create is a command published in the GitHub repository maike009/context-engineering-intro-CN (2 stars, last pushed 1y ago), licensed MIT. It adds 46 tokens to every session and 947 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to prp-mcp-create, differing in 0 lines, and is treated as a copy.