Skip to content

mcp-server-revision

Generated reference page for spec/v1/schemas/resources/mcp-server-revision.json.

Metadata

  • Type: JSON Schema
  • Source: spec/v1/schemas/resources/mcp-server-revision.json
  • Raw: View Raw

Summary

Source

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agent-service.spec/v1/schemas/resources/mcp-server-revision.json",
  "$defs": {
    "McpToolDescriptor": {
      "type": "object",
      "additionalProperties": false,
      "required": ["name", "description", "parametersSchema"],
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "parametersSchema": {
          "type": "object",
          "additionalProperties": true
        },
        "resultSchema": {
          "type": "object",
          "additionalProperties": true
        },
        "toolId": {
          "$ref": "../common/identity.json#/$defs/toolId"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  },
  "type": "object",
  "additionalProperties": false,
  "required": [
    "mcpServerRevisionId",
    "mcpServerId",
    "orgId",
    "description",
    "mcpProfile",
    "executionProfile",
    "createdAt"
  ],
  "properties": {
    "mcpServerRevisionId": {
      "$ref": "../common/identity.json#/$defs/mcpServerRevisionId"
    },
    "mcpServerId": {
      "$ref": "../common/identity.json#/$defs/mcpServerId"
    },
    "orgId": {
      "$ref": "../common/identity.json#/$defs/orgId"
    },
    "description": {
      "type": "string",
      "minLength": 1
    },
    "mcpProfile": {
      "$ref": "../common/protocol-profile.json#/$defs/MCPProtocolProfile"
    },
    "toolCatalog": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/McpToolDescriptor"
      }
    },
    "executionProfile": {
      "$ref": "../common/execution-profile.json#/$defs/ExecutionProfile"
    },
    "runPolicy": {
      "$ref": "../common/execution-profile.json#/$defs/RunPolicy"
    },
    "authPolicy": {
      "type": "object",
      "additionalProperties": true
    },
    "secretRefs": {
      "type": "array",
      "items": {
        "$ref": "../common/execution-profile.json#/$defs/SecretRef"
      }
    },
    "releaseNotes": {
      "type": "string"
    },
    "contentDigest": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    },
    "createdAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    }
  }
}

白皮书与规范内容以仓库真源为准。