# Raw SQL MCP server

> Execute raw, parameterized, and scalar SQL queries against SQL Server, SQLite, PostgreSQL, MySQL, and MariaDB.

- Repository: https://github.com/KifoPL/RawSqlMcp
- Page: https://hostedmcp.org/servers/kifopl/rawsqlmcp
- Transport: stdio
- Stars: 0
- License: AGPL-3.0
- Latest version: 0.1.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `RawSqlMcp__ConnectionStrings__Default` | no | yes | Obsolete. Use provider and connection string database settings instead. |
| `RawSqlMcp__Databases__Default__ConnectionString` | no | yes | Connection string for the named database. |
| `RawSqlMcp__Databases__Default__Provider` | no | no | Database provider. Values: sqlserver, sqlite, postgres, postgresql, mysql, mariadb. |

## FAQ

### Which database engines are supported?

The server supports SQL Server, SQLite, PostgreSQL, MySQL, and MariaDB.

### How do I configure multiple databases?

Databases are configured using environment variables following the pattern RawSqlMcp__Databases__[Name]__[Property].

### What tools does the server provide?

The server allows you to list configured databases, read schema metadata, and execute raw, parameterized, or scalar SQL queries.
