mcp-grpc Binding
Bindingmcp-grpcclient
mcp-grpc Binding
Defines a binding reading a protobuf service definition from a catalog and exposing each unary gRPC method as an MCP tool, translating tools/call arguments from JSON to a protobuf request and the protobuf reply back to JSON, with client behavior.
client
The client kind mcp-grpc binding generates an internal grpc client for the same catalog schema and originates every upstream gRPC call itself, with no exit.
mcp_grpc_client:
type: mcp-grpc
kind: client
options:
server: http://inventory:4004
catalog:
inventory_catalog:
subject: inventory
version: latest
authorization:
my_guard:
credentials:
headers:
authorization: Bearer {credentials}
tools:
get_item:
title: Get inventory item
description: Look up a single inventory item by SKU.
annotations:
readOnlyHint: true
routes:
- when:
- tool: get_item
with:
method: acme.inventory.v1.InventoryService/GetItem
- with:
method: acme.inventory.v1.InventoryService/ListItems
