Back to Home
ForestAdmin icon

mcp-server-metabase

by ForestAdmin

Overview

Connects AI agents to Metabase BI platform, providing comprehensive access to databases, saved questions, dashboards, collections, and query execution.

Installation

Run Command
cd src && uvicorn forestadmin_metabase_mcp.server_sse:app --host 0.0.0.0 --port 8000

Environment Variables

  • METABASE_URL
  • METABASE_API_KEY
  • METABASE_USERNAME
  • METABASE_PASSWORD
  • MCP_AUTH_TOKEN
  • PORT

Security Notes

CRITICAL SQL INJECTION VULNERABILITIES (CVE-2025-XXXXX) have been identified and are present in the provided source code. The `execute_sql_query` tool allows `WITH` (Common Table Expression) queries which can contain arbitrary SQL statements (UPDATE, INSERT, DELETE, DROP), bypassing read-only validation. The `create_question` tool lacks any input validation for its `query` argument, allowing malicious SQL to be saved as persistent questions. These vulnerabilities enable data modification, destruction, and privilege escalation, as detailed in `CRITICAL_SECURITY_ADVISORY.md`. Despite previous security patches, these critical issues are unaddressed in the provided code.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-03

Tags

MetabaseBIAnalyticsAI AgentsData Access