TaskTrek MCP Server

TaskTrek MCP Server

A Model Context Protocol server for TaskTrek that enables AI assistants to manage tasks and projects programmatically via JSON file storage.

Category
Visit Server

README

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

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:

  1. AI Assistant sends commands via MCP protocol
  2. MCP Server processes requests and updates JSON files
  3. Web App reads from same JSON files for visual interface
  4. 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 title
  • description: Task description
  • projectId: Project ID (defaults to "default")
  • type: Task type (bug, feature, enhancement)
  • priority: Task priority (low, medium, high, critical)
  • componentId: Component ID
  • assigneeId: Assignee ID
  • labels: Array of task labels

2. create_project

Create a new project with:

  • name (required): Project name
  • key (required): Project key (e.g., "PROJ")
  • description: Project description

3. update_task

Update an existing task:

  • taskId (required): Task ID to update
  • title: New task title
  • description: New task description
  • status: New task status (screen, in-progress, code-review, code-complete, qa-verify, resolved)
  • priority: New task priority
  • componentId: New component ID
  • assigneeId: New assignee ID
  • labels: 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 ID
  • status: Filter by status
  • assigneeId: 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

  1. Node.js (v14 or higher)
  2. npm or yarn
  3. TaskTrek Web App (optional, for visual interface)

Installation

  1. Clone the repository:
git clone https://github.com/CsKoushik9/TaskTrekMCP.git
cd TaskTrekMCP
  1. Install dependencies:
npm install
  1. Verify the server runs correctly:
npm start

VS Code Integration Setup

For detailed VS Code integration with Cline extension, see the vscode-genai-setup.md 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

  1. Install the Cline extension in VS Code
  2. Configure MCP server in Cline settings:
{
  "mcpServers": {
    "tasktrek": {
      "command": "node",
      "args": ["index.js"],
      "cwd": "/path/to/TaskTrekMCP"
    }
  }
}
  1. Start the MCP server: npm start
  2. 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 tasks
  • projects.json: All projects
  • components.json: All components
  • assignees.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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured