MCP token expired
Error code
{
"code": "token_expired",
"message": "MCP Session Expired. Please generate a new token in the Developer Dashboard.",
"docUrl": "https://doc.mor.payments.ai/errors/token-expired"
}
HTTP status
401
Cause
The pai_mcp_* token passed the end of the duration chosen when it was generated (at most 7 days).
How to fix
Generate a new token in Developer Tools → MCP Tokens, on the same tab (Sandbox or Live) as the MCP URL your client uses, and replace the old one in your client config. See Manual: User MCP Key.