Menu
Post Mcp
MCP Endpoint (POST)
POST
/mcpUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Post Mcp action (under MCP).
- Fill in the fields below, then reference the result from later steps as
{{postMcp.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"jsonrpc": "2.0",
"method": "string",
"id": null,
"params": {}
}
Response
Returns 200 with an object. Read it in later steps with {{postMcp.response.data.<field>}}.
{
"jsonrpc": "2.0",
"id": null,
"result": {},
"error": {
"code": 0,
"message": "string",
"data": {}
}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?