mirror of
https://github.com/aljazceru/mentor-mcp-server.git
synced 2025-12-17 05:54:26 +01:00
Implements a Model Context Protocol (MCP) server that provides AI-powered mentorship and feedback tools. Core Features: - TypeScript implementation with ES modules - MCP server setup with stdio transport - Deepseek API integration with rate limiting and retry logic - Secure environment configuration management - Comprehensive utility functions for file and prompt handling Tools: - second-opinion: Provides critical analysis of user requests - Input validation - Rate limiting - Error handling - Sanitized inputs - Structured prompt templates Infrastructure: - Atomic design directory structure - Type-safe implementation - Proper error handling - Security measures (input sanitization, rate limiting) - Development scripts and configuration Security Features: - API key protection - Input sanitization - Rate limiting - Error message sanitization - Secure file path validation This implementation follows MCP best practices and provides a foundation for adding additional tools: - code-review - design-critique - writing-feedback - brainstorm-enhancements
17 lines
384 B
JSON
17 lines
384 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"outDir": "./build",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "build"]
|
|
}
|