{
  "name": "aurabase",
  "package": "@aurabase/mcp-server",
  "version": "1.1.2",
  "description": "Serveur MCP (Model Context Protocol) officiel d'Aurabase — pilote le backend Aurabase (Postgres 18, Auth, Storage, Edge Functions, IA Gateway, RLS, Backups, Observabilité) avec les identifiants d'un projet. Fonctionne en local, en stdio (défaut) ou en Streamable HTTP ; le service hébergé (mcp.aurabase.dev) est prévu, pas encore en service.",
  "documentation": "https://aurabase.dev/docs/mcp",
  "homepage": "https://www.npmjs.com/package/@aurabase/mcp-server",
  "specStatus": "Manifeste descriptif du serveur MCP Aurabase conforme aux spécifications Model Context Protocol (2025-11-25 et 2026-07-28 Streamable HTTP).",
  "protocolVersion": "2025-11-25",
  "engines": {
    "node": ">=20.0.0"
  },
  "install": {
    "command": "npx",
    "example": "npx -y -p @aurabase/mcp-server aurabase-mcp --url <AURABASE_URL> --project-id <uuid> --service-role-key aura_sk_…",
    "env": {
      "AURABASE_URL": "URL de l'instance Aurabase (ex: https://aurabase.dev ou http://localhost:8080)",
      "AURABASE_PROJECT_ID": "Identifiant UUID du projet",
      "AURABASE_SERVICE_ROLE_KEY": "Clé d'administration du projet (aura_sk_…)"
    }
  },
  "transport": {
    "default": "stdio",
    "http": {
      "supported": true,
      "endpoint": "http://127.0.0.1:3001/mcp",
      "localCommand": "npx -y -p @aurabase/mcp-server aurabase-mcp --transport http --port 3001 --auth-token <jeton> --url <AURABASE_URL> --project-id <uuid> --service-role-key aura_sk_…",
      "auth": "Authorization: Bearer <jeton> (la valeur de --auth-token)",
      "note": "Serveur Streamable HTTP local. Le service hébergé (https://mcp.aurabase.dev/mcp, OAuth 2.1) est prévu, pas encore en service."
    },
    "stdio": {
      "supported": true,
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "@aurabase/mcp-server",
        "aurabase-mcp"
      ],
      "env": [
        "AURABASE_URL",
        "AURABASE_PROJECT_ID",
        "AURABASE_SERVICE_ROLE_KEY"
      ],
      "note": "Transport stdio local exécuté dans le processus de l'assistant (défaut)."
    }
  },
  "capabilities": {
    "tools": true,
    "resources": true,
    "prompts": true
  },
  "tools": {
    "total": 86,
    "exposedWithProjectKey": 82,
    "managementPlaneOnly": 4,
    "readOnlyModeCount": 37,
    "note": "--read-only n'expose que les 37 outils de lecture ; --allowed-tools restreint à une liste blanche explicite.",
    "sample": [
      {
        "name": "list_tables",
        "domain": "database",
        "readOnly": true
      },
      {
        "name": "execute_sql",
        "domain": "database",
        "readOnly": false
      },
      {
        "name": "query_table",
        "domain": "database",
        "readOnly": true
      },
      {
        "name": "call_rpc",
        "domain": "database",
        "readOnly": false
      },
      {
        "name": "list_buckets",
        "domain": "storage",
        "readOnly": true
      },
      {
        "name": "upload_file",
        "domain": "storage",
        "readOnly": false
      },
      {
        "name": "list_users",
        "domain": "auth",
        "readOnly": true
      },
      {
        "name": "invoke_function",
        "domain": "functions",
        "readOnly": false
      },
      {
        "name": "list_rls_policies",
        "domain": "rls",
        "readOnly": true
      },
      {
        "name": "rag_query",
        "domain": "ai",
        "readOnly": true
      },
      {
        "name": "send_email",
        "domain": "notifications",
        "readOnly": false
      },
      {
        "name": "get_project_metrics",
        "domain": "observability",
        "readOnly": true
      },
      {
        "name": "list_slow_queries",
        "domain": "observability",
        "readOnly": true
      },
      {
        "name": "list_backups",
        "domain": "backup",
        "readOnly": true
      },
      {
        "name": "create_backup",
        "domain": "backup",
        "readOnly": false
      },
      {
        "name": "search_docs",
        "domain": "help",
        "readOnly": true
      }
    ]
  },
  "resources": [
    "aurabase://schema"
  ],
  "prompts": [
    "audit_database_security",
    "generate_typescript_types",
    "setup_vector_rag_pipeline",
    "debug_project_performance"
  ]
}