SERPHouseSERPHouse

OpenCode

Connect the SERPHouse MCP Server to OpenCode for native search provider capabilities.

OpenCode is an open-source AI coding assistant that supports Model Context Protocol (MCP) servers. By connecting the SERPHouse MCP Server, OpenCode can use SERPHouse as a native search provider.

Prerequisites

  • OpenCode installed
  • An active SERPHouse account
  • A valid SERPHouse API key

Configure the SERPHouse MCP Server

Edit ~/.config/opencode/opencode.json and add:

{
  "mcp": {
    "serphouse": {
      "enabled": true,
      "type": "remote",
      "url": "https://mcp.serphouse.com/YOUR_SERPHouse_API_KEY/mcp"
    }
  }
}

Replace YOUR_SERPHouse_API_KEY with your actual SERPHouse API key.

Using SERPHouse

Once configured, OpenCode automatically invokes SERPHouse whenever a request requires search engine data.

Try these example prompts to get started.

  • Search Google for "Laravel Horizon".
  • Show me the top 10 search results for "AI SEO tools".
  • Search Google News for "OpenAI".

Troubleshooting

IssueSolution
Server doesn't loadVerify your configuration file is valid JSON.
401 UnauthorizedVerify your API key is valid and active in your dashboard.
Tool calls failCheck debug logs with opencode --debug.

Last updated on

How is this guide?

On this page