A Model Context Protocol server designed to streamline LLM-based coding workflows with structured development processes.
The Vibe-Coder MCP Server provides a structured framework for feature development, enabling organized, clean, and safe coding practices. It offers tools for feature clarification, documentation generation, phased development, and progress tracking.
start_feature_clarification
: Initiates the feature clarification processprovide_clarification
: Answers clarification questions about a featuregenerate_prd
: Generates a Product Requirements Document and implementation plancreate_phase
: Creates a development phase for a featureadd_task
: Adds tasks to a development phaseupdate_phase_status
: Updates the status of a phaseupdate_task_status
: Updates the completion status of a taskget_next_phase_action
: Provides guidance on the next stepsget_document_path
: Retrieves the path of a generated documentsave_document
: Saves a document to a custom locationfeature-planning
: A prompt template for planning feature developmentThe server includes a hybrid document storage system that:
1. Automatically saves generated documents (PRDs, implementation plans) to files
2. Maintains an in-memory copy for quick access
3. Allows clients to retrieve document paths and save to custom locations
Documents are stored in the documents/{featureId}/
directory by default:
- documents/{featureId}/prd.md
: Product Requirements Document
- documents/{featureId}/implementation-plan.md
: Implementation Plan
Use the save_document
tool to save documents to custom locations:
{
"featureId": "feature-123",
"documentType": "prd",
"filePath": "/custom/path/feature-123-prd.md"
}
Retrieve document paths using the get_document_path
tool:
{
"featureId": "feature-123",
"documentType": "prd"
}
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
To use with compatible MCP clients:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"vibe-coder-mcp": {
"command": "/path/to/vibe-coder-mcp/build/mcp-server.js"
}
}
}
Use the MCP Inspector for debugging:
npm run inspector
The server is built using the McpServer
class from the Model Context Protocol TypeScript SDK. Example implementation:
import { McpServer, ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
// Create an MCP server
const server = new McpServer({
name: "Vibe-Coder",
version: "0.3.0"
});
// Add a resource
server.resource(
"features-list",
"features://list",
async (uri) => ({ /* ... */ })
);
// Add a tool
server.tool(
"start_feature_clarification",
{ /* parameters schema */ },
async (params) => ({ /* ... */ })
);
// Add a prompt
server.prompt(
"feature-planning",
{ /* parameters schema */ },
(params) => ({ /* ... */ })
);
// Start the server
const transport = new StdioServerTransport();
await server.connect(transport);
A MCP server designed to assist with Vibecoding.