上下文管理器
STDIO用于管理开发上下文和工作流的服务器
用于管理开发上下文和工作流的服务器
A Model Context Protocol (MCP) server implementation for managing development context and workflow.
# Install dependencies npm install # First-time build npm run build
# Development mode (no build required, uses tsx for on-the-fly compilation) npm run dev # Production mode (requires build) npm start # Start with debug logging DEBUG=1 npm run dev # Start on specific port MCP_PORT=44558 npm run dev
# Run with hot reloading (preferred during development) npm run dev # Watch mode for TypeScript compilation (if you prefer running the compiled version) npm run watch # In a separate terminal when using watch mode npm start
If you encounter any issues, you can try a clean build:
# Remove build artifacts rm -rf dist/ # Reinstall dependencies npm ci # Rebuild the project npm run build # Start in development mode npm run dev
Message Framing
Transport Layer
Session Management
Tool Registry
Project Management
Work Package Management
Task Management
QA Tools
Environment variables:
DEBUG
: Enable debug logging (0/1)MCP_PORT
: Server port (default: 44557)The server implements the Model Context Protocol with JSON-RPC 2.0:
interface MCPMessage { jsonrpc: "2.0"; id: number; method?: string; // for requests params?: any; // for requests result?: any; // for responses error?: { // for error responses code: number; message: string; data?: any; }; }
See Initial Setup and Development Mode sections above.
ISC License