An MCP server that exposes GoSearch enterprise search and GoAI as tools for AI assistants. Built with FastMCP.
This server is intended to run as a hosted remote MCP server over Streamable HTTP.
Public endpoint shape:
https://mcp.gosearch.ai/mcp/
Local development endpoint shape:
http://localhost:8000/mcp/
The hosted server does not use a shared GOSEARCH_API_TOKEN.
MCP clients should send a per-user GoSearch OAuth/API bearer token with each request:
Authorization: Bearer YOUR_TOKENThe MCP server forwards that header to api.gosearch.ai. GoSearch remains responsible for token validation, scope enforcement, refresh, storage, and revocation.
This project uses Python 3.12 and uv.
- Install Python
3.12. - Install
uv. - Create the local environment and install dependencies:
uv sync- Run the MCP server locally:
uv run fastmcp run src/gosearch_mcp/server.py \
--transport streamable-http \
--host 0.0.0.0 \
--port 8000 \
--path /mcp/- Verify health and OAuth discovery:
curl http://localhost:8000/health
curl http://localhost:8000/.well-known/oauth-authorization-serverBuild and run locally:
docker build -t gosearch-mcp .
docker run --rm -p 8000:8000 gosearch-mcp| Tool | Description |
|---|---|
search |
Search GoSearch for relevant results |
goai_response |
Get an AI-generated response from GoAI |