
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@n0zer0d4y/mercury-spec-ops
Advanced tools
A modular TypeScript Model Context Protocol (MCP) server for specialized software development analysis and prompt engineering with programmatic prompt assembly
The first MCP server to expose dynamic, AI-invocable tools for prompt generation and template assembly.
Transform how AI assistants interact with specialized content. Instead of static prompts and resources, Mercury Spec Ops provides 6 programmable tools that enable AI to dynamically generate technology-specific prompts and comprehensive templates on-demand. Built on a sophisticated modular architecture with 31 technology stacks, 10 analysis dimensions, and 34 template sections—all accessible through simple tool calls.
This MCP server provides a modular, extensible architecture with:
git clone https://github.com/n0zer0d4y/mercury-spec-ops.git
cd mercury-spec-ops
npm install
npm run build
npm run mcp
npm install -g @n0zer0d4y/mercury-spec-ops
Or use directly with npx (no installation required):
npx @n0zer0d4y/mercury-spec-ops
Configure the server in your MCP client (Claude Desktop, Cursor, etc.):
For Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"mercury-spec-ops": {
"command": "npx",
"args": ["-y", "@n0zer0d4y/mercury-spec-ops"]
}
}
}
For Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"mercury-spec-ops": {
"timeout": 60,
"type": "stdio",
"command": "npx",
"args": ["-y", "@n0zer0d4y/mercury-spec-ops"]
}
}
}
For Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"mercury-spec-ops": {
"command": "node",
"args": ["/path/to/mercury-spec-ops/dist/src/server.js"]
}
}
}
For Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"mercury-spec-ops": {
"timeout": 60,
"type": "stdio",
"command": "node",
"args": ["/path/to/mercury-spec-ops/dist/src/server.js"]
}
}
}
Windows Local Path Example (Cursor):
{
"mcpServers": {
"mercury-spec-ops": {
"timeout": 60,
"type": "stdio",
"command": "node",
"args": [
"C:\\Development\\Projects\\MCP-Servers\\mercury-spec-ops\\dist\\src\\server.js"
]
}
}
}
Important Notes:
npm run build firstcodebase-analysis-prompt with technology_stack: "node.js,typescript" and analysis_focus: "security,performance"resource://codebase-analysis-templatebug-analysis-prompt with technology_stack: "react", severity_level: "critical", and bug_type: "security"prd-prompt with project details and technology_stack: "react"prd-promptproject_name (required): Name of the software projectproject_description (required): Brief description of the projecttarget_audience (optional): Target audience for the product (enum values)project_type (optional): Type of project (enum values)key_features (optional): Key features to include in the PRDtechnology_stack (optional): Technology stack to be used (enum values)custom_instructions (optional): Custom instructions for PRD generationcodebase-analysis-promptrepository_path (required): Path to the repository to analyzetechnology_stack (required): Technology stack used in the codebase (enum values)analysis_focus (optional): Focus areas for analysis (enum values)custom_instructions (optional): Custom instructions for codebase analysisbug-analysis-promptrepository_path (required): Path to the repository with bugs to analyzebug_description (required): Description of the bug or issue to analyzeaffected_components (optional): Components affected by the bugseverity_level (optional): Severity level of the bug (enum values)bug_type (optional): Type of bug (enum values)technology_stack (optional): Technology stack used in the affected components (enum values)custom_instructions (optional): Custom instructions for bug analysisresource://prd-templateresource://codebase-analysis-templateresource://bug-analysis-templatesrc/
├── server.ts # Main MCP server implementation
├── types/
│ ├── enums.ts # All enum definitions (31 tech + 10 focus)
│ └── index.ts # Type definitions and exports
├── prompts/
│ ├── modules/ # 45 modular prompt components
│ │ ├── technology/ # 31 technology-specific modules
│ │ │ ├── languages/ # 11 language modules
│ │ │ ├── runtimes/ # 1 runtime module
│ │ │ ├── frameworks/ # 10 framework modules (3 frontend, 7 backend)
│ │ │ ├── databases/ # 4 database modules
│ │ │ ├── cloud/ # 3 cloud platform modules
│ │ │ └── tools/ # 2 DevOps tool modules
│ │ ├── analysis-focus/ # 10 focus-area modules
│ │ └── bug-severity/ # 4 severity-specific modules
│ ├── base-prompts/ # Base prompt templates
│ └── prompt-builder.ts # Programmatic prompt assembly
├── resources/
│ ├── templates/ # Modular template components
│ │ ├── prd/ # 10 PRD template modules
│ │ ├── codebase-analysis/ # 8 codebase analysis modules
│ │ └── bug-analysis/ # 4 bug analysis modules
│ └── template-builder.ts # Programmatic template assembly
└── __tests__/ # Comprehensive test suite (66 tests)
├── utils/ # Utility function tests (enum parser)
├── prompts/ # Prompt builder tests
├── resources/ # Template builder tests
└── types/ # Enum and type tests
The project includes a comprehensive test suite with 88% coverage:
# Run all tests
npm test
# Run tests in watch mode
npm run test:watch
# Run tests with coverage report
npm run test:coverage
# Run tests with interactive UI
npm run test:ui
# Test MCP integration
npm run test:mcp
Test Statistics:
npm run build
npm run lint
TechnologyStack enum in src/types/enums.tssrc/prompts/modules/technology/languages/src/prompts/modules/technology/frameworks/frontend/ or backend/src/prompts/modules/technology/databases/src/prompts/modules/technology/cloud/src/prompts/modules/technology/tools/TechnologyPromptModule interfaceindex.tsprompt-builder.tssrc/resources/templates/src/__tests__/AnalysisFocus enum in src/types/enums.tssrc/prompts/modules/analysis-focus/AnalysisFocusPromptModule interfaceanalysis-focus/index.tsprompt-builder.tsBugSeverity enum in src/types/enums.tssrc/prompts/modules/bug-severity/BugSeverityPromptModule interfaceContributions are welcome! Please follow these guidelines:
Report issues on GitHub Issues with clear reproduction steps.
This project is licensed under the MIT License - see LICENSE file for details.
FAQs
A modular TypeScript Model Context Protocol (MCP) server for specialized software development analysis and prompt engineering with programmatic prompt assembly
The npm package @n0zer0d4y/mercury-spec-ops receives a total of 35 weekly downloads. As such, @n0zer0d4y/mercury-spec-ops popularity was classified as not popular.
We found that @n0zer0d4y/mercury-spec-ops demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.