mcp.proto
path agntcy/identity/core/v1alpha1/mcp.proto
package agntcy.identity.core.v1alpha1
Messages
McpResource
McpResource represents a resource available on the MCP server. This can be a file, a database, or any other type of resource.
Name | Type | Description |
---|---|---|
name | optional string | Name of the resource. |
description | optional string | Description of the resource. |
uri | optional string | URI of the resource. |
McpServer
McpServer represents an MCP server that provides a set of tools and resources The server needs to be deployed at a specific URL
Name | Type | Description |
---|---|---|
name | optional string | Name of the server. |
url | optional string | Url of the deployed server. |
tools | repeated McpTool | The tools available on the server. |
resources | repeated McpResource | The resources available on the server. |
McpTool
McpTool represents a tool available on the MCP server. This can be a function with name, description, and parameters.
Name | Type | Description |
---|---|---|
name | optional string | Name of the tool. |
description | optional string | Description of the tool. |
parameters | optional string | Parameters of the tool. This is a JSON object that describes the parameters |
oauth2_metadata | optional Oauth2Metadata | Oauth2 Protected Resource metadata. This will correspond to a resource on the server. Or can be specified or overridden by the auth policies. This complies with RFC 9728. |
Oauth2Metadata
Oauth2Metadata represents the OAuth2 metadata for a protected resource. This complies with RFC 9728.
Name | Type | Description |
---|---|---|
resource | optional string | The resource identifier. |
authorization_servers | optional string | Authorization servers for the OAuth2 server. This is a list of strings, such as "https://example.com/oauth2/authorize". |
bearer_methods_supported | repeated string | Bearer methods supported This is a list of strings, such as "client_credentials" or "authorization_code". |
scopes_supported | repeated string | Scopes supported This is a list of strings, such as "openid" or "profile". |