How to connect OpenAI API to Tesselith
Give your own OpenAI-powered agent Tesselith's tools with the Responses API's hosted MCP tool. OpenAI API talks to Tesselith’s MCP server, so it can draft, queue and schedule posts on every channel you’ve connected. Keep a human in the loop: publishing now and deleting always ask for your confirmation.
What do I need before connecting?
You need an OpenAI API key, a Tesselith API key and a Tesselith workspace on Pro, Team or Agency (every new workspace starts with a 14-day Pro trial) with at least one channel connected. OpenAI calls Tesselith's MCP server for you, so there's nothing extra to host.
1 · Connect · a few minutes
Run this
authorization is sent as the bearer token on every request; OpenAI doesn't store it.
2 · Ask · live in Tesselith
Ask OpenAI API to post for you
Also try:
- “Add every draft tagged launch to its channel's queue.”
- “Which channels have nothing scheduled this week?”
- “Upload this image URL and attach it to the Instagram draft.”
The setup at a glance
- Create a Tesselith API key
- Add the mcp tool to your request
- Handle approvals
- Test with a read-only call
One connection, every channel
Connect your accounts in Tesselith once. From then on OpenAI API can plan and schedule for any of them, and Tesselith publishes at the time you set, even after the conversation ends.
How do I connect OpenAI API to Tesselith, step by step?
1. Create a Tesselith API key
In Tesselith, open Settings → Developers, create an API key and tick only the scopes the agent needs. Keys start with tsl_live_ and are shown once, so store it in your password manager or a secret store. Give an agent the smallest set of scopes that does the job, for example read posts and create drafts.
2. Add the mcp tool to your request
Pass the server URL and your key as authorization. Use allowed_tools to expose only the tools your agent needs, which also keeps token use down.
3. Handle approvals
Approval is required by default. When the response contains an mcp_approval_request, show it to a person and reply with an mcp_approval_response. Skip approval only for read-only tools.
4. Test with a read-only call
Ask for your channels first. A list of your accounts means the key, scopes and URL are right.
What can OpenAI API do in Tesselith?
The server at https://api.tesselith.com/mcp exposes these tools. OpenAI API only gets the permissions you approve, and never more than your own role.
Why is OpenAI API not working with Tesselith?
Almost every failure is one of these. Tesselith returns a readable error, so asking OpenAI API“what went wrong?” usually points at the right row.
OpenAI API and Tesselith: frequently asked questions
OpenAI API’s own documentation: OpenAI docs.
