Skip to main content
Glama

MCP Database Server

by shailesh5050
MIT License
  • Apple
  • Linux

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSLNoEnable SSL connection for PostgreSQL or MySQL (true/false)
HOSTNoDatabase host name or IP address (when using PostgreSQL or MySQL)
PORTNoPort number (default: 1433 for SQL Server, 5432 for PostgreSQL, 3306 for MySQL)
USERNoUsername for database authentication (optional for SQL Server, used for PostgreSQL and MySQL)
SERVERNoSQL Server host name or IP address (when using SQL Server)
DATABASENoName of the database (when using SQL Server, PostgreSQL, or MySQL)
PASSWORDNoPassword for database authentication (optional for SQL Server, used for PostgreSQL and MySQL)
DATABASE_PATHNoPath to SQLite database file (when using SQLite)
DATABASE_TYPENoType of database to connect to (sqlite, sqlserver, postgresql, or mysql)
CONNECTION_TIMEOUTNoConnection timeout in milliseconds (default: 30000)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/shailesh5050/mcp-database-server'

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