Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost to bind for SSE/HTTP transports127.0.0.1
MCP_PORTNoPort to bind for SSE/HTTP transports8000
MCP_SSE_MOUNTNoOptional mount path for SSE transport (e.g., /mcp)
MCP_TRANSPORTNoTransport protocol: stdio, sse, or streamable-httpstdio
DATABASE_READONLYNoEnable read-only mode (prevents INSERT, UPDATE, DELETE, etc.). Set to 'true', '1', or 'yes' to enable.
DATABASE_CONNECTION_STRINGYesMySQL connection string (format: mysql://user:password@host:port/database)
DATABASE_STATEMENT_TIMEOUT_MSNoQuery timeout in milliseconds

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

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/judyfang0108/MCP-SQL'

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