본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

MCP

원문 보기 위키 갱신

Model Context Protocol(MCP) 속성은 OpenTelemetry GenAI 시맨틱 컨벤션 저장소로 이동했어요.

출처: 문서

본문

MCP 속성 (이동됨) (MCP Attributes (Moved))

Model Context Protocol(MCP) 속성은 OpenTelemetry GenAI 시맨틱 컨벤션 저장소로 이동했어요.

속성 (Attributes):

Key Stability Value Type Description Example Values
mcp.method.name Moved to the OpenTelemetry GenAI semantic conventions repository. string The name of the request or notification method. notifications/cancelled; initialize; notifications/initialized
mcp.protocol.version Moved to the OpenTelemetry GenAI semantic conventions repository. string The version of the Model Context Protocol used. 2025-06-18
mcp.resource.uri Moved to the OpenTelemetry GenAI semantic conventions repository. string The value of the resource URI. [1] postgres://database/customers/schema; file:///home/user/documents/report.pdf
mcp.session.id Moved to the OpenTelemetry GenAI semantic conventions repository. string Identifies MCP session. 191c4850af6c49e08843a3f6c80e5046

[1] mcp.resource.uri: 이것은 다음 요청 또는 알림에서 제공되는 리소스의 URI예요: resources/read, resources/subscribe, resources/unsubscribe, 또는 notifications/resources/updated.

mcp.method.name에는 다음과 같은 잘 알려진 값 목록이 있어요. 그중 하나에 해당한다면 반드시 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용할 수 있어요(MAY).

Value Description Stability
completion/complete Request to complete a prompt.
elicitation/create Request from the server to elicit additional information from the user via the client
initialize Request to initialize the MCP client.
logging/setLevel Request to set the logging level.
notifications/cancelled Notification cancelling a previously-issued request.
notifications/initialized Notification indicating that the MCP client has been initialized.
notifications/message Notification indicating that a message has been received.
notifications/progress Notification indicating the progress for a long-running operation.
notifications/prompts/list_changed Notification indicating that the list of prompts has changed.
notifications/resources/list_changed Notification indicating that the list of resources has changed.
notifications/resources/updated Notification indicating that a resource has been updated.
notifications/roots/list_changed Notification indicating that the list of roots has changed.
notifications/tools/list_changed Notification indicating that the list of tools has changed.
ping Request to check that the other party is still alive.
prompts/get Request to get a prompt.
prompts/list Request to list prompts available on server.
resources/list Request to list resources available on server.
resources/read Request to read a resource.
resources/subscribe Request to subscribe to a resource.
resources/templates/list Request to list resource templates available on server.
resources/unsubscribe Request to unsubscribe from resource updates.
roots/list Request to list roots available on server.
sampling/createMessage Request to create a sampling message.
tools/call Request to call a tool.
tools/list Request to list tools available on server.

더 알아보기 (Learn more)