diff --git a/model/name/mcp.json b/model/name/mcp.json new file mode 100644 index 00000000..339a0c3e --- /dev/null +++ b/model/name/mcp.json @@ -0,0 +1,19 @@ +{ + "brief": "Model Context Protocol (MCP)", + "operations": [ + { + "name": "Server", + "brief": "MCP server-side operations. Processing of incoming MCP requests or notifications initiated by a client, such as tool calls, prompt requests, and resource reads.", + "is_in_otel": true, + "otel_notes": "OpenTelemetry uses gen_ai.tool.name and gen_ai.prompt.name for the target in the span name. Sentry uses mcp.tool.name and mcp.prompt.name instead.", + "ops": ["mcp.server"], + "templates": [ + "{{mcp.method.name}} {{mcp.tool.name}}", + "{{mcp.method.name}} {{mcp.prompt.name}}", + "{{mcp.method.name}}", + "MCP server operation" + ], + "examples": ["tools/call get-weather", "prompts/get analyze-code", "resources/read", "initialize"] + } + ] +}