Skip to main content
Glama
narekmalk

safedb-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLYesDatabase connection URL. Example: postgres://readonly:password@localhost:5432/app

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_schemas

List database schemas allowed by the SafeDB policy.

list_tables

List allowed tables in an allowed schema.

describe_table

Describe columns for an allowed table and show configured masks.

run_readonly_query

Run a guarded read-only SELECT query against allowed tables.

explain_query

Run a guarded EXPLAIN SELECT query against allowed tables.

get_safedb_policy

Return the effective SafeDB safety policy without secrets.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/narekmalk/safedb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server