Developers
Model Context Protocol (MCP)
Connect AI agents and client applications to %APP_NAME% through the Model Context Protocol.
X Image Splitter provides a remote Model Context Protocol (MCP) server over Streamable HTTP, exposing identical capabilities to the REST API. Connected AI Agents can check Credit balances, estimate and start Seedream 5.5 generations, improve prompts, find Creations, hand images to the Image Splitter and submit Support Requests.
Connection endpoint
Configure your MCP client with the server endpoint:
https://ximagesplitter.com/mcpConnecting an account triggers OAuth authorization. Review the requested Scopes and confirm authorization. Once authorized, the client is registered under Account › Connected Apps, where access can be revoked at any time.
Public read operations (such as models and pricing) are accessible without authentication.
Authentication and security
- Protocol: MCP endpoints enforce OAuth 2.1 authentication exclusively. API Keys are rejected on
/mcp. - Resource indicator: Access tokens must target the
https://ximagesplitter.com/mcpresource. Metadata is published athttps://ximagesplitter.com/.well-known/oauth-protected-resource/mcp. - Scope validation: Invoking an action without the required Scope returns an
insufficient_scopeerror indicating the missing Scope. - Revocation: Removing a Connected App in account settings immediately revokes token validity.
Available tools
The server publishes standard tool definitions via tools/list:
| Domain | Tools |
|---|---|
| Product | get_product_profile, list_available_models, get_model_capabilities, estimate_generation_cost, get_pricing |
| Account | get_account_profile, update_account_profile |
| Credits | get_credit_balance, get_credit_history |
| Generation | create_generation, get_generation_status, list_generation_jobs, improve_prompt |
| Creations | list_creations, get_creation, update_creation_sharing, delete_creation |
| Uploads | create_upload_target, get_upload_status |
| Billing | list_orders, get_order, create_checkout, get_subscription, change_subscription, cancel_subscription |
| Support | create_support_request, submit_refund_request, get_refund_status, submit_feedback |
Each tool mirrors the corresponding REST API Integration Action. Webhook administration is not exposed via MCP; use Account › Webhooks or the REST API.
Execution model and human hand-offs
- Cost estimation: Clients should invoke
estimate_generation_costprior tocreate_generation. Generation Jobs execute asynchronously; clients pollget_generation_statusor listen for webhook notifications. - Prompt improvement:
improve_promptcosts 1 Credit, charged only when a suggestion is returned. Tell the user the cost and get their agreement before calling it, and send an idempotency key so a retry is charged once. - Image Splitter hand-off:
get_generation_statusandget_creationreturnsplitterLinks, one per finished image. Give the user the link; they open it signed in to the same account and the image is split in their browser. Splitting never runs on the server, and there is no splitting tool. - Financial operations:
create_checkoutreturns a URL where the user picks a payment method and pays for a Credit Pack themselves. Subscriptions are no longer sold;get_subscription,change_subscriptionandcancel_subscriptionexist only for subscriptions created earlier, and also return confirmation URLs. Agents cannot complete a payment. - Destructive operations:
delete_creationpermanently hides a Creation and revokes its Share Link.
Example prompts
How many credits do I have left, and when do they expire?Make a 16:9 panorama of a lighthouse coast at sunset in X Carousel Ready mode.
Tell me the price first, then give me the link to split it.Improve my prompt "five lipstick tubes in a row" if it costs 1 Credit.Protocol specifications
The server implements MCP protocol revision 2026-07-28 over Streamable HTTP (POST only, stateless). Clients register via Client ID Metadata Documents as described in Connected Apps & OAuth. Every response includes an x-request-id header for diagnostic tracing.
