Skip to main content
Glama
readonly-sql-mcp

readonly-sql-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SQLMCP_HOSTNoListen address.127.0.0.1
SQLMCP_PORTNoListen port.8765
SQLMCP_TOKENNoOne full-access bearer token, 16+ characters. Required without an access file.
SQLMCP_DB_URLNoBackend URL.sqlite:///data/demo.db
SQLMCP_MAX_ROWSNoRow limit per query.200
SQLMCP_AUDIT_LOGNoAudit file path.audit.log
SQLMCP_TIMEOUT_SNoQuery time limit, seconds.5
SQLMCP_ACCESS_FILENoAccess file with roles and token hashes; when set, SQLMCP_TOKEN is not used.
SQLMCP_AUDIT_BACKUPSNoNumber of old audit files to keep.5
SQLMCP_AUDIT_MAX_BYTESNoRotate at this size; 0 turns rotation off.5000000
SQLMCP_RATE_PER_MINUTENoDefault calls per minute per token, when the role or token sets none. 0 means no limit.0

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources