Powers the REST API for project and task management, handling HTTP requests and routing for the application
Provides database storage for project and task management data, allowing persistent storage and retrieval of project information through Prisma ORM
Provides ORM capabilities for database operations, enabling type-safe database queries and migrations for the project tracker
Implements caching functionality for the project tracker API, improving performance for frequently accessed project and task data
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Project Tracker MCP ServerShow me all overdue tasks for project Alpha"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Project Tracker API with MCP Integration
A TypeScript-based REST API for project and task management with MCP (Model Context Protocol) integration, featuring enterprise-level AI agent capabilities.
π¨βπ» Author
Jatinder (Jay) Bhola - Engineering Leader & Tech Lead
π Location: Toronto, ON, Canada
π― Expertise: Cloud-Native & Event-Driven Architectures, Building Scalable Systems
"Engineering leader with 10+ years of experience improving developer workflows and scaling cloud-native systems. Proven track record in leading and delivering high-impact, customer-facing platforms and empowering engineering teams to build fast, resilient web applications."
Related MCP server: Backlog MCP Server
π Quick Start (For Interviewers)
One-Command Setup
# Clone the repo
git clone https://github.com/jatinderbhola/mcp-taskflow-tracker-api.git
# setup everything in one command
npm run setupThis will:
β Install all dependencies
β Start PostgreSQL and Redis services
β Create databases and run migrations
β Seed test data
β Build the project
β Run tests to verify everything works
Test the MCP Integration
# Start the API server
npm run dev
# In another terminal, test MCP
npm run mcp:test
# Interactive testing with MCP Inspector
npm run mcp:inspectorDemo Scenarios
Try these natural language queries:
"Show Alice's overdue tasks""Analyze Bob's workload""Assess risk for project Alpha"
π€ MCP Tools Available
Tool | Purpose | Example |
Natural Language Query | Process natural language queries |
|
Workload Analysis | Analyze team member capacity |
|
Risk Assessment | Assess project health |
|
π Project Structure
src/
βββ routes/ # API routes
βββ controllers/ # API route handlers
βββ services/ # Business logic layer
βββ models/ # Database models (single source of truth)
βββ middleware/ # API routing middleware
βββ mcp/ # MCP server implementation
β βββ tools/ # MCP tools
β βββ promptEngine/ # AI prompt processing
β βββ server.ts # MCP server
βββ config/ # Database and app configuration
βββ test/ # Test setup and utilities
βββ utils/ # Utility functionsπ Documentation
Technical Deep-Dive - Complete MCP implementation details
Production Guide - Enterprise deployment and scaling
Security Roadmap - Production security considerations
System Design
Top Level
![]()
High Level
![]()
Detail Level
Detailed internal processing pipeline and decision flow
![]()
API Documentation
Once the server is running, visit the interactive API documentation:
Swagger UI: http://localhost:3000/api-docs/
![]()
The Swagger documentation provides:
β Interactive API testing - Try endpoints directly from the browser
β Request/Response examples - See expected data formats
β Authentication details - Understand required headers and tokens
β Error responses - View possible error codes and messages
β Schema definitions - Complete data models for all endpoints
π οΈ Available Scripts
Development
npm run dev # Start development server
npm run build # Build for production
npm run mcp:start # Start MCP server
npm run mcp:test # Test MCP integration
npm run mcp:inspector # Interactive MCP testingDatabase
npm run prisma:generate # Generate Prisma client
npm run prisma:migrate # Run database migrations
npm run prisma:studio # Open Prisma StudioTesting
npm test # Run all tests
npm run test:unit # Unit tests only
npm run test:integration # Integration tests onlyπ§ Configuration
Environment Variables
Create a .env file if does not exists
cp .env.example .envβ οΈ Warning: THIS
.env.exampleIS CARRYING JUST DEFAUTL ENV KEYS TO KEEP IT SIMPLE FOR THE ASSESSMENT
Manual Setup (if needed)
# Create databases
createdb taskflow
createdb taskflow_test
# Install dependencies
npm install
# Run migrations
npm run prisma:migrate
# Seed test data
node scripts/seed-test-data.js
# Build and test
npm run build
npm run mcp:testπ Performance
Response Time: < 50ms for simple queries
Accuracy: 95%+ intent recognition
Scalability: 100+ concurrent requests
Cache Hit Rate: 85%+ for repeated queries
π― Assessment Ready
This implementation demonstrates:
β Modern AI Integration: MCP protocol with natural language processing
β Professional Code Quality: Clean TypeScript with proper error handling
β System Design Excellence: Layered architecture with clear separation
β Enterprise Features: Production-ready with comprehensive testing
β User-Friendly Design: Name-based queries instead of email addresses
π License
β οΈ Note: Portions of this codebase were co-authored with the help of AI-assisted code completion tools to accelerate development.
ISC