> ## Documentation Index
> Fetch the complete documentation index at: https://docs.serin-ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect with OpenCode

> Add serin-mcp to your OpenCode configuration, install its skills, and authenticate with opencode mcp auth.

This page is about OpenCode specifically. For Claude, see [Connect Serin MCP to Claude](https://docs.serin-ai.com/serin-mcp/get-started/connect/claude.md); for Claude Code, see [Connect Serin MCP to Claude Code](https://docs.serin-ai.com/serin-mcp/get-started/connect/claude-code.md); for ChatGPT, see [Connect Serin MCP to ChatGPT](https://docs.serin-ai.com/serin-mcp/get-started/connect/chatgpt.md); for Codex, see [Connect Serin MCP to Codex](https://docs.serin-ai.com/serin-mcp/get-started/connect/codex.md); for Cursor, see [Connect Serin MCP to Cursor](https://docs.serin-ai.com/serin-mcp/get-started/connect/cursor.md).

## Before you begin

* A Serin recruiter account (candidate accounts can connect but see no tools).
* OpenCode installed.

## Connect Serin MCP to OpenCode

1. **Add the server.** Add the following to `~/.config/opencode/opencode.json` (global) or to `opencode.json` in your project:
   ```json theme={null}
   {
     "$schema": "https://opencode.ai/config.json",
     "mcp": {
       "serin": { "type": "remote", "url": "https://mcp.serin-ai.com/mcp", "enabled": true }
     }
   }
   ```
2. **Install the skills** that teach OpenCode how to use the tools safely:
   ```bash theme={null}
   npx skills add Blink-Analytics/serin-ai
   ```
3. **Authenticate:**
   ```bash theme={null}
   opencode mcp auth serin
   ```
   This opens a browser for the OAuth consent flow, including the organization picker if your account belongs to more than one.

You've now connected Serin MCP to OpenCode.

## Verify the result

* Ask OpenCode to list your organization's jobs (`list_organization_jobs`). A correct connection returns your actual job list, not an error.
* If tools don't appear or every call errors with "Not authenticated," run `opencode mcp auth serin` again and make sure you approve the consent screen rather than closing the browser tab.
* If you see "Not authorized: recruiter role required," you're connected but signed in as a candidate account — these tools are recruiter-only.

## Next steps

* [How Serin MCP connections work](https://docs.serin-ai.com/serin-mcp/overview/how-connections-work.md)
* [How Serin MCP tools work](https://docs.serin-ai.com/serin-mcp/overview/how-tools-work.md)
* [Quickstart](https://docs.serin-ai.com/serin-mcp/get-started/quickstart.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.