CsKoushik9/TaskTrekMCP
If you are the rightful owner of TaskTrekMCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The TaskTrek MCP Server is a Model Context Protocol server designed to facilitate interaction between AI assistants and the TaskTrek project management system.
TaskTrek MCP Server
A Model Context Protocol (MCP) server for TaskTrek project management system that enables AI assistants to interact with TaskTrek programmatically.
Related Projects
- TaskTrek Web App: https://github.com/CsKoushik9/TaskTrek
- TaskTrek MCP Server: https://github.com/CsKoushik9/TaskTrekMCP
Architecture Flow
┌─────────────────────┐ ┌──────────────────────┐ ┌─────────────────────┐
│ AI Assistant │◄──►│ TaskTrek MCP │◄──►│ JSON Files │
│ (Claude, Cline) │ │ Server (stdio) │ │ (Data Storage) │
└─────────────────────┘ └──────────────────────┘ └─────────────────────┘
▲ ▲
│ │
▼ ▼
┌──────────────────────┐ ┌─────────────────────┐
│ MCP Tools │ │ TaskTrek Web App │
│ • create_task │ │ (React Frontend) │
│ • update_task │ │ • Visual Interface│
│ • list_tasks │ │ • Manual Editing │
│ • summarize_tasks │ │ • Analytics │
│ • create_project │ │ • Project Mgmt │
│ • list_projects │ └─────────────────────┘
│ • get_task │
└──────────────────────┘
Data Flow:
- AI Assistant sends commands via MCP protocol
- MCP Server processes requests and updates JSON files
- Web App reads from same JSON files for visual interface
- Bidirectional Sync - changes in either interface persist
Usage Patterns:
- AI-First: Use MCP server for automated task management
- Visual-First: Use web app for manual task management
- Hybrid: Switch between both as needed - data stays synced
Features
The TaskTrek MCP server provides the following tools:
1. create_task
Create a new task in TaskTrek with the following parameters:
title(required): Task titledescription: Task descriptionprojectId: Project ID (defaults to "default")type: Task type (bug, feature, enhancement)priority: Task priority (low, medium, high, critical)componentId: Component IDassigneeId: Assignee IDlabels: Array of task labels
2. create_project
Create a new project with:
name(required): Project namekey(required): Project key (e.g., "PROJ")description: Project description
3. update_task
Update an existing task:
taskId(required): Task ID to updatetitle: New task titledescription: New task descriptionstatus: New task status (screen, in-progress, code-review, code-complete, qa-verify, resolved)priority: New task prioritycomponentId: New component IDassigneeId: New assignee IDlabels: New task labels
4. list_projects
Get list of all available projects.
5. list_tasks
Get list of all tasks with optional filtering:
projectId: Filter by project IDstatus: Filter by statusassigneeId: Filter by assignee ID
6. get_task
Get detailed information about a specific task:
taskId(required): Task ID to retrieve
7. summarize_tasks
Get a summary of tasks with statistics:
projectId: Filter by project ID (optional)
Prerequisites
- Node.js (v14 or higher)
- npm or yarn
- TaskTrek Web App (optional, for visual interface)
Installation
- Clone the repository:
git clone https://github.com/CsKoushik9/TaskTrekMCP.git
cd TaskTrekMCP
- Install dependencies:
npm install
- Verify the server runs correctly:
npm start
VS Code Integration Setup
For detailed VS Code integration with Cline extension, see the file which provides:
- Step-by-step Cline extension installation
- MCP server configuration for VS Code
- Alternative Claude Desktop setup
- Test commands and troubleshooting
Quick VS Code Setup
- Install the Cline extension in VS Code
- Configure MCP server in Cline settings:
{
"mcpServers": {
"tasktrek": {
"command": "node",
"args": ["index.js"],
"cwd": "/path/to/TaskTrekMCP"
}
}
}
- Start the MCP server:
npm start - Test with: "List all projects" in Cline chat
Usage
Running the Server
npm start
Development Mode
npm run dev
Data Storage & Synchronization
The MCP server stores data in JSON files in the ../TaskTrek/data/ directory:
tasks.json: All tasksprojects.json: All projectscomponents.json: All componentsassignees.json: All assignees
Sync Behavior:
- MCP Server: Writes directly to JSON files
- Web App: Reads from JSON files on startup
- No Conflicts: Both interfaces can be used independently
- Data Persistence: Changes made in either interface persist
Running Both Interfaces:
# Terminal 1: Start MCP Server (for AI assistant)
cd TaskTrekMCP
npm start
# Terminal 2: Start Web App (for visual interface) - OPTIONAL
cd TaskTrek
npm start
Note: You don't need to run both simultaneously. Choose based on your workflow:
- AI-only: Just run MCP server
- Visual-only: Just run web app
- Hybrid: Run both and switch as needed
Integration with MCP Clients
This server can be integrated with any MCP-compatible client. The server communicates via stdio and provides structured responses for all operations.
Example Usage
Creating a Task
{
"tool": "create_task",
"arguments": {
"title": "Fix login bug",
"description": "Users cannot login with special characters in password",
"type": "bug",
"priority": "high",
"projectId": "default"
}
}
Updating a Task Status
{
"tool": "update_task",
"arguments": {
"taskId": "1234567890",
"status": "in-progress"
}
}
Getting Task Summary
{
"tool": "summarize_tasks",
"arguments": {
"projectId": "default"
}
}
Error Handling
The server provides detailed error messages for:
- Invalid task/project IDs
- Missing required parameters
- Validation errors
- File system errors
License
MIT License