Text2SQL-MCP
by YusuffEren
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_ROWS | No | Maximum rows returned | 1000 |
| LOG_LEVEL | No | Log level | INFO |
| MAX_RETRIES | No | LLM query retry count | 3 |
| POSTGRES_DB | Yes | Database name | chinook |
| POSTGRES_HOST | Yes | PostgreSQL server address | localhost |
| POSTGRES_PORT | Yes | PostgreSQL port | 5432 |
| POSTGRES_USER | Yes | Read-only user | llm_reader |
| GEMINI_API_KEY | Yes | Google Gemini API key (required for pipeline, may be needed for some server functions) | |
| EMBEDDING_MODEL | No | SentenceTransformers model name | all-MiniLM-L6-v2 |
| POSTGRES_PASSWORD | Yes | User password | llm_reader_pass_123 |
| QUERY_TIMEOUT_SEC | No | Query timeout in seconds | 30 |
| CHROMA_PERSIST_DIR | No | ChromaDB persistent data directory | ./chroma_data |
| CONFIDENCE_THRESHOLD | No | Pipeline confidence score threshold | 60 |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityStale
ResponsivenessNo issues