{
  "markdown": "# FastMCP SQL Tools\n\nmcp-name: io.github.atarkowska/fastmcp-sqltools\n\nA Model Context Protocol (MCP) server built with FastMCP that provides SQL database access with support for PostgreSQL, MySQL, and SQLite.\n\n## Features\n\n- **list_tables**: List all tables in the database\n- **get_table_schema**: Get detailed schema information for a table including columns, types, constraints, and indexes\n- **execute_query**: Execute any SQL query (INSERT, UPDATE, DELETE, DDL, etc.)\n- **execute_safe_query**: Execute read-only SELECT queries with additional safety checks\n\n## Supported Databases\n\n- **PostgreSQL**: Full support via asyncpg\n- **MySQL**: Full support via aiomysql\n- **SQLite**: Full support via aiosqlite\n\nThe server automatically detects the database type from the `DATABASE_URL` environment variable.\n\n## Configuration\n\n[](https://github.com/atarkowska/fastmcp-sqltools/blob/main/README.md#configuration)\n\nAdd the following to your `claude_desktop_config.json`:\n\n```json\n{\n    \"mcpServers\": {\n        \"sql-mcp-tools\": {\n            \"command\": \"uvx\",\n            \"args\": [\n                \"fastmcp-sqltools\"\n            ],\n            \"env\": {\n                \"DATABASE_URL\": \"<your-database-url>\"\n            }\n        }\n    }\n}\n```\n\n### Database URL Format\n\nThe `DATABASE_URL` should be in one of the following formats:\n\n- **PostgreSQL**: `postgresql://user:password@host:port/database` or `postgres://user:password@host:port/database`\n- **MySQL**: `mysql://user:password@host:port/database`\n- **SQLite**: `sqlite:///path/to/database.db` (use three slashes for absolute path)\n\n\n## License\n\nThis project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).\nSee the LICENSE file for details.\n",
  "bytes": 1717,
  "sha": "d2b3a15140cb684f9f5d72d5e7653e2ca22b8b4115cfbafb4dc10033e86c3f98",
  "repo_slug": "atarkowska/fastmcp-sqltools",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_atarkowska_fastmcp_sqltools_35dcc00f/readme"
}