Connect Replit to thirds.ai
Give this prompt to your AI agent. The agent does the task for you.
Read https://thirds.ai/docs/mcp/replit and help me connect Replit Agent to thirds.ai with an API key
Use Replit Agent to build templates and create PDFs or images. Create an API key on the API keys page first. Each successful PDF or static image costs one credit.
Install the server
Go to replit.com/integrations and open MCP Servers. Click + Add MCP server. Use these values:
| Setting | Value |
|---|---|
| Name | thirds |
| Server URL | https://thirds.ai/mcp |
| Custom header | Authorization |
| Header value | Bearer YOUR_API_KEY |
Open Advanced settings to add the header. Do not start Replit's OAuth flow. Click Test & save. See Replit's Connect via MCP guide.
This is Replit Agent connecting out to thirds.ai. It is not the Replit MCP server that other clients connect to.
Check the connection
After Replit saves the server, ask Agent to list the thirds.ai tools. Replit loads a connected server across your projects.
Read the main MCP guide before you start paid work.
FAQ
Why does Test & save fail?
Check that the URL is https://thirds.ai/mcp and that the header is Authorization with Bearer and an active key. Replit needs a public HTTPS endpoint. Local stdio servers do not work.
Where do I put the API key?
Put it in the custom header value, not in the URL. Keep the key out of README files and install links.
Does connecting spend credits?
No. Connecting and listing tools don't spend credits. AI template work and successful renders can. Ask your agent to show the action and the cost before it starts paid work.