{
  "name": "chartbrew",
  "version": "6.0.0",
  "description": "Explore Chartbrew dashboards and data, and create chart previews.",
  "author": {
    "name": "Chartbrew",
    "url": "https://chartbrew.com/"
  },
  "homepage": "https://chartbrew.com/",
  "keywords": [
    "analytics",
    "dashboards",
    "charts",
    "reporting",
    "databases"
  ],
  "extensions": {
    "com.openai": {
      "publication": {
        "release_notes": "Initial Chartbrew hosted MCP plugin for ChatGPT and Codex."
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Find the demo dashboard and return its sign-in-protected link. Prerequisite: connect the reviewer account to the Chartbrew demo team.",
              "tools_triggered": "search_workspace",
              "expected_behavior": "Returns Healthcare Test, dashboard ID 43629, with https://app.chartbrew.com/dashboard/43629. Does not create, change, refresh, or delete records.",
              "prompt": "Find my Healthcare Test dashboard in Chartbrew and give me its link. Do not change anything."
            },
            {
              "description": "Summarize saved dashboard results without executing source queries. The demo dashboard has 24 charts, so follow pagination when returned.",
              "tools_triggered": "search_workspace, read_chart_results",
              "expected_behavior": "Uses read_chart_results for projectId 43629 and follows nextOffset until the dashboard results are covered. Grounds the summary in returned saved results, identifies missing or truncated results and available timestamps, and does not infer values for unavailable charts. Does not call run_dataset or get_chart_data, refresh data, or change records.",
              "prompt": "Summarize the saved results in my Healthcare Test dashboard. Include appointment and staffing trends, available update times, and any missing results. Do not run datasets or refresh charts."
            },
            {
              "description": "Execute an existing demo dataset and identify its highest appointment counts. Dataset Appointments by Department has ID 196286 and uses Synthbrew Healthcare.",
              "tools_triggered": "search_workspace, run_dataset",
              "expected_behavior": "Reads dataset 196286 and ranks department rows by appointment_count descending, using avg_wait_minutes for the wait. The observed sample on 4 November 2026 contains nine rows: the top three are Cardiology (2c3b), 479 appointments, 503.2 minutes; Cardiology (f095), 436, 488.5; Paediatrics (1b14), 430, 471.5. If source data has changed, use the actual returned values and state the difference. Does not combine departments with the same base name or change source records.",
              "prompt": "Run the Appointments by Department dataset (ID 196286) in Chartbrew and show the three departments with the most appointments, with their average wait in minutes. Keep the department ID suffixes in the names."
            },
            {
              "description": "Inspect a PostgreSQL source, preview a read-only aggregate, then save a reusable dataset. Requires team-admin access to all projects and datasets:write. Source Synthbrew Healthcare has connection ID 26583; dashboard Healthcare Test has ID 43629.",
              "tools_triggered": "explore_data",
              "expected_behavior": "Inspects the available schema before querying. Uses a read-only LEFT JOIN from departments to appointments on department_id, groups by department ID and name, and counts appointment IDs. The observed source schema is sb_src_z_ifypv_go. Previews results before saving with explore_data operation save, connectionId 26583 and projectId 43629. Returns the saved dataset ID/link and does not alter source rows or create a chart. If the named review dataset already exists, asks whether to reuse it before creating a duplicate.",
              "prompt": "Use the Synthbrew Healthcare connection (ID 26583). Inspect its departments and appointments tables, then preview a count of appointments for each department. Include departments with zero appointments and keep department IDs so names stay distinct. Save the result as a new dataset named OpenAI Review - Appointment Counts, associated with Healthcare Test (dashboard 43629). Do not change the source database or create a chart."
            },
            {
              "description": "Create a temporary bar-chart preview from the verified existing dataset. Requires team-admin access to all projects and charts:preview. Dataset Appointments by Department has ID 196286 and fields department, appointment_count, avg_wait_minutes.",
              "tools_triggered": "run_dataset, create_chart_preview",
              "expected_behavior": "Checks the dataset fields, then creates a bar preview with datasetId 196286, xAxis department and yAxis appointment_count. Preserves distinct department labels and all returned departments. Checks completion_check before reporting success and returns the preview URL, which requires Chartbrew sign-in. Does not add a chart to dashboard 43629, change the dataset, or repeat a saved creation if verification fails.",
              "prompt": "Create a bar-chart preview named OpenAI Review - Appointments by Department from dataset 196286. Use department on the category axis and appointment_count as the value. Keep all nine departments and their ID suffixes. Give me the preview link, but do not add the chart to a dashboard."
            }
          ],
          "negative": [
            {
              "description": "A chart request based entirely on inline data does not require access to Chartbrew. Expected behavior: answer using the supplied values; do not call Chartbrew tools or save a dataset or chart.",
              "prompt": "Explain how to draw a bar chart for these values: apples 10, oranges 15, pears 8. Use only these numbers. Do not access or save anything in Chartbrew."
            },
            {
              "description": "Appointment booking is outside the analytics plugin capabilities. Expected behavior: explain that the plugin cannot schedule appointments and direct the user to the relevant booking service; do not read dashboards or modify analytics datasets.",
              "prompt": "Book a cardiology appointment for me tomorrow at 10 AM and send me a confirmation."
            },
            {
              "description": "Changing source database rows is outside the supported read-only source exploration and Chartbrew dataset/preview capabilities. Expected behavior: state that the plugin cannot perform this database write; do not execute SQL writes or create a dataset as a workaround.",
              "prompt": "Use the healthcare database connection to mark every pending appointment as completed. Update the source records now."
            }
          ]
        }
      }
    }
  },
  "interface": {
    "displayName": "Chartbrew",
    "shortDescription": "Explore data and create charts",
    "longDescription": "Chartbrew connects databases and APIs to dashboards and reports. Use this plugin to find dashboards and datasets, read saved chart results, explore supported data sources, and create datasets and chart previews.\n\nConnect your Chartbrew account through OAuth. Access depends on your team membership, role, and approved permissions. Source exploration supports PostgreSQL, MySQL, and approved MCP tools. Review chart previews in Chartbrew before adding them to a dashboard. Dataset execution and refresh can query connected sources.\n\nRequires a Chartbrew account with access to the hosted service. No local installation is required. Setup guide: https://docs.chartbrew.com/integrations/mcp",
    "developerName": "Chartbrew",
    "category": "Data & Analytics",
    "capabilities": [
      "Read",
      "Write"
    ],
    "websiteURL": "https://chartbrew.com/",
    "supportURL": "https://chartbrew.com/support",
    "privacyPolicyURL": "https://chartbrew.com/legal/privacy-policy",
    "termsOfServiceURL": "https://chartbrew.com/legal/terms",
    "composerIcon": "./assets/icon.png",
    "logo": "./assets/icon.png",
    "defaultPrompt": [
      "Find my dashboards.",
      "Summarize saved results from my dashboard without refreshing data.",
      "Create a bar-chart preview from my dataset."
    ]
  },
  "mcpServers": "./.mcp.json",
  "apps": "./.app.json"
}
