Skip to main content
Glama
db-readonly-mcp

db-readonly-mcp

by calmjade

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--demoNoStart the built-in in-memory SQLite demo database (suppliers, products, customers, orders). No external database required.
--mysqlNoMySQL connection URL, e.g. mysql://readonly_user:password@127.0.0.1:3306/app_db. Session is forced READ ONLY with query timeout.
--sqliteNoLoad a local .sqlite / .db file in read-only mode (opened with PRAGMA query_only = ON and never written back to disk).
--max-rowsNoDefault maximum number of returned rows (default 200, hard cap 1000).
--postgresNoPostgreSQL connection URL, e.g. postgres://readonly_user:password@127.0.0.1:5432/app_db. Session is forced READ ONLY with statement_timeout.
--audit-logNoPath to write JSONL audit log recording each tool call and blocked query.

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