Replit Add MCP server: connect Sume with an X-API-Key header
Replit's Add MCP server flow takes an HTTPS endpoint, optional custom headers and Test and save. Connect Sume's hosted MCP and confirm the tools load.

In Replit, choose Add MCP server, enter https://mcp.sume.com/mcp, open Advanced settings to add a header, and press Test and save. Replit's docs describe an HTTPS endpoint, custom headers such as X-API-Key, and Test and save completing OAuth when the server uses it. Sume accepts an API key as Authorization: Bearer or x-api-key, so both header styles work.
The Replit fields
| Field | What to enter for Sume |
|---|---|
| Endpoint | https://mcp.sume.com/mcp (HTTPS) |
| Advanced settings, custom header | x-api-key with your Sume key |
| Test and save | Connects and, with OAuth, completes sign-in |
Header or OAuth
With an API key header the agent sees the full tool set. With OAuth you consent on the MCP host: mcp:read is required, mcp:write is opt-in, and an attempt to write under read-only returns insufficient_scope. OAuth tokens are not API keys. Choose one method per connection.
Smoke test after saving
Ask the agent to list tools, or call them yourself.
mcp_healthandaccount_meconfirm the server and the account.tools_listandtools_schemashow argument names.catalog_listshows what you can generate.generate_imageandgenerate_videoare the router tools on hosted MCP;images_createandvideos_createare not on it.
Long jobs from a Repl
A render outlasts one MCP call. Use jobs_wait, which holds at most 55 seconds, default 50, and on wait_slice_expired call it again with the same ids. Do not resubmit the paid create. A 524 or 522 means transport failure, not a failed job. Keep the key in Replit Secrets rather than in code, and give every paid call its own idempotency_key.
Sources
Related posts
More in Integrations
- Runway MCP plus Sume MCP in one Claude Code setup: who does what
Runway added four Kling models to its MCP on 2026-09-18. Here is how a client can hold Runway and Sume MCP servers together and how to split the video jobs.
- Shopify fileCreate: 250 files per batch, 512-character alt text
Shopify's fileCreate takes 250 files per call and alt text up to 512 characters. Plan a batch of Sume product images around both limits and the error codes.
- Shopify fileUpdate previewImageSource: set a video poster
Set a poster on a Shopify video with fileUpdate previewImageSource. Pull one still from a Sume clip with video frames, and watch the one-field-per-call rule.
- Shopify productCreateMedia is deprecated: use productSet files
Shopify deprecated productCreateMedia in favor of productUpdate and productSet. See how to attach Sume images and what productSet deletes when you omit a list.
Written by Sume