safedb-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DATABASE_URL | Yes | Database connection URL. Example: postgres://readonly:password@localhost:5432/app |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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