Skip to main content
Use this guide to connect OpenCode to the Sevalla MCP server at https://mcp.sevalla.com/mcp. After setup, OpenCode can call Sevalla MCP tools like search and execute from the same session.

Quick setup (CLI + OAuth)

OAuth is the recommended authentication method.
  1. Add a remote MCP server from the OpenCode CLI:
  1. In the interactive prompt, choose:
    • Type: remote
    • Name: sevalla
    • URL: https://mcp.sevalla.com/mcp
  2. Authenticate:
  1. Verify the server status:

Manual configuration (opencode.json)

You can configure MCP servers in:
  • opencode.json in your project root (project scope)
  • ~/.config/opencode/opencode.json (global scope)
If you need API key auth instead of OAuth:

Configuration scope

OpenCode merges config layers. Project config overrides conflicting values from global config.
  • Global scope: ~/.config/opencode/opencode.json
  • Project scope: opencode.json

Uninstall

  1. Run:
  1. Delete the sevalla entry from opencode.json in your project root.

Reference