Coding agents and editors
OpenCode + PostChamp for LinkedIn
Paste one connection URL into OpenCode. It can then write in your voice, plan your calendar and read your numbers. Before it schedules anything, it shows you a preview and waits for your yes.
Connection URL
https://api.postchampai.com/api/v1/mcpServer name: postchamp. Transport: Streamable HTTP. Sign-in: OAuth in your browser.
Steps checked against the OpenCode docs on .
Logos identify the products only and do not imply endorsement.
Before you start
In PostChamp
- Assistants are included on Creator, Pro and Studio. The trial that starts with a card includes it. The trial without a card does not.
- You must be an owner or admin of the workspace you connect.
In OpenCode
OpenCode installed.
Connect it
Add the server with the first command below. It is added to the current project. Add
--globalto make it available everywhere.Run
opencode mcp list. If it saysneeds authentication, run/mcpsinside OpenCode, choose the server and sign in. Or runopencode mcp auth postchamp.Sign in to PostChamp in the browser, choose the workspaces to share and approve.
Over SSH or in a container, copy the URL of the failed callback page from the address bar and paste it into the sign-in prompt.
Commands
opencode mcp add postchamp --url https://api.postchampai.com/api/v1/mcpopencode mcp listopencode mcp auth postchampConfig
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"servers": {
"postchamp": {
"type": "remote",
"url": "https://api.postchampai.com/api/v1/mcp"
}
}
}
}Check it works
Ask OpenCode this. It only reads your workspace list, so nothing changes and it costs nothing.
Use PostChamp to list my workspaces.You should see the name of each workspace you shared, with its time zone.
If it doesn't connect
The list says the server needs authentication.
Run
opencode mcp auth postchampand finish the sign-in.The browser cannot reach the callback.
Copy the URL of the failed callback page and paste it into the prompt in your terminal.
The browser sign-in says I cannot connect.
Only owners and admins of a workspace can connect an assistant to it, and the plan must include assistants. Sign in with an account that has that role. Check the account in Settings, Members.
Disconnect
Run
opencode mcp logout postchampto remove the stored sign-in, then delete the entry from the config.In PostChamp, open Settings and choose Assistants to disconnect it, so the sign-in is revoked.
What to ask
- Plan next week: three posts, one on each of my main topics. Show me the plan before you schedule anything.
- Write a LinkedIn post about what I learned from my last client project, in my voice.
- Check my newest draft for filler and weak lines, then suggest fixes.
- How did my posts do over the last 30 days? What worked best?
What it can do
Write
Draft, edit and save posts.
Research what works
Read PostChamp's library of popular posts.
Find people
Find and review people worth talking to.
Images, carousels and video
Make or attach images, carousels, PDFs and video.
Schedule
Preview, then schedule, move or cancel posts.
Your numbers
Recent posts, analytics and profile audits.
Your setup
Workspaces, voice, brand kit, knowledge base and credits.
The full list of tools, with what each one costs, is on the AI assistants docs page.
Safe by design
- It asks before it schedules. You see a preview and say yes, and a batch needs one yes for the whole batch.
- It never posts on the spot. There is no tool for that.
- There is no key to paste. You sign in in your browser, and the assistant gets a token you can revoke.
- You choose which workspaces it can see, and you can disconnect it at any time. It stops on its next request.
What it costs
Credits are charged as in the app, and only when the work succeeds. Reading, saving and scheduling are free.
| Action | Credits |
|---|---|
| Write a post (1 to 3 versions) | 5 |
| Generate an image | 25 |
| Create an AI carousel | 50 |
| Add or redraw a carousel slide | 10 per slideAt most 50 credits for one change |
More on billing and credits.
Free skills for OpenCode
Skills teach OpenCode how to do a LinkedIn job well. They work on their own, and better with PostChamp connected.
npx skills add https://postchampai.com --skill '*' -a opencode -gAll 24 skills are on the skills page.
Questions
Is OAuth on by default?
Yes. OpenCode uses OAuth for remote servers unless you turn it off, so you do not need to add anything for PostChamp.
Does OpenCode need an API key for PostChamp?
No. You sign in to PostChamp in your browser and approve access. There is no key to paste, and you can disconnect at any time.
Can OpenCode post to LinkedIn without asking me?
No. Scheduling shows a preview first and needs your yes. There is no tool that posts on the spot.
Who can connect PostChamp?
Only owners and admins of a workspace. The assistant can use only the workspaces you share when you approve.
Write your first post this week
Pick your voice
Add a few posts you like. Drafts start from how you write.
Draft and edit
Compare versions, change what you want and check for filler.
Schedule with a yes
Choose a time and confirm. Nothing goes out without it.
7‑day trial of Creator: 500 credits with a card, or 200 with no card. Cancel any time.