An experimental MCP (Model Context Protocol) server that provides AI assistants with search access to Giant Swarm's documentation, handbook, and intranet.
- Search public Giant Swarm documentation (no authentication required)
- Search internal intranet resources (with optional authentication)
- Automatic endpoint selection based on authentication status
- Read and convert documentation pages to Markdown
- Session persistence across restarts
- Open Settings → Tools & MCP
- Click New MCP Server
- Edit the settings like this:
"giantswarm-search": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"INTRANET_SESSION_COOKIE",
"gsoci.azurecr.io/giantswarm/search-mcp:0.0.1"
],
"env": {
"INTRANET_SESSION_COOKIE": "..."
}
}Make sure to adapt the version tag (0.0.1 in the example above) to the version you intend to use. Check here for available versions.
Note that INTRANET_SESSION_COOKIE is only required if you want to access intranet content. Read on for instructions on how to obtain the right value.
To access internal Giant Swarm resources, set up authentication:
- Visit intranet.giantswarm.io and login with GitHub
- Open browser Developer Tools (F12) → Application → Cookies
- Copy the
_oauth2_proxycookie value - Set INTRANET_SESSION_COOKIE environment variable value in the MCP configutation.
The server provides these tools to AI assistants:
Search Giant Swarm documentation.
- Without authentication: Public docs only (docs.giantswarm.io, blog, etc.)
- With authentication: Public + intranet resources
Search DevOps runbooks in the intranet. Requires authentication.
Search Ops Recipes (runbooks) in the intranet. Requires authentication.
Read content from Giant Swarm handbook. No authentication required.
Read content from Giant Swarm intranet. Requires authentication.
INTRANET_SESSION_COOKIE: OAuth2 proxy session cookie (optional, for intranet access)PYTHONLOGLEVEL: Logging level - DEBUG, INFO, WARNING, or ERROR (optional)
Copy env.example to .env and customize as needed.
You're in public-only mode. To access intranet resources, set the INTRANET_SESSION_COOKIE environment variable following the authentication setup instructions above.
Your session cookie may have expired. To fix this:
- Log into https://intranet.giantswarm.io/ again
- Get a fresh cookie value:
- Open the developer tools (F12 or Cmd + Option + I)
- Go to Application → Cookies →
https://intranet.giantswarm.io - Select the cookie named
_oauth2_proxy - Copy the cookie value
- Update your environment variable:
- In Cursor: Settings → Tools & MCP → Edit
giantswarm-search→ Update INTRANET_SESSION_COOKIE - Or in terminal:
export INTRANET_SESSION_COOKIE="your_new_cookie_value"
- In Cursor: Settings → Tools & MCP → Edit
- Verify your network connection
- Check that docs.giantswarm.io is accessible
- For intranet access, ensure your credentials are valid
- Architecture - How the server works internally
- Security - Security considerations and best practices
- Development - Development setup and contribution guide