sql-steward MCP
A governed SQL gateway for AI agents exposed over the Model Context Protocol. It prevents agents from writing raw SQL by compiling queries from a controlled semantic layer, refusing blocked PII before execution, and ensuring all calls are auditable. It supports SQL Server, Postgres, and SQLite.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Compile safe SELECT queries from a semantic layer
- Refuse PII fields before query execution
- Audit agent database interactions via hash-chained logs
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
sql-steward 0.4.0
{
"version": "0.4.0",
"transport": "stdio",
"identifier": "sql-steward",
"registryType": "pypi",
"environmentVariables": [
{
"name": "SQL_STEWARD_DB_URL",
"format": "string",
"isRequired": true,
"description": "SQLAlchemy URL of the database to read (read-only account recommended)"
},
{
"name": "SQL_STEWARD_LAYER",
"format": "string",
"description": "Path to the semantic layer YAML (default: semantic.yaml)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"sql-steward-mcp": {
"command": "uvx",
"args": [
"sql-steward==0.4.0"
],
"env": {
"SQL_STEWARD_DB_URL": "<YOUR_SQL_STEWARD_DB_URL>",
"SQL_STEWARD_LAYER": "<YOUR_SQL_STEWARD_LAYER>"
}
}
}
}Cline
{
"mcpServers": {
"sql-steward-mcp": {
"command": "uvx",
"args": [
"sql-steward==0.4.0"
],
"env": {
"SQL_STEWARD_DB_URL": "<YOUR_SQL_STEWARD_DB_URL>",
"SQL_STEWARD_LAYER": "<YOUR_SQL_STEWARD_LAYER>"
}
}
}
}VS Code
{
"servers": {
"sql-steward-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"sql-steward==0.4.0"
],
"env": {
"SQL_STEWARD_DB_URL": "<YOUR_SQL_STEWARD_DB_URL>",
"SQL_STEWARD_LAYER": "<YOUR_SQL_STEWARD_LAYER>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"sql-steward-mcp": {
"command": "uvx",
"args": [
"sql-steward==0.4.0"
],
"env": {
"SQL_STEWARD_DB_URL": "<YOUR_SQL_STEWARD_DB_URL>",
"SQL_STEWARD_LAYER": "<YOUR_SQL_STEWARD_LAYER>"
}
}
}
}Let your agent find its tools
Find servers like sql-steward MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.