Skip to main content
Glama
renanlido

Custom MCP Database Server

by renanlido

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
db_list_aliasesA

List every configured database alias and its type.

Returns: {"aliases": [{"alias": str, "type": "postgres|mysql|mongo|oracle"}, ...]}

db_list_collectionsA

List all collections for a configured MongoDB alias.

Returns: {"collections": [str, ...]}

db_execute_queryA

Run a query against a configured database.

SQL (postgres/mysql/oracle): pass the SQL string in query and optional bind values in params (use the driver's placeholder style; Oracle uses :name). Add your own LIMIT/WHERE to keep results small.

MongoDB: pass a JSON filter object in query and the collection name. 24-char hex strings are coerced to ObjectId; empty filters are rejected; results are capped at limit documents (default 10).

Returns: {"data": [...], "row_count": int} (plus "error" on a rejected empty Mongo filter)

db_security_statusA

Report the active security policy.

Returns: {"readonly": bool, "allow_writes": bool, "allow_ddl": bool, "max_rows": int, "mongo_javascript_blocked": bool}

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/renanlido/custom-mcp-database'

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