fastmcp-sqltools
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DATABASE_URL | Yes | Database URL in one of the following formats: PostgreSQL: postgresql://user:password@host:port/database, MySQL: mysql://user:password@host:port/database, SQLite: sqlite:///path/to/database.db |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_tablesB | List all tables in the specified schema. |
| get_table_schemaB | Get the schema (column definitions) for a specific table. |
| execute_queryB | Execute a SQL query and return results. WARNING: This can execute any SQL including DDL and DML statements. |
| execute_safe_queryA | Execute a read-only SQL query (SELECT only). This is safer than execute_query as it prevents data modification. |
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/atarkowska/fastmcp-sqltools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server