Skip to main content
Glama
jinto

FastMCP MySQL Server

by jinto

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_DBNoDatabase name (optional)
MYSQL_HOSTNoDatabase host127.0.0.1
MYSQL_PORTNoDatabase port3306
MYSQL_USERYesDatabase username
MYSQL_PASSWORDYesDatabase password
MYSQL_CACHE_TTLNoCache TTL (ms)60000
MYSQL_LOG_LEVELNoLog level (DEBUG, INFO, WARNING, ERROR)INFO
MYSQL_POOL_SIZENoConnection pool size10
MYSQL_FILTER_MODENoFilter mode (blacklist/whitelist/combined)blacklist
MYSQL_ALLOW_DELETENoEnable DELETE queriesfalse
MYSQL_ALLOW_INSERTNoEnable INSERT queriesfalse
MYSQL_ALLOW_UPDATENoEnable UPDATE queriesfalse
MYSQL_CACHE_ENABLEDNoEnable query result cachingtrue
MYSQL_QUERY_TIMEOUTNoQuery timeout (ms)30000
MYSQL_CACHE_MAX_SIZENoMaximum cache entries1000
MYSQL_RATE_LIMIT_RPMNoRate limit requests per minute60
MYSQL_ENABLE_SECURITYNoEnable all security featurestrue
MYSQL_MAX_QUERY_LENGTHNoMaximum query length in characters10000
MYSQL_RATE_LIMIT_BURSTNoBurst size for rate limiting10
MYSQL_AUDIT_ALL_QUERIESNoAudit all queries (performance impact)false
MYSQL_LOG_SECURITY_EVENTSNoLog security violationstrue
MYSQL_PAGINATION_MAX_SIZENoMaximum page size1000
MYSQL_ENABLE_RATE_LIMITINGNoEnable rate limitingtrue
MYSQL_LOG_REJECTED_QUERIESNoLog rejected queriestrue
MYSQL_MAX_PARAMETER_LENGTHNoMaximum parameter length1000
MYSQL_RATE_LIMIT_ALGORITHMNoRate limiting algorithm (token_bucket/sliding_window/fixed_window)token_bucket
MYSQL_STREAMING_CHUNK_SIZENoStreaming query chunk size1000
MYSQL_CACHE_EVICTION_POLICYNoCache eviction policy (lru/ttl/fifo)lru
MYSQL_CACHE_CLEANUP_INTERVALNoCache cleanup interval (seconds)60.0
MYSQL_CACHE_INVALIDATION_MODENoCache invalidation strategyaggressive
MYSQL_PAGINATION_DEFAULT_SIZENoDefault page size10
MYSQL_ENABLE_INJECTION_DETECTIONNoEnable SQL injection detectiontrue

Capabilities

Server capabilities have not been inspected yet.

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/jinto/fastmcp-mysql'

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