OpenCode

Setting up the Hypris MCP server in OpenCode (Open source), step by step.

  • Open source
  • Terminal
  • OAuth sign-in
On this page

Hypris works in the OpenCode client as a remote MCP server. You sign in via OAuth 2.1 with the same account as in the app, without copying keys. The client discovers the authorization server on its own, opens the sign-in window, and on the consent screen you choose the workspace and access scope.

Setup

  1. Add the server to opencode.json in your project.

  2. Run opencode mcp auth hypris.

  3. Sign in to Hypris in your browser.

opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "hypris": {
      "type": "remote",
      "url": "https://mcp.hypris.com"
    }
  }
}

Check the connection

In OpenCode, type: “What databases do I have in Hypris?”. The client should call the search_tools tool, find the tool for listing databases and run it with execute_tool. If you see a list of your databases, the connection works.

When something doesn't work

  • 401 Unauthorized or a sign-in loop. Remove the server in the client, add it again and sign in once more. If the client lets you choose the authentication type, leave OAuth.

  • The assistant doesn't see a database or document. The server shows only what you have access to in the selected workspace. The assistant can ask the administrator for a missing permission with the create_permission_request tool.

  • Tools don't appear. Make sure the client supports the Streamable HTTP transport and that the address is exactly https://mcp.hypris.com.

What's next