Connect OpenCode to Adafruit IO
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 Adafruit IO
A preset of real Adafruit IO operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Adafruit IO
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
Adafruit IO
20 toolsGet the identity belonging to the supplied account key.
Get the account's data rate limit and current usage.
List one API page of feeds and their latest values.
Read feed settings and its latest value.
Read feed settings, sharing and stored-data details.
Create a feed, optionally in a selected group.
Update selected feed properties without replacing its data.
Permanently delete a feed and its stored data.
Read one page of data; use next_end_time for an older page.
Read a selected data point.
Append a data point to a feed; this can activate feed automations.
Update the value and optional location of a stored data point.
Permanently delete a selected data point.
Read the newest point and move the API queue pointer to the end.
Read the oldest point and move the API queue pointer to the beginning.
List one API page of groups with their feeds.
Read a group and its feeds.
Create a named group for organizing feeds.
Update a group's name or description.
List one API page of feeds belonging to a group.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use Adafruit IO with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Adafruit IO wired in as tools. Connect your account and run.