Integrations

OpenCode

Share your agent rules with OpenCode.

Setup

1

Get an API key from your Credos account

2

Add a new remote MCP connection to your project

opencode.jsonc

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "Credos": {
        "type": "remote",
        "url": "https://mcp.credos.dev",
        "oauth": false,
        "headers": {
          "Authorization": "Bearer {env:CREDOS_MCP_API_KEY}",
          "Accept": "application/json, text/event-stream",
          "Credos-Release": "<release-name>"
        }
      }
    }
  }
}

3

Tell OpenCode to follow your agent rules via

AGENTS.md


© 2026 Credos