Specification MCP
A structured documentation system for project knowledge management via Model Context Protocol (MCP).
Overview
Specification MCP is an MCP server that helps teams create, manage, and access structured project documentation. It generates and maintains a set of interconnected Markdown documents that capture various aspects of project knowledge — from high-level goals to technical implementation and daily progress.
Features
- AI-Generated Documentation: Uses Gemini API to auto-generate comprehensive documentation.
- Structured Knowledge System: Maintains six core document types in a hierarchical structure.
- MCP Integration: Implements Model Context Protocol for seamless AI assistant integration.
- Customizable Directory: Allows users to choose the location for generated files.
- Document Templates: Includes ready-to-use templates (project brief, product context, etc.).
- AI-Assisted Updates: Manually update or regenerate documents with AI help.
- Smart Search: Context-aware search across all documents.
Installation
# Clone the repository
git clone https://github.com/Srhot/Specification-MCP.git
cd Specification-MCP
# Install dependencies
npm install
# Create .env file with your Gemini API key (optional)
echo "GEMINI_API_KEY=your_api_key_here" > .env
Usage
Development
npm run dev
Production
npm run build
npm run start
MCP Integration
To integrate Specification MCP with the Model Context Protocol (MCP), add this to your mcp.json
file:
{
"memoryBank": {
"command": "node",
"args": ["/path/to/Specification-MCP/dist/index.js"],
"env": {
"GEMINI_API_KEY": "your_gemini_api_key_here"
}
}
}
Replace
/path/to/Specification-MCP/dist/index.js
with the full path to your built file.
MCP Tools
initialize_memory_bank
Creates a new Memory Bank structure.
Parameters:
goal
(string): Project goal (min 10 characters)geminiApiKey
(optional): Your API keylocation
(optional): Path to create the memory bank
update_document
Updates a specific document.
Parameters:
documentType
: One of:projectbrief
,productContext
,systemPatterns
,techContext
,activeContext
,progress
content
(optional): New contentregenerate
(boolean): Use AI to regenerate?
query_memory_bank
Context-aware search across documents.
Parameters:
query
(string): Your search query (min 5 characters)
export_memory_bank
Exports documents to JSON or folder.
Parameters:
format
:"json"
or"folder"
outputPath
(optional): Export path
Document Types
projectbrief.md
: Project scope, goalsproductContext.md
: User-focused featuressystemPatterns.md
: Architecture & componentstechContext.md
: Technology stackactiveContext.md
: Current work, open tasksprogress.md
: History, milestones
License
MIT
Specification MCP
Project Details
- Srhot/Specification-MemBank-MCP
- Last Updated: 5/28/2025
Recomended MCP Servers
Self-hosted Browser Using Agent with built-in MCP, A2A support.
Things.app MCP Server
A MCP server to search for accurate academic articles.
A MCP server for LinkedIn to seamlessly apply for jobs
public server for mcp
MCP server to provide Sketch layout information to AI coding agents like Cursor
This read-only MCP Server allows you to connect to Snowflake data from Claude Desktop through CData JDBC Drivers....
Model Context Protocol Server agent debates
An open source implementation of the Claude built-in text editor tool
MCP Server for deepseek integration in Claude desktop