Leiga MCP server

Connect Leiga to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Leiga MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the list projects tool in Leiga
  • Use the query issues tool in Leiga
  • Use the update version tool in Leiga
  • Use the get issue tool in Leiga
  • Use the update issue tool in Leiga
  • Use the delete comment tool in Leiga

Supported Tools

list_projects

List Projects

List all projects in the Leiga workspace. Returns project names, keys, IDs, and archive status.

query_issues

Query Issues

Search and filter issues in a Leiga project. Supports pagination and flexible filter criteria for status, type, priority, assignee, sprint, and more.

update_version

Update Version

Update a version's name, owner, description, or dates. Leiga requires ownerId; call list_versions to find the current owner. The current name is retained when omitted.

get_issue

Get Issue

Retrieve detailed information about a specific issue by its ID or issue number. Returns all fields including summary, description, type, priority, status, assignee, dates, and more.

update_issue

Update Issue

Update an existing issue in Leiga. Modify any fields such as summary, description, priority, status, assignee, dates, story points, and custom fields.

delete_comment

Delete Comment

Delete a comment from an issue.

list_versions

List Versions

List one page of organization versions (releases). Returns version names, owner IDs, descriptions, dates, statuses, and total count.

create_version

Create Version

Create an organization version (release). Versions help organize work into release milestones. Leiga requires ownerId; call list_org_members to discover member IDs.

add_issue_relation

Add Issue Relation

Link two issues with a relationship type (e.g. "blocks", "is blocked by", "duplicates"). Creates a directional relation from the source issue to the destination issue.

list_project_members

List Project Members

List all members of a specific project with their roles.

add_comment

Add Comment

Add a comment to an issue. Optionally reply to an existing comment by specifying the parent comment ID.

create_sprint

Create Sprint

Create a new sprint in a Leiga project. Set the sprint name, goal, date range, and assignee.

delete_subtask

Delete Subtask

Delete a subtask from an issue.

create_tag

Create Tag

Create a new tag in a project for labeling issues.

list_tags

List Tags

List all tags in a project.

add_subtask

Add Subtask

Add a subtask to an existing issue. Subtasks can have their own assignee, due date, and estimate.

update_subtask

Update Subtask

Update a subtask's fields including summary, status, assignee, due date, or estimate.

update_sprint

Update Sprint

Update an existing sprint's name, goal, dates, or assignee.

delete_issue

Delete Issue

Delete an issue from a Leiga project. The issue will be moved to trash and may be restorable on paid plans.

delete_version

Delete Version

Delete an organization-wide version (release). Call list_versions to discover version IDs and confirm which organization version to remove.

list_epics

List Epics

List one page of epics in a project. Call list_projects to discover project IDs. Returns epic names, descriptions, IDs, and total count.

delete_tag

Delete Tag

Delete a tag from a project.

update_comment

Update Comment

Update the content of an existing comment.

delete_sprint

Delete Sprint

Delete a sprint from a project.

list_issue_types

List Issue Types

List available issue types for a project (e.g. Bug, Task, Story, Epic). Use this to get valid issue type IDs when creating issues.

delete_epic

Delete Epic

Delete an epic from a project.

create_epic

Create Epic

Create a new epic in a Leiga project. Epics group related issues together for larger feature or initiative tracking.

create_issue

Create Issue

Create a new issue (work item) in a Leiga project. Requires the project ID and issue type ID. Supports setting summary, description, priority, status, assignee, and other fields through the fields parameter.

list_sprints

List Sprints

List all sprints for a project. Returns sprint names, goals, dates, and statuses.

list_comments

List Comments

List one page of comments on an issue. Returns comment content, authors, timestamps, and total count.

remove_issue_relation

Remove Issue Relation

Remove a relationship between two linked issues.

list_org_members

List Organization Members

List one page of organization members. Use member IDs when assigning issues or choosing version owners.

manage_version_lifecycle

Manage Version Lifecycle

Change a version's lifecycle status. Supports releasing, cancelling a release, archiving, and unarchiving a version.

update_epic

Update Epic

Update an epic's name or description.

get_issue_schema

Get Issue Schema

Discover issue field codes, required fields, and valid option IDs for create_issue and update_issue. Call list_projects and list_issue_types to discover project and issue type IDs.

list_subtasks

List Subtasks

List an issue's subtasks with their IDs, assignees, dates, estimates, and completion state. Use the returned IDs with update_subtask or delete_subtask.

update_tag

Update Tag

Rename a project tag. Call list_tags to discover tag IDs.

Connect Leiga to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Leiga in Metorial. In your Metorial portal, enable the Leiga MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Leiga tools.

Run Leiga through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Leiga and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Leiga tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Leiga

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Jira

Create, read, update, and delete issues across projects. Search issues using JQL queries. Manage projects, boards, sprints, and epics for agile workflows. Log work time, add comments and attachments, and transition issues through workflow statuses. Create and manage project versions/releases, issue links, filters, and dashboards. Query users, groups, and permissions.

Technical notes for Leiga

Manage Leiga issues, subtasks, issue relations, sprints, epics, organization releases, comments, and tags. Discover accessible projects, issue types and schemas, and organization and project members.

Frequently asked questions

Common questions about connecting Leiga to AI agents with Metorial.

  1. How many tools does the Leiga MCP server have?
    The Leiga MCP server exposes 37 tools, including List Projects, Query Issues, Update Version. Each one is governed and traced through Metorial.
  2. Leiga exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Leiga MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Leiga and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Leiga MCP server yourself or use the hosted gateway.

Connect Leiga to production AI agents

See how Metorial gives your team governed access to Leiga, with tracing and security controls built in.