younifyd
Menu

Model context protocol (MCP)

Model context protocol (MCP)

POST/mcp

Use it in a workflow

  1. Add a step and choose the Meilisearch connector.
  2. Pick the Model context protocol (MCP) action (under MCP).
  3. Fill in the fields below, then reference the result from later steps as {{modelContextProtocolMcp.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

jsonrpcstringrequired

Defines the version of a JSON-RPC request. You can find more information about this field on [the JSON-RPC specification](https://www.jsonrpc.org/specification#request_object).

idoneOfrequired

The request ID MUST NOT match the ID of any other request the sender has issued and not yet received a response for

methodstringrequired

The method to call using the JSON-RPC format. You can find more information about this field on [the JSON-RPC specification](https://www.jsonrpc.org/specification#request_object).

paramsobjectrequired
_metaoneOf
namestring | null

The tool name to call used by the MCP protocol. You can find more information about this field on [the MCP specification](https://modelcontextprotocol.io/specification/2026-07-28/server/tools#tool-names).

argumentsany

The arguments to give to the tool from the MCP protocol. You can find more information about this field on [the MCP specification](https://modelcontextprotocol.io/specification/2026-07-28/schema#calltoolrequestparams).

json
{
  "jsonrpc": "string",
  "id": null,
  "method": "string",
  "params": {
    "_meta": null,
    "name": "string",
    "arguments": null
  }
}

Response

Returns 200 with an object. Read it in later steps with {{modelContextProtocolMcp.response.data.<field>}}.

jsonrpcstring

The JSON-RPC version.

idoneOf

The request ID MUST NOT match the ID of any other request the sender has issued and not yet received a response for

resultoneOf
erroroneOf
json
{
  "jsonrpc": "string",
  "id": null,
  "result": null,
  "error": null
}

Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.