> For the complete documentation index, see [llms.txt](https://docs.autommate.com/userguide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autommate.com/userguide/mcp-and-ai-reference/connect-an-ai-client-with-mcp/verify-mcp-connection.md).

# Verify the MCP connection and troubleshoot

Use a read-only query before running an automation.

## First check

1. Confirm that the client completed the return from Autom Mate's OAuth approval page.
2. Enable/select Autom Mate in the conversation if the client requires it.
3. Ask: **“Show the Hyperflows I can access. Do not run or change anything.”**
4. Inspect the actual tool result. A returned list or a valid empty result confirms the read operation. A natural-language answer with no tool call does not check the connection.

## Find the right fix

| Symptom                                          | What to check                                                      | Next step                                                                                                                |
| ------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| Add/custom connection option missing             | Client plan and organization policy                                | Ask the AI workspace administrator to allow a custom remote MCP connection.                                              |
| Connection never opens Autom Mate                | URL, remote transport and OAuth selection                          | Use `https://mcp.autommate.app/mcp`, Streamable HTTP and OAuth.                                                          |
| Workspace rejected                               | Short name versus full URL                                         | Enter `acme`, not `https://acme.autommate.app`.                                                                          |
| Microsoft sign-in does not finish                | Autom Mate authentication method                                   | Choose **Sign in Using Credentials**.                                                                                    |
| OAuth callback/registration rejected             | Client version and supported OAuth registration                    | Use the client's current release and documented CIMD path; send the exact error to support if it persists.               |
| Signed in, but a tool returns `401 Unauthorized` | Tool name, current user, module permission and connection state    | Check the user's Autom Mate permission; reconnect if authorization has expired. Do not assume the whole service is down. |
| Tool list is missing or outdated                 | Cached client capabilities                                         | Refresh/reconnect the Autom Mate connection to retrieve its tools.                                                       |
| Discovery succeeds but returns no records        | User scope and search filters                                      | Verify which records that user can view in Autom Mate; broaden only the search filters.                                  |
| Discovery works but running fails                | Trigger type, required inputs, execute permission, client approval | Use an existing API/webhook Hyperflow and its declared input contract.                                                   |

## When to stop retrying

A missing permission needs an administrator, not repeated calls. A timed-out execution may still have started: check [run history](https://docs.autommate.com/userguide/mcp-and-ai-reference/track-run-status-and-verify-results.md) before submitting it again. See [error handling](https://docs.autommate.com/userguide/mcp-and-ai-reference/agent-behavior-errors-missing-information-and-safe-interpretation.md) for developer guidance.

## Ask for help

Send **<support@autommate.com>** the AI client and version, Autom Mate version, workspace name, failing step, tool name, exact error and timestamp with timezone. Include a screenshot with secrets removed. Never send passwords, OAuth tokens or session cookies.

To stop using the connection, disconnect/revoke it in the AI client. Autom Mate role changes also affect subsequent tool calls. Do not assume hiding a tool in one conversation revokes the connection itself.
