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:

SettingValue
Endpointhttps://www.marsyoo.com/mcp
TransportStreamable HTTP
Header nameAuthorization
Header valueBearer <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

  1. Refresh the tool list after connecting and confirm whale_search is available.
  2. Call it with {"query":"AI","mode":"keyword","limit":10}.
  3. If results exist, pass a returned document_id to whale_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

ToolPurposeMain inputs
whale_searchKeyword, vector, or hybrid searchquery, mode, platforms, languages, published_from, published_to, limit
whale_get_documentMetadata and current versiondocument_id
whale_get_document_contentCurrent or specified full bodydocument_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.