MCP Database Server
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
Connector by Souhar-dya · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/souhar-dya-mcp-db-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 26, 2026.
- Tools
- 4 read · 4 write · 1 delete · 3 not yet classified
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Docker image
Tools by what they do 12
Read from the source code; the running server may list different tools.
Read 4 · Look things up without changing anything.
describe_tableget_connection_examplesget_current_database_infolist_tables
Write 4 · Create, change, send or run things.
create_tableexecute_unsafe_sqlinsert_dataupdate_data
Delete 1 · Delete, drop, revoke or wipe things.
delete_data
Not yet classified 3 · We could not tell from the name and description.
connect_to_databaseexecute_sqlquery_database
Secrets and settings it asks for
Other settings (environment variables or headers).
DATABASE_URL
Network hosts it talks to 1
github.com· found in code
Files it touches
C:\\Users\\kundu\\Desktop\\Projects\\Proj\\MCP\\mcp-db-server\\mcp_server.py
Tools (12)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
connect_to_databaseConnect to a different database dynamically. Args: database_url: Database connection URL (e.g., sqlite+aiosqlite:///path/to/db.db, postgresql+asyncpg://user:pass@host:port/db) Returns: Connection status and available tables
create_tableCreate a new table in the database. Args: table_name: Name of the table to create columns_definition: Column definitions (e.g., "id INTEGER PRIMARY KEY, name TEXT NOT NULL, age INTEGER") Returns: Success message or error details
delete_dataDelete data from a table. WARNING: This will permanently delete data! Args: table_name: Name of the table to delete from where_condition: WHERE clause condition (e.g., "id = 1" or "age > 65"). If empty, ALL rows will be deleted! Returns: Success message with number of rows deleted
describe_tableGet the schema/structure of a specific database table. Args: table_name: Name of the table to describe Returns: The table schema with column names, types, and constraints
execute_sqlExecute a raw SQL query on the database. Args: sql_query: The SQL query to execute Returns: The query results formatted as text
execute_unsafe_sqlExecute any SQL query without safety restrictions (allows CREATE, DELETE, INSERT, DROP, etc.). WARNING: This tool can modify or delete data. Use with caution! Args: sql_query: Any SQL query including CREATE, INSERT, UPDATE, DELETE, DROP operations Returns: The query results or success message for modification operations
get_connection_examplesGet examples of database connection URLs for different database types. Returns: Examples of connection strings for various databases
get_current_database_infoGet information about the currently connected database. Returns: Current database connection details and statistics
insert_dataInsert data into a table. Args: table_name: Name of the table to insert into columns: Column names (e.g., "name, age, email") values: Values to insert (e.g., "'John Doe', 30, 'john@example.com'") Returns: Success message with number of rows affected
list_tablesList all tables in the database. Returns: A list of all available tables with their column counts
query_databaseExecute a natural language query on the database. Args: query: Natural language description of what you want to query Returns: The query results formatted as text
update_dataUpdate data in a table. Args: table_name: Name of the table to update set_clause: SET clause (e.g., "name = 'New Name', age = 25") where_condition: WHERE clause condition (e.g., "id = 1"). If empty, ALL rows will be updated! Returns: Success message with number of rows updated
Compare and alternatives
Featured in
Signals
- Stars
- 19
- Forks
- 14
- Open issues
- 0
- Contributors
- 2
- Last commit
- Sep 13, 2026 (1 month ago)
- Last release
- Sep 13, 2026 (1 month ago)
- Last package publish
- Sep 13, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.Souhar-dya/mcp-db-server- Version
- 1.3.1
- Auth
- No auth
- Packages
- oci
docker.io/souhardyak/mcp-db-server:1.3.1 - License
- License unknown
- Repository
- github.com/Souhar-dya/mcp-db-server
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
MCP Database Server. Agent Mart. https://agentmart.dev/connectors/souhar-dya-mcp-db-server (last updated 2026-10-24)