Fix MCP connection problems and limits
If your client asks you to authenticate, the token is missing or wrong, or the mailbox is blocked. If it says the agent can't sign in right now, check the agent in webmail. SCOPE_REQUIRED means a permission is off. RATE_LIMITED means too many requests, and the message says when to retry. A held send is waiting in Drafts.
When to use it
Rohit asks his assistant to move vendor mail to a folder and it reports SCOPE_REQUIRED. He turns on Move email for his agent password and asks again ten seconds later. It works.
Problems and fixes
| What you see | What it means and what to do |
|---|---|
| The client asks you to "authenticate" or opens an OAuth sign-in | The token is missing or wrong, or the mailbox is blocked (a new connection shows these the same way). Make the token again from your email and agent password, base64, with no spaces or line breaks, and check the header is Authorization: Bearer <token>. |
| A browser tab opens on mcp.xgenplus.com showing "Not Found" (Claude Desktop) | The sign-in was refused, so the bridge tried an OAuth sign-in, which is not supported yet. Make the token again, update the config and restart Claude Desktop. |
| The XgenPlus tools do not appear in Claude Desktop | Claude Desktop needs Node.js 18 or newer. In a new terminal, check that node --version shows 18 or newer and that npx --version works, then quit and reopen Claude Desktop. |
| "this agent can't sign in right now: it may be paused, expired or have Login off, or the account isn't eligible…" (HTTP 403) | A new connection was refused after the password was checked. Check the agent in webmail: resume it or tick Login. Otherwise contact support. |
Connection refused with HTTP 429 rate_limited |
Too many sign-in attempts. Wait for the time given and try again. |
Connection refused with HTTP 503 temporarily_unavailable |
The mailbox service is unavailable. Try again shortly. |
| Connection refused with HTTP 503 "Too many open sessions" | The mailbox has too many open connections, or the server does. Close other assistants or wait for idle ones to end, about 10 minutes. |
| "available only for mailboxes at …" (HTTP 403) | MCP is not enabled for your domain. Contact XgenPlus support. This is rare: MCP is on for every hosted customer on a paid plan. |
| "agent password changed; connect with the new token" | The agent's password was regenerated. Copy the new token and update it in each assistant that uses this agent. |
UNAUTHENTICATED |
The token was refused or has ended, or the agent was deleted (create a new one). Make the token again and connect again. |
SCOPE_REQUIRED |
That permission is off for your agent password. Turn it on in webmail. send_email means Send & Save, and send_save_email means Save to Drafts. If your screen still shows Send email and Send & save email, those are the same two permissions, in that order. |
SCOPE_REQUIRED naming domain_admin |
There is no such permission to turn on. Admin tools need a domain admin mailbox, so this mailbox cannot use them. Use an agent password from a domain admin mailbox. |
POLICY_DENIED |
For an assistant already connected: the agent is paused, has Login unticked or has expired, or the account, domain or account type is not eligible. Resume the agent or tick Login in webmail; otherwise contact support. Its sign-in is cached, so it can see this code for about 9 minutes. After that it gets the "can't sign in right now" refusal above. From find_free_time with attendees, it means checking colleagues is not switched on. |
BLOCKED |
For an assistant already connected: XgenPlus has blocked this mailbox or IP address from MCP. Its sign-in is cached, so it can see this code for about 9 minutes. A new connection fails like a wrong token. Contact support. |
RATE_LIMITED |
Too many requests, or the mailbox reached an hourly or daily limit. All its agents share these limits. The message says when to retry. Size limits give VALIDATION instead. |
NOT_FOUND |
The id is wrong, or belongs to something the agent cannot see. List again and use an id that was returned. For admin tools, the user may be in another domain. |
VALIDATION |
The request was wrong, for example a bad address, attachments over 10 MB in one call, a file type that is not allowed, or an idempotency_key reused for different content. The message says what to fix. |
| HTTP 413 | The request is far larger than the limits allow. Send less in one call. |
MAILSERVER_REJECTED |
The mail server refused the action. Contact support if it continues. |
UPSTREAM_UNAVAILABLE |
A temporary fault. Try again later. |
UPSTREAM_TIMEOUT |
The mailbox service did not answer in time. If this was a send, check Sent before trying again. |
INTERNAL |
An unexpected server fault. Try again, and contact support if it continues. |
| A send came back "held" | It is in Drafts. The result gives the reason. Review it and send it from webmail. |
| Result note "sent, but the copy could not be saved to Sent" | The mail did go out. Do not send it again. The copy is only missing from Sent. |
DELIVERY_UNKNOWN |
The connection dropped while sending. Check Sent before trying again. If the mail is not there, use a new idempotency_key; the same key is refused. |
SEND_IN_PROGRESS |
The same send is still running, or its outcome is unknown. Check Sent. If the mail is not there, use a new idempotency_key. |
BODY_UNAVAILABLE |
The action needed a stored message or attachment that could not be reached or is too large. Open it in webmail. |
| "stored message not available" | The stored copy of that message could not be reached, so the agent gets the headers without the body or attachments. Open it in webmail. |
| "message is too large for agent access" | The stored message is over the size limit below. Open it in webmail. |
| "this attachment type is not returned to agents" | The file name marks it as a blocked type. Open it in webmail. |
| "attachment too large for agent access" | The file is over 5 MB. Open it in webmail. |
| "the sender restricted …" | The sender limited deleting, replying to or forwarding that message. |
Limits
MCP is included in every XgenPlus plan, from Starter to Platinum, at no extra charge, and there is no charge per call. These usage limits apply instead.
All limits are per mailbox, so all of a mailbox's agents (up to 10) share them. Limits are set by XgenPlus and may change.
Requests
| What | Limit |
|---|---|
| Tool calls | 120 per minute, 1,500 per hour, 5,000 per day |
| Searches of mail, contacts and invitations, newsletters and storage, and admin lookups | 30 per minute |
| Mail searches at the same time | 2 |
Text searches (search_text) |
6 per minute, 60 per hour, two at a time |
| Requests at the same time | 4 |
| Open connections | 20 |
Searches also count as tool calls. Text searches also count as searches.
Sending and drafts
| What | Limit |
|---|---|
| Emails sent | 20 per hour, 100 per day |
| Recipients per email | 20, or your account's own limit if it is lower |
| Drafts saved | 30 per hour, including sends held for your review |
| Recipients per draft | 50 in total |
The hourly and daily limits are rolling. They count the last 60 minutes or the last 24 hours, and do not reset at midnight.
Messages and attachments
| What | Limit |
|---|---|
| Mail lists and searches | 20 messages per page. Ask for the next page to see more. Counts are not limited. |
| Search window | Last 180 days by default. Ask for an earlier date to go further back; there is no limit on how far. |
| Text search | Up to 5,000 messages per request, in the stored text of each message (the first 64 KB of a formatted body). Attachments are not searched. Without a sender, recipient or subject, the dates can be at most a year apart. |
| Bulk actions | 100 messages per request (Trash: 50) |
| Message body returned | Up to 50,000 characters |
| Messages per thread | The newest 25, as summaries |
| Stored message size | Up to 25 MB. Open larger messages in webmail. |
| Calendar window | 62 days for events, 14 days for free time |
| Attachment download | Up to 5 MB. Open larger files in webmail. |
| Attachments added | Up to 10 MB per request, 10 files at most |
| Draft size | Up to 15 MB in total |
If you reach a limit
The assistant gets a RATE_LIMITED error that says when to try again. Wait for that time and retry. Size limits give VALIDATION instead. Too many sign-in attempts give an HTTP 429 when connecting.
Common questions
How far back can MCP search my mail?
Searching by sender, recipient or subject covers the last 180 days by default, and there is no limit on how far back. Ask for an earlier date to go further. Text search, which finds words inside messages, covers at most a year at a time unless you name a sender, domain or subject.
What does the MCP BLOCKED error mean?
XgenPlus has blocked this mailbox or IP address from MCP. An assistant already connected sees BLOCKED for about 9 minutes, and a new connection fails like a wrong token. Contact support.
What does the MCP POLICY_DENIED error mean?
The agent is paused, expired or has Login unticked, or the account or domain is not eligible. Resume the agent or tick Login in webmail. Otherwise contact support.