MCP Integration
Connect a client supporting Streamable HTTP and Bearer headers without downloading server source. Obtain a Consumer API Key first.
Connect
Add a remote MCP server to your client:
| Setting | Value |
|---|---|
| Endpoint | https://www.marsyoo.com/mcp |
| Transport | Streamable HTTP |
| Header name | Authorization |
| Header value | Bearer <your Consumer API Key> |
Inject the key through secure client settings or environment variables; do not put the full key in public configuration or conversations. If your client cannot send authorization headers, use a Consumer SDK or the HTTP API.
Verify
- Refresh the tool list after connecting and confirm
whale_searchis available. - Call it with
{"query":"AI","mode":"keyword","limit":10}. - If results exist, pass a returned
document_idtowhale_get_document_content.
A successful tool response and readable content verify integration. Empty search results do not mean the connection failed; check the query and subscription.
Tools
| Tool | Purpose | Main inputs |
|---|---|---|
whale_search | Keyword, vector, or hybrid search | query, mode, platforms, languages, published_from, published_to, limit |
whale_get_document | Metadata and current version | document_id |
whale_get_document_content | Current or specified full body | document_id, version_id |
Search defaults to hybrid and 20 results, with a maximum of 100. The same subscription, field permissions, and rate limits apply as direct API calls.
For 401, check the injected key; for 403, check the subscription; for 429, honor Retry-After.
See Unified Search for parameters and Documents for bodies and versions.