On this page4 parts
Add the server
Run this command in a terminal:
opencode mcp add mana --url https://mcp.mana.scalarmind.comOpenCode opens your browser to sign in and confirm. The
mana_*tools appear from the next session.If your version has no mcp add
Add the server to
~/.config/opencode/opencode.json:{ "mcp": { "mana": { "type": "remote", "url": "https://mcp.mana.scalarmind.com" } } }
Then start OpenCode and sign in when it asks.
Then paste the prompt
Start a new session and paste this prompt. It tells the agent to read the standing instructions, which carry the rules your organization keeps.
The prompt · after Mana is connectedI have connected the Mana MCP server to this assistant. Call mana_standing_instructions and follow what it returns: it carries standard organization rules, and it says when to read it again.
If you would rather not type the command, ask the agent to run it for you, then start a new session and paste this.
Then store your first memory.
When the connection is lost
Your browser opens to sign you in. Then a confirmation page names the client and the address it returns to. If you have not accepted the terms of service yet, that page asks you to. The token renews itself.
When OpenCode says the connection was lost, run opencode mcp auth mana. Nothing in the store is lost.
Removing it
Remove Mana undoes the connection and anything the agent added to ~/.config/opencode/AGENTS.md.