Koskamo

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.

sql-steward MCP logo, by govern-agentsCommunity listingLocal stdioSource reviewed; not executedPublished by govern-agents
You need:pip install sql-steward
Vendor documentation

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

Community listingRegistry 0.4.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

sql-steward 0.4.0

pypi
sql-steward package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.