MCP Prompt Library
Provides templates and configuration instructions for GitHub Copilot to standardize AI-assisted coding with curated prompts and workflows.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Prompt Librarystart the new-feature chain"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Why This Exists
AI assistants are powerful, but they're only as good as the prompts you give them. Most developers:
Repeat the same prompts across projects
Forget effective prompts they used before
Struggle to compose complex multi-step workflows
Lack consistency in AI-assisted development patterns
MCP Prompt Library solves this by providing:
What | How |
110+ battle-tested prompts | Organized by development phase (planning, development, quality, operations, performance, maintenance, devex, security, evals) |
MCP server with 15 tools | Direct integration with Claude, OpenCode, Cursor, and any MCP-compatible client |
Smart suggestions | AI recommends prompts based on what you're doing |
Workflow chains | Multi-step guided processes for features, bugs, refactoring, security |
Composable snippets | Mix modifiers like |
Related MCP server: Harness Engineering MCP
Quick Start
š¦ Usage as npm Package (Best for Developers)
Install the library to use prompts programmatically in your own tools:
npm install @esreekarreddy/ai-promptsimport {
getPrompt,
searchPrompts,
composePrompts,
} from "@esreekarreddy/ai-prompts";
// 1. Get a specific prompt
const prd = getPrompt("prd-generator");
console.log(prd.content);
// 2. Search for prompts
const securityPrompts = searchPrompts("security");
// 3. Compose a custom prompt with modifiers
const complexTask = composePrompts([
"prd-generator",
"ultrathink",
"security-first",
]);š„ļø Usage as MCP Server (Best for Cursor/Claude)
1. Clone & Build
git clone https://github.com/esreekarreddy/mcp-prompt-library.git
cd mcp-prompt-library/mcp-server
npm install && npm run build2. Configure Your AI Tool
See Integrations for your specific tool (OpenCode, Claude Desktop, Cursor).
3. Start Using
Once connected, your AI assistant has access to all prompts:
"suggest prompts for what I'm doing"
"get the PRD generator prompt"
"start the new-feature chain"
"compose prd-generator with ultrathink"Features
Smart Intent Detection
Tell your AI what you're doing, and it suggests the right prompts:
You Say | It Suggests |
"I need to build a new feature" | PRD generator, new-feature chain |
"Stuck on a bug" | Deep debugger, debugging skill, bug-fix chain |
"Security review before launch" | Security audit, security-hardening chain |
"This code is a mess" | Code cleaner, refactoring skill, refactor chain |
"Complex architecture decision" | Megathink modifier, senior-engineer persona |
Workflow Chains
Multi-step guided workflows for complex tasks:
Chain | Steps | Use Case |
| 7 | From PRD to deployment |
| 7 | Systematic debugging to resolution |
| 6 | Safe refactoring with verification |
| 7 | Comprehensive security review |
| 7 | Pre-launch checklist to deployment |
# Start a chain
node dist/cli.js chains # List available chains
start_chain chain="new-feature" # Via MCP toolComposable Prompts
Combine any prompts with modifiers:
# CLI
node dist/cli.js compose prd-generator ultrathink security-first
# MCP Tool
compose_prompt items=["prd-generator", "ultrathink", "security-first"]Quick Modifiers
Instant prompt enhancers:
Modifier | Effect |
| Deep analysis with extended reasoning |
| Maximum thinking for architecture decisions |
| Harsh, unfiltered feedback mode |
| Systematic debugging approach |
| Planning mode - no code yet |
| Security-focused review |
| Explain like I'm 12 |
MCP Server
The MCP (Model Context Protocol) server exposes 15 tools to your AI assistant:
Library Tools
Tool | Purpose |
| Fetch any prompt by name (fuzzy matching works) |
| Search library by keywords |
| Smart suggestions based on your intent |
| Analyze request and suggest approach + relevant prompts |
| Save new prompts to the library |
| Library statistics |
| Random prompt for inspiration |
Chain Tools
Tool | Purpose |
| View available workflow chains |
| Begin a multi-step workflow |
| Advance to next step |
| View workflow progress |
| Jump to specific step |
Utility Tools
Tool | Purpose |
| Combine multiple prompts |
| Instant one-liner modifiers |
| Analyze project ā suggest stack-specific prompts |
How It Works
You: "Build a user authentication system"
ā
AI calls: suggest_prompts("Build a user authentication system")
ā
Returns: security-audit, new-feature chain, auth patterns
ā
AI calls: start_chain("new-feature")
ā
AI guides you through: PRD ā Architecture ā Implementation ā Testing ā DeployLibrary Contents
110+ curated resources across 8 categories:
mcp-prompt-library/
āāā prompts/ (38) - Copy-paste ready prompts
ā āāā planning/ PRD generator, scope killer, architecture
ā āāā development/ Debugger, code cleaner, tech debt
ā āāā quality/ Security audit, PR reviewer, changelog generator
ā āāā operations/ Observability, runbooks, incident helper, postmortem
ā āāā performance/ Profiler, load test planner, optimization guide
ā āāā maintenance/ Dependency upgrader, migration planner, tech spec
ā āāā devex/ Repo onboarding, CI fixer, codebase explainer
ā āāā security/ Prompt injection audit
ā āāā evals/ Response grader, consistency checker, quality rubric
ā āāā design/ Design system extractor
ā āāā analysis/ Deep debugger
ā āāā agentic/ Context manager, agentic loop, test-driven fix
ā āāā system/ Master system prompt for AI setup
āāā skills/ (8) - AI behavior definitions
ā āāā code-review, debugging, testing, refactoring, documentation...
āāā instructions/ (18) - Reusable system prompts
ā āāā personas/ Senior engineer, security expert, DevOps, UX
ā āāā standards/ TypeScript, React, Python, Go, Rust, FastAPI, Next.js
ā āāā workflows/ TDD, PR review, incident response, feature development
āāā templates/ (16) - Project scaffolding
ā āāā claude-md/ CLAUDE.md for Next.js, Python, Node.js, CLI tools
ā āāā cursor-rules/ .cursorrules for various stacks
ā āāā copilot/ GitHub Copilot instructions
ā āāā docs/ PRD, ADR, API spec, runbook templates
āāā chains/ (5) - Multi-step workflows
ā āāā new-feature, bug-fix, refactor, security-hardening, production-launch
āāā snippets/ (21) - Composable modifiers
ā āāā modifiers/ ultrathink, megathink, step-by-step, meta-cot
ā āāā output-formats/ JSON, markdown table, checklist, numbered list
ā āāā constraints/ Security first, MVP only, read-only, no external deps
ā āāā safety/ Fact-check, citation-required, uncertainty, injection-guard
āāā contexts/ (9) - Reference documentation
ā āāā stacks/ Next.js 14, FastAPI, Prisma
ā āāā patterns/ MCP server patterns, agentic coding
ā āāā guides/ API design, error handling
āāā examples/ (3) - Gold-standard samples
āāā PRDs, architecture docs, code reviewsIntegrations
OpenCode
Add to ~/.opencode/config.json:
{
"mcp": {
"ai-library": {
"type": "local",
"command": [
"node",
"/path/to/mcp-prompt-library/mcp-server/dist/index.js"
],
"enabled": true
}
}
}Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"ai-library": {
"command": "node",
"args": ["/path/to/mcp-prompt-library/mcp-server/dist/index.js"]
}
}
}Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"ai-library": {
"command": "node",
"args": ["/path/to/mcp-prompt-library/mcp-server/dist/index.js"]
}
}
}VS Code + GitHub Copilot
Copy the prompt files to your workspace:
cp -r .github/prompts /path/to/your-project/.github/promptsCLI Usage
Use the library directly from your terminal:
cd mcp-server
# Get a specific prompt
node dist/cli.js get prd-generator
# Search prompts
node dist/cli.js search "security"
# Get AI-powered suggestions
node dist/cli.js suggest "I need to refactor this messy code"
# Combine prompts
node dist/cli.js compose prd-generator ultrathink step-by-step
# View workflow chains
node dist/cli.js chains
# Library statistics
node dist/cli.js stats
# Random prompt for inspiration
node dist/cli.js randomDevelopment
cd mcp-server
npm install # Install dependencies
npm run build # Build TypeScript
npm run test # Run tests (114 tests)
npm run dev # Watch mode
npm run typecheck # Type checking onlyArchitecture
TypeScript - Full type safety
Vitest - 114 tests with fast execution
Zod - Runtime validation for configs
chokidar - Hot-reload when library files change
MCP SDK - Model Context Protocol integration
Contributing
See CONTRIBUTING.md for guidelines.
Ideas for contributions:
Add prompts that worked well for you
Add workflow chains for common tasks
Add coding standards for new languages/frameworks
Improve existing prompts with better examples
License
MIT - see LICENSE
Acknowledgments
Built with the Model Context Protocol by Anthropic.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA unified developer toolkit for AI-assisted workflows. Task timing, doc drift detection, env validation, secret scanning, port conflict resolution, AI context generation, and license auditing ā one MCP server, one install.Last updated73MIT
- Alicense-qualityBmaintenanceEnables AI coding environments to enforce engineering governance through MCP tools and resources for init, check, route, and review workflows.Last updated142MIT
- Alicense-qualityBmaintenanceEnables AI coding agents to perform surgical code analysis, semantic memory, and quality enforcement via 18 specialized MCP tools, with a real-time analytics dashboard.Last updated65MIT
- Alicense-qualityDmaintenanceEnables AI coding assistants to semantically search and retrieve relevant code patterns, documentation, and implementations from a codebase via MCP tools.Last updated6MIT
Related MCP Connectors
MCP server for AI agent profiles and smart notes. 60+ coding prompt packs with expert personas.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/esreekarreddy/mcp-prompt-library'
If you have feedback or need assistance with the MCP directory API, please join our Discord server