safesql-mcp
by cryptodeta
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Streamable HTTP transport host. | 127.0.0.1 |
| PORT | No | Streamable HTTP transport port. | 3000 |
| DATABASE_URL | No | Database connection URL (SQLite file path or postgres:// URL). | |
| SAFESQL_MODE | No | Allow data changes (write) or data and schema changes (admin); default is read-only. | read |
| SAFESQL_CONFIG | No | JSON config file path. | ./safesql.config.json |
| SAFESQL_MAX_ROWS | No | Rows per query page (maximum 10,000). | 100 |
| SAFESQL_AUDIT_LOG | No | JSONL audit log file, or off to disable. | ~/.safesql-mcp/audit.jsonl |
| SAFESQL_DB_<NAME> | No | Per-database connection URL variables, e.g. SAFESQL_DB_SHOP=./shop.db. Names default to the file or database name. | |
| SAFESQL_MAX_BYTES | No | Approximate bytes of rows per response. | 60000 |
| SAFESQL_EXPORT_DIR | No | Directory where export_query writes files. | ~/safesql-exports |
| SAFESQL_HTTP_TOKEN | No | Require Authorization: Bearer <token> on /mcp. | |
| SAFESQL_TIMEOUT_MS | No | Statement timeout in milliseconds. | 15000 |
| SAFESQL_MASK_EMAILS | No | Set to 1 to mask e-mails, e.g. jane@x.com becomes j***@x.com. | off |
| SAFESQL_MAX_AFFECTED_ROWS | No | Larger writes are rolled back. | 1000 |
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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues