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.
npx agentmods add commands/network101/remote-mcp-server-with-auth/prp-mcp-creategit clone --depth 1 https://github.com/NETWORK101/remote-mcp-server-with-authWrote 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.
[](https://agentmods.dev/commands/network101/remote-mcp-server-with-auth/prp-mcp-create)<a href="https://agentmods.dev/commands/network101/remote-mcp-server-with-auth/prp-mcp-create"><img src="https://agentmods.dev/badge/commands/network101/remote-mcp-server-with-auth/prp-mcp-create.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.00979 |
| Opus 5 | $0.00023 | $0.00490 |
| Sonnet 5 | $0.00009 | $0.00196 |
| Haiku 4.5 | $0.00005 | $0.00098 |
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 5d 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.
This is a copy
86% identical to prp-mcp-create — 11 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.
How it starts
The opening of the file, as written. The whole thing — 110 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_cp_base.md
## 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)
## Integration with Existing Patterns
- Uses specialized MCP template from `PRPs/templates/prp_mcp_base.md`
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.
- 5d ago First seen · 110 lines · 46 tokens per session scan A b8b0e4fd0cb3
prp-mcp-create is a command published in the GitHub repository NETWORK101/remote-mcp-server-with-auth (0 stars, last pushed 1y ago), licensed MIT. It adds 46 tokens to every session and 979 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to prp-mcp-create, differing in 11 lines, and is treated as a copy.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.