Contact SerpHunt
[email protected]
Headquarters
6 Mustaqillik Ave
Tashkent, Uzbekistan

Connect to SerpHunt MCP

Enter the server URL and pass the token in the authorization header.

Before you start

Get a SerpHunt token. For a remote MCP connection, use https://seo.serphunt.com/mcp with Streamable HTTP and the header Authorization: Bearer <token>. Choose a connection name in your client, for example serphunt.

Codex

In your user-level config.toml file, specify the server URL and the name of the environment variable that holds your token. Keep the token itself out of the file and restart the client after editing.

[mcp_servers.serphunt]
url = "https://seo.serphunt.com/mcp"
bearer_token_env_var = "SERPHUNT_API_TOKEN"

Claude Code and Claude Desktop

In Claude Code, you can add an HTTP server from the terminal. An example for Bash or zsh uses a token from the environment.

claude mcp add --transport http serphunt https://seo.serphunt.com/mcp \
  --header "Authorization: Bearer ${SERPHUNT_API_TOKEN}"

In Claude Desktop, use a remote MCP connection that supports authorization headers. If your version offers only OAuth, choose a client that supports a Bearer token.

OpenCode

Add a remote server to the project or user configuration. The example reads the token from an environment variable.

{
  "mcp": {
    "serphunt": {
      "type": "remote",
      "url": "https://seo.serphunt.com/mcp",
      "headers": {"Authorization": "Bearer {env:SERPHUNT_API_TOKEN}"},
      "enabled": true
    }
  }
}

OpenAI Agents SDK

import asyncio
import os

from agents.mcp import MCPServerStreamableHttp


async def main():
    params = {
        "url": "https://seo.serphunt.com/mcp",
        "headers": {"Authorization": "Bearer " + os.environ["SERPHUNT_API_TOKEN"]},
    }
    async with MCPServerStreamableHttp(params=params, name="serphunt") as server:
        for tool in await server.list_tools():
            print(tool.name)


if __name__ == "__main__":
    asyncio.run(main())

Gemini CLI and Pi

In Gemini CLI, add an entry in mcpServers with httpUrl and the header Authorization. If you use Pi, select the remote HTTP transport supported by your MCP extension and forward the same address and header.

Verification

Restart the client, open its MCP tool list, and request list_projects. If the server returns 401, check your SerpHunt token. This first check only reads project data.

This website stores cookies on your computer.