Service MCP Requests
These actions provide ability to expose existing microservice capabilities over MCP.
Service MCP Requests Actions
CallRPC
Responds to a request using MCP protocol. Event metadata fields applicable for this action are as follows:
Field
Definition
Example
Default
Domain
ID of the MCP server to interact with
procurement_specialist
-
Input Element
Json path for the input in request event payload
message
-
Output Element
Json path for the output in response event payload
output
-
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "ID of the MCP server to interact with",
"examples": ["procurement_specialist"],
"default": null
},
"inputElement": {
"type": "string",
"description": "Json path for the input in request event payload",
"examples": ["message"],
"default": null
},
"outputElement": {
"type": "string",
"description": "Json path for the output in response event payload",
"examples": ["output"],
"default": null
}
}
}
}
}With event metadata parameters as:
Parameter
Definition
Example
Default
Input Pattern
Jmespath expression for converting input payload to MCP call
-
-
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"inputPattern": {
"type": "string",
"description": "Jmespath expression for converting input payload to MCP call",
"default": null
}
}
}
}
}
}
}Input contents should match MCP server calls such as:
Initialize Request
{
"jsonrpc": "2.0",
"method": "initialize"
}Tool Listing Request
{
"jsonrpc": "2.0",
"method": "tools/list"
}Tool Call Request
Last updated
