{
  "name": "fintoc-mcp",
  "version": "1.0.0",
  "description": "Fintoc's Model Context Protocol server. Exposes Fintoc's payments and financial-data API as MCP tools for AI agents.",
  "documentation": "https://docs.fintoc.com/mcp",
  "endpoint": "https://mcp.fintoc.com",
  "transport": "streamable-http",
  "capabilities": {
    "tools": { "listChanged": false }
  },
  "authentication": {
    "type": "oauth2",
    "authorization_servers": ["https://api.fintoc.com"],
    "protected_resource_metadata": "https://mcp.fintoc.com/.well-known/oauth-protected-resource",
    "authorization_server_metadata": "https://api.fintoc.com/.well-known/oauth-authorization-server",
    "dynamic_client_registration": "https://api.fintoc.com/oauth/register",
    "code_challenge_methods_supported": ["S256"]
  },
  "tools": [
    {
      "name": "list_accounts",
      "title": "List bank accounts",
      "readOnly": true,
      "scope": "account:view"
    },
    {
      "name": "list_account_numbers",
      "title": "List account numbers",
      "readOnly": true,
      "scope": "account_number:view"
    },
    {
      "name": "create_account_number",
      "title": "Create account number",
      "readOnly": false,
      "scope": "account_number:manage"
    },
    {
      "name": "list_customers",
      "title": "List customers",
      "readOnly": true,
      "scope": "customer:view"
    },
    {
      "name": "create_customer",
      "title": "Create customer",
      "readOnly": false,
      "scope": "customer:manage"
    },
    {
      "name": "list_checkout_sessions",
      "title": "List checkout sessions",
      "readOnly": true,
      "scope": "payment:view"
    },
    {
      "name": "list_payment_intents",
      "title": "List payment intents",
      "readOnly": true,
      "scope": "payment:view"
    },
    {
      "name": "list_invoices",
      "title": "List invoices",
      "readOnly": true,
      "scope": "billing:view"
    },
    { "name": "list_links", "title": "List bank links", "readOnly": true, "scope": "link:view" },
    { "name": "list_entities", "title": "List entities", "readOnly": true, "scope": "entity:view" },
    {
      "name": "list_transfers",
      "title": "List transfers",
      "readOnly": true,
      "scope": "transfer:view"
    },
    { "name": "list_payouts", "title": "List payouts", "readOnly": true, "scope": "payout:view" },
    { "name": "list_refunds", "title": "List refunds", "readOnly": true, "scope": "refund:view" },
    {
      "name": "create_refund",
      "title": "Create refund",
      "readOnly": false,
      "scope": "refund:manage"
    },
    {
      "name": "cancel_refund",
      "title": "Cancel refund",
      "readOnly": false,
      "scope": "refund:manage"
    },
    {
      "name": "list_webhook_endpoints",
      "title": "List webhook endpoints",
      "readOnly": true,
      "scope": "webhook_endpoint:view"
    },
    {
      "name": "fetch_resource",
      "title": "Fetch a Fintoc resource by hashid",
      "readOnly": true,
      "scope": null
    },
    { "name": "submit_feedback", "title": "Submit feedback", "readOnly": false, "scope": null }
  ]
}
