mcp-search
Use this sub-skill when you need to start, configure, inspect, or troubleshoot the Airweave MCP search server.
Covers
- stdio and Streamable HTTP entrypoints
- MCP tool registration and tool naming
- collection resolution and organization resolution
- API key and OAuth/Bearer auth paths
- Prometheus metrics and health endpoints
- deployment knobs, env vars, and safe smoke checks
Does not cover
- backend endpoint implementation details
- dashboard UI or frontend internals
- Connect widget internals
- Monke orchestration
Start here
- Read
references/mcp-overview.mdfor entrypoints, env vars, and deployment knobs. - Read
references/transport-and-tools.mdfor the collection-specific tool surface and search behavior; usetools/listorget-configbefore calling a search. - Read
references/auth-and-troubleshooting.mdfor auth, org resolution, metrics, and common failures. - Use
scripts/mcp-smoke.shfor a safe version/build/test/entrypoint smoke pass.
Cross-links
- Use
backend-apifor backend search-route and collection semantics. - Use
frontend-dashboardonly when a dashboard-driven setup or auth-context issue changes how MCP credentials or collection IDs are obtained.
Working notes
- stdio requires
AIRWEAVE_API_KEYandAIRWEAVE_COLLECTION;AIRWEAVE_BASE_URLis optional. - HTTP mode serves
/mcp,/health,/metrics, andGET /server info. - HTTP auth can use
X-API-KeyorAuthorization: Bearer ...; OAuth mode adds Auth0, Redis, and org resolution. - Search tools are collection-specific (
search-<collection>), withget-configas the second tool.
Verification expectations
- Missing stdio credentials should fail fast with a clear config error.
- HTTP OAuth requests should resolve the organization for the target collection.
- Tool lists, metrics, and search responses should remain readable and non-secret.