OpenCode · one connector
Publish to social from OpenCode.
OpenCode works with whatever model you bring. Add our server once and it can publish too, with as much or as little asking as you write into its rules.
OpenCode is an open-source coding agent that runs in the terminal as a TUI, with desktop and web clients beside it, and it works with whichever model provider you point it at. Its repository now lives under anomalyco, having moved from sst. Adding 1Social is one remote server: opencode mcp add with our address, or a remote entry under mcp.servers in opencode.jsonc, then opencode mcp auth to finish the sign-in in a browser. OAuth is on by default for remote servers, so there is no key to paste.
One thing is worth knowing before the first post. OpenCode starts every agent with a permission policy that allows every tool, MCP tools included, so unless you add a rule it publishes the moment the model decides to. A single rule with the effect ask on the publishing tool puts the pause back, and the read-only tools keep running freely. OpenCode also adds our server’s instructions to the system prompt, which tell the model to list your accounts and preview a post before publishing it.
By default OpenCode exposes a server’s tools through what it calls Code Mode, grouped under the server’s name, rather than on the model provider’s own tool list; its documentation says to set codemode to false on an entry whose tools must stay on that native list. We have not measured OpenCode publishing through us in either mode yet, and this page says so rather than guess. For unattended work, opencode run takes a prompt without the TUI, and a post it schedules waits in our queue, not on your machine.
Publishing from OpenCode
Drawn rather than captured — but every outcome in it is one this product really produces, refusals and waits included.
› Set me up — what do you need?
Just the accounts. Connect them in the browser once and I can publish from here after that.
› Done, connected
I will tell you before publishing if a network cannot take what you wrote.
› Good. Drafting the launch note now
Send it over and I will check it before anything goes out.
› post the launch note to bluesky, linkedin and instagram, but show me what each one gets before anything goes out
ask rule on publish_post · three accounts
Previewed all three first, which needed no approval. Here is where each one stands:
Instagram waits until you give me a picture. Allow the publish call and the other two go out.
Where to add it in OpenCode
opencode mcp add 1social with the address from our MCP page, then opencode mcp auth 1social · or a remote entry under mcp.servers in opencode.jsonc · /mcps inside the app
The address to paste is on the MCP page, printed from live configuration rather than typed into a document — so it cannot be out of date here while being correct there.
OpenCode, network by network
Bluesky from OpenCode
A post or a reply chain · from the TUI or opencode run
LinkedIn from OpenCode
Written from the diff · queued in your own timezone
X from OpenCode
Counted and priced first · one rule to make it ask
Threads from OpenCode
A separate Meta sign-in · one joined post · no undo from here
Instagram from OpenCode
Uploaded by path · shape checked before it goes
Facebook from OpenCode
Pages only · one project entry, separate sign-ins
TikTok from OpenCode
A path, not a drop · ask before it goes live
YouTube Shorts from OpenCode
Vertical from disk · landscape refused before upload
Pinterest from OpenCode
Images by path · board first · a model that can see
Telegram from OpenCode
Our bot posts · sign in over SSH with one paste
What OpenCode can do once it is connected
One command, or one config entry
opencode mcp add writes the remote entry for you, with --global to make it apply in every project, and opencode mcp auth opens the browser to sign in once.
A rule decides when it asks
Permission rules are an action, a resource and an effect, and the last match wins. One rule set to ask on publishing makes OpenCode stop before a post goes out.
Our instructions reach the model
OpenCode puts a server’s instructions into the system prompt, so the model is told to list accounts first and preview a post before it calls the publishing tool.
Scripts through opencode run
opencode run takes a prompt without opening the TUI, for scripts and CI jobs. A scheduled post is held by 1Social, so the job can exit as soon as the call returns.
How it works
Connect once
~2 minLink the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.
ChatGPT
Claude
Cursor
Ask, in your own words
one sentenceTell OpenCode to publish to every network you picked, now or on a day you name. No dashboard, no tab switch.
Read the receipt
per networkOne line per network — what landed, what failed and why, and what genuinely could not be determined.
Every tool is allowed until you write a rule
OpenCode gives every agent, custom ones included, an ordered base policy whose first rule allows any action on any resource; the only built-in exceptions ask before reading .env files. An MCP tool’s action is the server name and the tool name joined by an underscore, so with the server added as 1social, publishing is 1social_publish_post. Rules are combined in order and the last match wins, so an ask rule you add after the base policy takes effect. Without one, a request to post goes straight out, which suits a script and may surprise you at the keyboard. When a rule does ask, you can allow once, allow always for the project, or reject every pending request in the session.
A rule of OpenCode, not ours and not the network’s. From documentation, checked 2026-11-23.
When this is the wrong tool
If you would rather a client asked before every publishing call without any configuration from you, OpenCode is not that by default, and a chat app may suit you better. Nobody has measured OpenCode publishing through 1Social yet, Code Mode included, so treat this as documented, not proven. And for a job that sends identical text every time, a direct call to our API is simpler than a model run.
Questions people actually ask
How do I add 1Social to OpenCode?
Run opencode mcp add with a name such as 1social and the address from our MCP page, adding --global if you want it in every project, or write a remote entry under mcp.servers in opencode.jsonc yourself. Then run opencode mcp auth with the same name and finish the sign-in in the browser.
Why did OpenCode publish without asking me first?
Because its default permission policy allows every tool. Add a rule to the permissions list in opencode.jsonc with the action set to your server name, an underscore and publish_post, any resource, and the effect ask. Previews and account lists can stay allowed, so only the step that publishes waits for you.
Does 1Social add slash commands to OpenCode?
No. OpenCode turns MCP prompts into commands named after the server and the prompt, but our server offers tools only, so no such commands appear. To check on the server, sign in again or remove it, use /mcps inside OpenCode or the opencode mcp commands in your shell.
Does Code Mode change how OpenCode calls 1Social?
It changes how the tools are presented to the model: grouped under the server’s name instead of on the provider’s native tool list. We have not tested our tools in either mode from OpenCode. If calls to them go wrong, setting codemode to false on our entry is the documented way back to the native list.
Something else? Ask us — a person answers.
Read next
The MCP server and install snippets
The address for opencode mcp add
X from OpenCode
Where an ask rule pays for itself
LinkedIn from OpenCode
Scheduling when it only knows the date
Telegram from OpenCode
Signing in over SSH
Using it from Claude Code
Another terminal agent
Using it from Codex
Scheduling from an agent
Start where you already work.
Connect an account and post your first update in about two minutes. Every plan starts with a free trial.
Posts go out through each network’s official API — not scraping.