Connect OpenCode to AppStruct
Set up in minutes
Choose where it runs
On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in AppStruct
A preset of real AppStruct operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect AppStruct
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in. opencode mcp add only saves the config. OpenCode connects when it starts — run opencode, or restart a running one.
1. Run this in your terminal
2. Choose Remote and paste your server URL
3. Choose No when asked about OAuth authentication — the link itself is the key
<your-link> is your personal server URL — setup mints it for you.
Tools OpenCode gets
AppStruct
19 toolsList documents owned by the account.
Read a document as HTML and plain text.
Create a document with optional plain text and a library folder.
Apply ordered text and title edits to a document.
List spreadsheets owned by the account.
Read a spreadsheet and its tab metadata.
Add a tab to a spreadsheet.
Delete a tab from a spreadsheet by its ID.
Read cell formatting in one A1 range.
Read values from several A1 ranges.
Write several ranges in one spreadsheet save.
Read values from one A1 range.
Write values to one A1 range.
Append rows after the existing table in the supplied A1 range.
List presentations owned by the account.
Create a presentation with an optional slide outline.
Read slide text, layouts and speaker notes in a presentation.
Read one slide and the objects on it.
Apply ordered slide, text, speaker note or title edits.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use AppStruct with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with AppStruct wired in as tools. Connect your account and run.