Leiga MCP Server

Leiga MCP Server

Enables interaction with Leiga issue tracking system through MCP, allowing searching, creating, updating issues, and managing projects.

Category
访问服务器

README

Leiga MCP Server

A Model Context Protocol server for the Leiga Open API.

This server provides integration with Leiga's issue search system through MCP, allowing LLMs to interact with Leiga issues.

Installation

Manual Installation

  1. Create or get a Personal API Keys for your team: https://app.leiga.com/setting/api-key

  2. Add server config to Cursor Desktop:

{
  "mcpServers": {
    "leiga-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "leiga-mcp-server"
      ],
      "env":{
        "LEIGA_CLIENT_ID":"you client id",
        "LEIGA_SECRET":"you client secret"
      }
    }
  }
}

Components

Tools

  1. search_all_issues: Search issues with flexible filtering

    • Optional inputs:
      • query (string): Text to search in title
      • projectName (string): Filter by project name
      • status (string): Filter by status type
      • assignee (string):Filter by assignee's username
      • label (string): Filter by label
      • priority (string): Filter by priority
      • sprint (string): Filter by sprint name
      • workType (string): Filter by issue work type name
      • startAfterDate (string): Filter issues that start AFTER or ON this date (YYYY-MM-DD format)
      • startBeforeDate (string): Filter issues that start BEFORE or ON this date (YYYY-MM-DD format)
      • dueAfterDate (string): Filter issues that are due AFTER or ON this date (YYYY-MM-DD format)
      • dueBeforeDate (string): Filter issues that are due BEFORE or ON this date (YYYY-MM-DD format)
      • createdAfterDate (string): Filter issues that were created AFTER or ON this date (YYYY-MM-DD format)
      • createdBeforeDate (string): Filter issues that were created BEFORE or ON this date (YYYY-MM-DD format)
      • pageSize (number, default: 10): Max results
  2. get_issue_detail: Get issue detail by using issue ID or issue number.

    • Required inputs:
      • issueId (string): Issue ID or issue number
  3. my_assigned_issues: Retrieves my issues, specifically those assigned to the authenticated user.

    • Optional inputs:
      • query (string): Text to search in title
      • projectName (string): Filter by project name
      • status (string): Filter by status type
      • label (string): Filter by label
      • priority (string): Filter by priority
      • sprint (string): Filter by sprint name
      • workType (string): Filter by issue work type name
      • startAfterDate (string): Filter issues that start AFTER or ON this date (YYYY-MM-DD format)
      • startBeforeDate (string): Filter issues that start BEFORE or ON this date (YYYY-MM-DD format)
      • dueAfterDate (string): Filter issues that are due AFTER or ON this date (YYYY-MM-DD format)
      • dueBeforeDate (string): Filter issues that are due BEFORE or ON this date (YYYY-MM-DD format)
      • createdAfterDate (string): Filter issues that were created AFTER or ON this date (YYYY-MM-DD format)
      • createdBeforeDate (string): Filter issues that were created BEFORE or ON this date (YYYY-MM-DD format)
      • pageSize (number, default: 10): Max results
  4. list_project: Show project list with authenticated user, without inputs.

  5. create_issue:Creates a new Leiga issue.

    • Required inputs:
      • summary (string): Issue summary
      • projectName (string): Project name
    • Optional inputs:
      • description (string): Issue description
      • statusName (string): Issue status (e.g., 'Not Started', 'In Progress', 'Done' )
      • priority (string): priority name (e.g., 'Lowest', 'Low', 'Medium', 'High', 'Highest')
      • sprint (string): Sprint name
      • workType (string): Work type name (e.g., 'Story', 'Chore', 'Bug')
  6. get_issue_options: Get selectable option fields for an issue.

    • Required inputs:
      • issueId (string): Issue ID or issue number (e.g., 12345 or ABC-678)
  7. update_issue: Update an issue by ID or issue number.

    • Required inputs:
      • issueId (string): Issue ID or issue number (e.g., 12345 or ABC-678)
    • Optional inputs:
      • summary (string): New summary
      • description (string): New description
      • statusName (string): Workflow status name to set
      • priorityName (string): Priority name to set
      • assigneeName (string): Assignee name to set
      • labels (string[]): Label names to set
      • follows (string[]): Follower names to set
      • releaseVersionName (string): Release version name to set
      • dueDate (string | number): Due date (YYYY-MM-DD) or timestamp in ms
      • startDate (string | number): Start date (YYYY-MM-DD) or timestamp in ms
  8. list_issue_comments: List comments of an issue with pagination.

    • Required inputs:
      • issueId (string): Issue ID or issue number (e.g., 12345 or ABC-678)
    • Optional inputs:
      • pageNumber (number): Page number (default 1)
      • pageSize (number): Page size (default 20)
  9. create_comment: Create a comment or reply for an issue.

    • Required inputs:
      • issueId (string): Issue ID or issue number (e.g., 12345 or ABC-678)
      • content (string): Comment content
    • Optional inputs:
      • commentId (number): Comment ID to reply to (for replies)
  10. current_date: Get current date (local timezone).

  • No inputs.
  1. list_project_members: List members of a specific project.
  • Required inputs:
    • projectId (number): Project ID
  • Optional inputs:
    • keyword (string): Keyword to search members
    • pageNumber (number): Page number (default 1)
    • pageSize (number): Page size (default 20)
  1. list_org_members: List all organization members with optional search.
  • Optional inputs:
    • key (string): Keyword to search members
    • pageNumber (number): Page number (default 1)
    • pageSize (number): Page size (default 20)

Usage examples

Some example prompts you can use with Cursor Desktop to interact with Leiga:

  1. "Show me all my high-priority issues" → execute the my_assigned_issues tool to find issues assigned to you with priority is high

  2. "Show the detail of issue: XX-1" → use get_issue_detail tool to return the detail info of issue number is XX-1

  3. "Find all in progress issues" → use search_all_issues to locate issues with in progress task

  4. "list projects" -> use list_project to list all the projects you have access to.

  5. "create issue 'xxxx summary' in xxx project " -> use create_issue to help you create a issue.

  6. "show selectable fields for issue XX-1" → use get_issue_options with issueId: "XX-1" to list all option fields and their valid values

  7. "set XX-1 to Done and assign to Alice" → use update_issue with issueId: "XX-1", statusName: "Done", assigneeName: "Alice"

  8. "list comments for XX-1, page 2, 10 per page" → use list_issue_comments with issueId: "XX-1", pageNumber: 2, pageSize: 10

  9. "reply to comment 123 on XX-1: Looks good" → use create_comment with issueId: "XX-1", content: "Looks good", commentId: 123

  10. "what's today's date?" → use current_date to return the current local date

  11. "list members of project 456" → use list_project_members with projectId: 456

  12. "search org members by 'john'" → use list_org_members with key: "john"

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选