Skip to main content

Environment Variables

Transport Modes

stdio (default)

Used for direct integration with AI clients like Claude Desktop. Communication happens via standard input/output.

HTTP

Exposes the MCP server over HTTP for remote or networked access:
When using HTTP transport, clients connect via the MCP Streamable HTTP protocol. API key authentication is enforced via the Authorization: Bearer <key> header when MCP_API_KEY is set.

Read-Only Mode for Replica Instances

Enable read-only mode by default to prevent writes to replica instances:
Use cases:
  • Replica instances: Prevent writes to read replicas in replication setups
  • Production safety: Ensure critical data isn’t accidentally modified
  • Reporting/analytics: Run queries for dashboards without risk of data changes
  • Multi-tenant environments: Provide read-only access to certain users

Running Multiple Instances

You can configure multiple MCP servers for different FalkorDB instances: