NetworkConnectMcpRequest network.connect-mcp-request@1
Generated at from
openvibe-contracts v0.454.0 and
openvibe-sdk v0.193.0.
- Version
- 1.0.0
- Owner
- network
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Decision
- ADR-003
- Schema
https://openvibe.network/contracts/network/connect-mcp-request.v1.json
network.connect-mcp-request@1: one JSON-RPC 2.0 request to Connect's MCP server (POST https://connect.openvibe.network/mcp, or /mcp/all for search and execute over the person's OpenVibe apps). With network.connect.act a first-party service sends it as the person its token names (on_behalf_of), and reaches only what that person granted that service, app by app, on the Apps page. The params follow the MCP specification for the method (tools/list, tools/call with name and arguments, initialize, server/discover).
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
jsonrpc | const | yes |
| |
id | string | integer | null | |||
method | string | yes |
| |
params | object |
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: tools-call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search",
"arguments": {
"query": "my accounts this month"
}
}
}Valid: tools-list
{
"jsonrpc": "2.0",
"id": "a1",
"method": "tools/list",
"params": {}
}Rejected: a-token-in-the-body
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"token": "not-allowed"
}Rejected: not-jsonrpc
{
"jsonrpc": "1.0",
"id": 1,
"method": "tools/list"
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('network.connect-mcp-request@1', value); // { valid, errors: [{ path, message }] }