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

# MCP Limits and Troubleshooting

> The rate and row limits of the Agent Golf MCP server, and how to correct sign-in and tool errors.

## Limits

### Rate limits

The server limits the tool calls of each user and of each workspace. Each server instance accepts about 8 tool calls each second from one user, and about 32 tool calls each second from one workspace. It also limits the tool calls that run at the same time. A busy server holds a call for up to 5 seconds.

A call over a limit gets HTTP `429 Too Many Requests` with a `Retry-After` header in seconds. The AI tool can call again after that time. Other requests, for example the list of tools, do not count.

### Row limits

Each tool returns a bounded result, so that a result fits in the context of the model. Each list tells how many rows it leaves out. To see other rows, narrow the question, for example with a shorter window, a repository, or a filter.

| Tool | Limit |
| - | - |
| `get_activity_report` | 10 tool categories. |
| `find_pull_requests` | `limit` rows, 100 at most. `next_cursor` gives the rows after them. |
| `explain_pull_request` | 10 sessions, 10 workflows, and 10 work items of each kind. It finds a pull request that GitHub updated in the last 360 days. |
| `find_problem_sessions` | `limit` rows, 25 at most, and about 18 KB of rows. Each row has 3 pull requests at most. It counts the omitted sessions up to 500 sessions of the window. |
| `explain_session` | 25 models, 10 phases, 10 failing tool calls, 10 pull requests, and 10 work items of each kind. The search for failing tool calls reads about 2,000 events. |
| `get_session_events` | `limit` events, 25 at most, and about 18 KB of events. The window is 3,600 seconds at most. The tool reads about 2,000 events of it. |
| `find_requests` | `limit` rows, 100 at most. |
| `list_rework_hotspots` | `limit` rows, 20 at most. |
| `explain_rework` | `limit` links, 25 at most, 10 paths for each link, and `limit` pull requests in `file_history`. |
| `get_roadmap` | `limit` rows of each list, 25 at most. |
| `explain_work_item` | `limit` children, pull requests, and sessions, 25 at most each. |
| `find_models` | `limit` rows, 25 at most. |

## Sign-in errors

| Symptom | Cause and correction |
| - | - |
| The sign-in page says that MCP clients are turned off for the workspace. | Remote MCP access is off for the workspace. Select another workspace, or ask a user with **Manage Remote MCP** to turn it on. See [Manage Remote MCP](https://docs.agent.golf/mcp/administration.md). |
| The sign-in page says that you cannot approve for the workspace. | Select a workspace in which you have a role. If your organization requires a second factor, set one up first. See [Two-Factor Authentication](https://docs.agent.golf/account/two-factor.md). |
| The sign-in page says that you belong to no workspace. | Ask an administrator of your organization for access to a workspace. |
| The sign-in page says that the request is not valid or expired. | The sign-in request waits 10 minutes. Start the sign-in again in the client. |
| The sign-in page says that your sign-in is more than a day old. | To approve, your dashboard sign-in must be less than 24 hours old. Sign in again, then select **Approve** again. |
| The sign-in page says that the approval failed. | Select **Approve** again. If it fails again, start the sign-in again in the client. |
| The sign-in page says that your role has none of the permissions that the client asks for. | Select another workspace, or ask an administrator for a role with one of the permissions in [Access](https://docs.agent.golf/mcp/access.md#access). |
| The sign-in page says that your permissions in the workspace changed. | Your role changed after the page opened. Select the permissions in the new list again. |

## Errors after sign-in

| Symptom | Cause and correction |
| - | - |
| The client shows that the server needs a sign-in, or that it needs authentication. | The sign-in ended, or someone revoked it. Sign in again. See [How long a sign-in lasts](https://docs.agent.golf/mcp/access.md#how-long-a-sign-in-lasts). |
| Each call fails with "Remote MCP access is turned off for this workspace." | An administrator turned off remote MCP access. Ask a user with **Manage Remote MCP** to turn it on, or sign in again and select another workspace. |
| Each call fails with "The membership in this workspace is not active." | You no longer have an active role in the workspace. Ask an administrator for access. |
| A tool says that it needs a permission, and this sign-in does not have it. | If your role has the permission, sign in again and select it. If not, ask an administrator for it. See [Permissions](https://docs.agent.golf/mcp/tools.md#permissions). |
| A session tool says that the workspace has no such session, or that another user owns it. | The tool gives one error for both cases. Check the conversation ID or the native session ID. Agent Golf has a session only after the uplink instance sends its telemetry, so wait and call again. The session of another user needs **View Team Sessions**: use a session with `can_open` true. |
| `find_pull_requests` says to give the same inputs as the call that returned the cursor. | Give the same `window`, `repository`, `state`, `planned`, `sort`, and `direction` with `cursor`. Only `limit` can change. See [`find_pull_requests`](https://docs.agent.golf/mcp/tools#find_pull_requests). |
| A tool says that no pull request of the repository is in the window. | Use a longer window, or one of the repositories that the error lists. |
| The client says "Too many MCP tool calls." | The calls went over a [rate limit](#rate-limits). Wait for the `Retry-After` time, and call again. |
| A tool says that the Agent Golf API is busy or unavailable. | Call again later, or use a shorter window. |
| The client lists no Agent Golf tools. | Check that the server URL is `https://mcp.agent.golf/mcp`, with no token or headers. Then sign in again. |


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