---
tool_name: mcp-oauth-config
summary: Generate the OAuth 2.1 protected resource metadata for an MCP server, plus client connection parameters.
input:
  file: binary, required # optional JSON containing server_url / url (max 20MB)
  server_url: string, required # MCP 服务器 URL
  scopes: string, optional # Scopes
  auth_servers: string, optional # 授权服务器
  docs_url: string, optional # 文档 URL
output:
  preview_url: string | watermarked preview, free, no auth
  task_id: string | unique task identifier
  payment_url: string | end-user must complete one-time payment to unlock final output
  final_download_url: string | only available after successful payment
auth: login via email/phone OTP on https://mcp-oauth-config.yeezhan.com; API callers use a personal API key (Bearer yeek_...)
payment_rule: one-time charge $0.99 per task. NO credits, NO account balance. One payment unlocks only this task.
valid_window: 24 hours after payment
errors:
  - file_too_large
  - invalid_input
  - unsupported_type
  - target_unreachable
  - processing_failed
endpoint: https://mcp-oauth-config.yeezhan.com/api/v1/run
---
