{
  "serverInfo": {
    "name": "oh-my-share",
    "description": "HTML and code sharing with end-to-end encryption",
    "version": "2.2.0"
  },
  "endpoint": "https://openanthropic.com/mcp",
  "authentication": {
    "type": "oauth2",
    "oauth2": {
      "authorizationEndpoint": "https://openanthropic.com/oauth/authorize",
      "tokenEndpoint": "https://openanthropic.com/oauth/token",
      "grantTypes": [
        "authorization_code",
        "password"
      ],
      "scopes": [
        "upload",
        "manage",
        "read"
      ],
      "codeChallengeMethods": [
        "S256"
      ]
    }
  },
  "agentAuth": {
    "identityEndpoint": "https://openanthropic.com/api/auth/register",
    "identityTypesSupported": [
      "anonymous",
      "service_auth"
    ]
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "upload",
      "description": "Upload HTML files and code snippets for sharing",
      "inputSchema": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "description": "HTML or code content"
          },
          "language": {
            "type": "string",
            "description": "Language type (html, css, js, etc.)"
          },
          "filename": {
            "type": "string",
            "description": "Filename for the content"
          },
          "password": {
            "type": "string",
            "description": "Optional password protection"
          },
          "expiresIn": {
            "type": "string",
            "description": "Expiration time (1h, 24h, 7d, 30d, 90d)"
          }
        },
        "required": [
          "content"
        ]
      },
      "annotations": {
        "title": "Upload Content",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false
      }
    },
    {
      "name": "list_assets",
      "description": "List uploaded assets (requires authentication)",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "title": "List Assets",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "view",
      "description": "View shared HTML content",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Asset ID to view"
          }
        },
        "required": [
          "id"
        ]
      },
      "annotations": {
        "title": "View Content",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "delete",
      "description": "Delete an uploaded asset (requires authentication)",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Asset ID to delete"
          }
        },
        "required": [
          "id"
        ]
      },
      "annotations": {
        "title": "Delete Asset",
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "get_info",
      "description": "Get information about the Oh My Share service",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "title": "Service Info",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true
      }
    }
  ],
  "resources": [
    {
      "uri": "https://openanthropic.com/.well-known/agent-card.json",
      "name": "A2A Agent Card",
      "description": "A2A Agent Card for agent-to-agent discovery",
      "mimeType": "application/json"
    },
    {
      "uri": "https://openanthropic.com/.well-known/oauth-protected-resource",
      "name": "OAuth Protected Resource Metadata",
      "description": "OAuth 2.0 Protected Resource Metadata",
      "mimeType": "application/json"
    },
    {
      "uri": "https://openanthropic.com/.well-known/oauth-authorization-server",
      "name": "OAuth Authorization Server Metadata",
      "description": "OAuth 2.0 Authorization Server Metadata",
      "mimeType": "application/json"
    }
  ],
  "prompts": [
    {
      "name": "share_html",
      "description": "Share HTML content with optional password protection",
      "arguments": [
        {
          "name": "content",
          "description": "HTML content to share",
          "required": true
        },
        {
          "name": "password",
          "description": "Optional password for protection",
          "required": false
        }
      ]
    }
  ]
}