> ## Documentation Index
> Fetch the complete documentation index at: https://help.nextmatter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP server for AI agents

> Connect an AI agent such as Claude or ChatGPT to your workspace so it can look up your workflows and start them for you.

The Next Matter MCP server lets an AI agent work with your workspace. Once you connect it, you can ask the AI agent in plain language to find a workflow, explain its steps, or start it, without opening Next Matter.

The AI agent acts as you. It can only see and do what your own role and workflow access allow in the workspace you choose.

> [!NOTE]
>
> The MCP server is in beta and rolling out to workspaces gradually. The MCP structure is expected to change during the beta phase including potential breaking changes to how you and your AI agents use it. If your workspace isn't enabled yet, it doesn't appear in the **Workspace** list when you connect. Contact Next Matter support to request beta access.

## What an AI agent can do

Once connected, an AI agent can:

* Tell you who you are in the workspace: your name, role, and teams.
* List the workflows you can see, and open one to explain who leads it, its steps, who does each step, and its deadline rules.
* Find people, teams, and dropdown values by name, so it can fill in the right ones when it starts a workflow.
* Start a workflow as you, if your role includes **Start workflows**. Most AI agents ask you to confirm before they do.

> [!WARNING]
>
> Starting a workflow works like starting it yourself: people are notified and automations run. You can't undo that, so check what the AI agent is about to start before you confirm.

An AI agent can't:

* See running workflows, their statuses, or their deadline dates.
* Create, edit, or publish workflows. It always starts the latest published version, never unpublished edits.
* Show a workflow's step conditions or step settings. It gives you a link to open the workflow in Next Matter instead.
* See anything in a workspace you didn't choose when you connected.

## Before you begin

* Use an AI agent that can connect to a remote MCP server with sign-in, for example Claude or ChatGPT. Whether you can add a custom connector depends on your AI agent's plan and your organization's settings in that agent.
* Be a member of a workspace that has the MCP server turned on.
* Have access to workflows in the workspace. To list workflows, your role needs **Show Workflows pages**. To start them, it also needs **Start workflows**. Admins can check this under **Company > Roles**. See [Custom roles](https://help.nextmatter.com/docs/custom-roles.md).

## Connect an AI agent to your workspace

1. In your AI agent, add a custom connector, sometimes called a remote MCP server.
2. Enter the Next Matter server address: `https://core.nextmatter.com/mcp`.
3. Start the connection in your AI agent. A Next Matter page opens. If you're not signed in, sign in to Next Matter first.
4. Next to **Workspace**, select the workspace the AI agent should work in.
5. Click **Allow**.

![Image of the Next Matter consent page asking to allow Claude to access Next Matter, with a Workspace dropdown and Cancel and Allow buttons](https://mintcdn.com/nextmatter/Xl_biarJHFWuemsX/images/docs/mcp-consent-page.png?fit=max\&auto=format\&n=Xl_biarJHFWuemsX\&q=85\&s=fc642fad07f49538c8ae7727209b9acd)

> [!NOTE]
>
> The connection is for one workspace. To use the AI agent with another workspace, connect it again and select that workspace.

After you click **Allow**, you return to your AI agent. Ask it something to check the connection, for example:

* "Which workspace am I connected to?"
* "List my workflows."
* "Explain the steps in the employee onboarding workflow."
* "Start the equipment request workflow for Anna in Finance."

## Stay in control

* **Check who is asking.** The consent page names the AI agent and the site it comes from. Click **Allow** only if you trust it.
* **Stop access.** To stop an AI agent from using your workspace, remove the connector in that agent.
* **Keep roles tight.** The AI agent can't do more than the person who connected it. To limit what it can do for someone, give them a role with fewer permissions. See [Custom roles](https://help.nextmatter.com/docs/custom-roles.md).

## Troubleshoot the connection

> [accordion] My workspace isn't in the Workspace list
>
> The MCP server isn't turned on for that workspace yet. Contact Next Matter support to request beta access.

> [accordion] The AI agent keeps sending me back to sign in
>
> Sign in to Next Matter in the same browser first, then start the connection in your AI agent again.

> [accordion] The AI agent says the server isn't found or the connection stopped working
>
> Remove the connector in your AI agent, add it again, and select your workspace when you connect. If the problem continues, the MCP server may have been turned off for your workspace.

> [accordion] The AI agent says I made too many requests
>
> Requests from AI agents are rate limited. Wait a little and try again.

> [accordion] The AI agent can't list or start a workflow I can see in Next Matter
>
> The AI agent uses your role. Check that your role includes **Show Workflows pages**, and **Start workflows** to start a workflow. A workflow that has never been published can't be started.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.