# Connect to MobiMatter with MCP Use a compatible AI assistant to search and compare travel eSIMs. Optionally connect your MobiMatter account to list your eSIMs and check their remaining data and validity. ## Connection - Server URL: https://mobimatter.com/mcp - Transport: Streamable HTTP - Public discovery: no account, API key or client secret required. - Account access: sign in to MobiMatter in your browser and approve the requested read-only permissions. The MCP server provides discovery and account information. Complete purchases on MobiMatter; connecting a client does not authorize a purchase or payment. ## Claude Code Add the server from your terminal (user scope makes it available across your projects): ```sh claude mcp add --transport http --scope user mobimatter https://mobimatter.com/mcp ``` Open Claude Code and run /mcp to check the connection. Try: "Find a travel eSIM for Japan for 7 days." For account tools, run /mcp, select mobimatter and authenticate. Complete MobiMatter's passwordless email sign-in and approve access in the browser. Use the same account that holds your eSIMs. Then try: "List my MobiMatter eSIMs and check my remaining data." If your client does not automatically prompt for sign-in when you request account information, start authentication from its MCP connection settings. Being connected for public discovery does not mean your account is linked. Claude Code's MCP documentation: https://code.claude.com/docs/en/mcp ## Other MCP clients Add a remote Streamable HTTP server with the URL above. For account access, the client must support authorization code with PKCE S256, resource indicators and public-client authentication (token_endpoint_auth_method: none), plus one of: - An HTTPS Client ID Metadata Document: a canonical HTTPS URL on port 443 with a non-root path and no credentials, query or fragment. Its client_id must match its URL. Publish the client name, redirect URIs, grant types, response_types containing code and token_endpoint_auth_method set to none. - Dynamic client registration using the registration_endpoint in authorization-server metadata. - An existing registration configured specifically for that integration. Redirect URIs must be HTTPS or HTTP loopback (localhost, 127.0.0.1 or [::1]). HTTPS callbacks match exactly. Loopback HTTP callbacks may vary by port; their host, path and query must still match. Custom URI schemes are not supported. Request only the read scopes needed: esims:read for owned eSIMs and usage:read for usage. Include refresh_token in registered grant_types if refresh tokens are needed; authorization_code alone does not receive a refresh token. Registration does not grant access to anyone's account: each user must sign in and consent. OAuth support alone does not guarantee compatibility. Client configuration and authentication prompts differ. ## OAuth discovery Use these metadata documents to discover the current endpoints and capabilities: - Protected resource metadata: https://mobimatter.com/.well-known/oauth-protected-resource/mcp - Authorization server metadata: https://mobimatter.com/.well-known/oauth-authorization-server - Issuer: https://mobimatter.com - Resource identifier: https://mobimatter.com/mcp - Authorization endpoint: https://mobimatter.com/chatgpt/oauth/authorize - Token endpoint: https://mobimatter.com/chatgpt/oauth/token - Registration endpoint: https://mobimatter.com/chatgpt/oauth/register - Revocation endpoint: https://mobimatter.com/chatgpt/oauth/revoke The /chatgpt/oauth/ paths are shared authorization endpoints for supported MCP clients, including clients other than ChatGPT. Use your client's metadata URL or issued client ID; do not reuse another integration's registration. llms.txt helps assistants discover this integration. Clients use the OAuth metadata documents for protocol discovery. ## Disconnect and troubleshoot Use your client's disconnect or revoke control where available. You can also revoke AI assistant access through MobiMatter's connection management page: https://mobimatter.com/connect/chatgpt-manage For an expired or failed login, start a fresh authorization flow from the client rather than reusing an old browser URL. For help, contact support@mobimatter.com and include your client name and the error message, but never send access tokens, refresh tokens or email verification codes.