Skip to content

OpenCode

Add this to your opencode.json:

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

OpenCode asks you to sign in the first time you use it. To sign in straight away:

Terminal window
opencode mcp auth famasi

Check it with opencode mcp list.

With a provider API key

{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"famasi": {
"type": "remote",
"url": "https://mcp.famasi.ai/mcp",
"oauth": false,
"headers": { "x-api-key": "{env:FAMASI_PROVIDER_API_KEY}" }
}
}
}

See Provider API keys.