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 |
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 | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/YusuffEren/text2sql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server