https://mcp.sevalla.com/mcp as a remote server. Once connected, OpenCode can deploy, read logs and metrics, and manage your Sevalla services from the same session.
Before you begin
- A Sevalla account and a company to work in.
- OpenCode installed. See the OpenCode MCP docs for its own options.
Add the server
1
Add Sevalla
Add Sevalla under OpenCode merges both files. When they set the same key, the project file wins.
mcp in ~/.config/opencode/opencode.json (all projects) or in opencode.json at the root of a project (that project only):~/.config/opencode/opencode.json
2
Sign in
Run:Your browser opens the Sevalla dashboard: pick the company and the permissions, then click Authorize (what each choice means). OpenCode stores the token in
~/.local/share/opencode/mcp-auth.json.Check the connection
Runopencode mcp list to see sevalla and its status, and opencode mcp auth list to see whether it’s signed in. Start OpenCode and ask “List my Sevalla services”.
Use an API key instead
To skip OAuth, turn it off for the server and send an API key in a header.{env:SEVALLA_API_KEY} reads the key from an environment variable, so the file holds no secret:
~/.config/opencode/opencode.json
Remove the server
Sign out, then delete thesevalla entry from opencode.json:
"enabled": false.
Removing the server doesn’t delete the API key that sign-in created. To revoke it, delete the key under Tools > API keys.