TaskMesh MCP Server

TaskMesh MCP Server

Enables AI IDEs to interact with TaskMesh task management and time tracking APIs through secure, scoped access tokens.

Category
访问服务器

README

TaskMesh MCP Server

This package implements a production-grade Model Context Protocol (MCP) Server for the TaskMesh platform, allowing AI IDEs (such as Cursor, VS Code, and Claude Desktop) to securely interact with the TaskMesh task management and time tracking APIs.

Features

  • Granular Scopes: Scoped access tokens (*, projects:read, issues:create, etc.) verified on every API request.
  • Runaway Prevention: Native rate limiting (token bucket) preventing AI agents from causing runaway loops and high load.
  • Audit Logging: Clean, structured JSON logs printed directly to stderr for visibility within your IDE debug panel.
  • Zero DB Logic Duplication: Proxies requests through the NestJS REST API, inheriting existing validation, permissions, and soft-delete states.

Installation & Setup

1. Build the MCP Server

Inside the mcp/ directory:

pnpm install
pnpm run build

2. Generate a Personal Access Token (PAT)

Currently, PATs are created via the database or by making an authorized POST request to /auth/tokens with a JSON body:

{
  "name": "Cursor IDE",
  "scopes": ["*"]
}

This returns a token prefixed with tm_ (e.g. tm_1d2e3f...). Copy this token.


IDE Configurations

Add the configuration block below to your IDE's MCP settings, making sure to use the absolute path to your dist/index.js file.

Cursor Settings

Open Cursor and navigate to Settings -> Features -> MCP. Click + Add New MCP Server:

  • Name: taskmesh
  • Type: command
  • Command:
node /absolute/path/to/task-mesh/mcp/dist/index.js
  • Environment Variables:
    • TASKMESH_API_URL: http://localhost:3001
    • TASKMESH_API_TOKEN: tm_<your_generated_token_here>

Claude Desktop Configuration

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "taskmesh": {
      "command": "node",
      "args": ["/absolute/path/to/task-mesh/mcp/dist/index.js"],
      "env": {
        "TASKMESH_API_URL": "http://localhost:3001",
        "TASKMESH_API_TOKEN": "tm_<your_generated_token_here>"
      }
}
  }
}

Option B: Remote / NPM Setup (Using npx)

If you publish this package to NPM (e.g. @task-mesh/mcp-server), you can configure the IDE to pull it automatically without cloning:

{
  "mcpServers": {
    "taskmesh": {
      "command": "npx",
      "args": ["-y", "@task-mesh/mcp-server"],
      "env": {
        "TASKMESH_API_URL": "https://your-api.domain.com",
        "TASKMESH_API_TOKEN": "tm_<your_generated_token_here>"
      }
    }
  }
}

Available Tools

The server registers tools divided into four domains:

📁 Projects

  • list_projects: Lists all organization projects.
  • get_project: Gets a project by UUID.
  • create_project: Creates a new project.
  • update_project: Updates a project's status, metadata, or dates.
  • delete_project: Deletes a project.
  • add_workflow_status: Adds a new status column (e.g., "In Review") to a project board.

📝 Issues

  • list_issues: Lists issues (filters by project, status, sprint, type, search term).
  • get_issue: Retrieves detailed issue state.
  • create_issue: Creates a new issue (type, description, estimate, priority).
  • update_issue: Updates title, description, status, sprint, estimate, or assignees.
  • delete_issue: Deletes an issue.
  • add_comment: Adds discussion comments.

🏃 Sprints

  • list_sprints: Lists all sprints for a project.
  • get_sprint: Gets sprint details.
  • create_sprint: Creates a planned sprint.
  • update_sprint: Updates sprint dates, goal, or status.
  • start_sprint: Moves a sprint from PLANNED to ACTIVE.
  • complete_sprint: Completes an active sprint and handles issue rollover.
  • delete_sprint: Deletes a sprint.

⏱️ Time Tracking

  • log_time: Submits manual work hours.
  • list_time_entries: Lists time logs with filter options.
  • get_active_timer: Checks for currently running stopwatches.
  • start_timer: Starts a timer on a specific issue.
  • stop_timer: Stops the current timer and saves it as a time entry.

task-mesh-mcp

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选