Object

McpOperation

A tool, prompt, resource or resource template that an MCP (Model Context Protocol) server lists.

Fields

content_type(): String
The operation content type (for example: 'application/json').
host(): String!
The MCP server's scheme and host, with its port if its URL gives one (for example: 'https://example.com:8443').
id(): ID!
The ID used to reference this operation
mcp_method(): String!
The JSON-RPC method the operation calls: 'tools/call', 'prompts/get' or 'resources/read'.
name(): String!
The operation name: the tool, prompt or resource template's name, or the resource's URI, followed by its kind (for example: 'search (tool)').
path(): String!
The path of the MCP server's endpoint, with its query if it has one.