Skip to main content
Glama
mcp-database

mcp-database

by aranshayan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLYesConnection string for the database. Use a read-only database account. Examples: postgres://user:pass@host:5432/db, mysql://user:pass@host:3306/db, sqlite:///absolute/path/app.db, or ./app.db.
MCP_DATABASE_MAX_ROWSNoMaximum number of rows returned per query. Maximum allowed value is 5000. Equivalent to the --max-rows option.200
MCP_DATABASE_ALLOW_DDLNoSet to 1, together with read-write mode, to also permit CREATE / ALTER / DROP / TRUNCATE statements. Equivalent to the --allow-ddl flag.off
MCP_DATABASE_READ_WRITENoSet to 1 to enable the execute tool for INSERT / UPDATE / DELETE statements. Equivalent to the --read-write flag.off
MCP_DATABASE_TIMEOUT_MSNoStatement timeout in milliseconds. Equivalent to the --timeout-ms option.15000

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