run_query
Execute a read-only query against any connected database and get results back. Writes are blocked by default and require an explicit grant.
Runs read-only SQL against your connected databases and reads back the schema so the queries match your data model.
LABSCO SUMMARY
Most database MCP servers hand an agent a SQL socket and rely on prompting for safety. This one blocks writes at the server and meters queries per key, which turns 'the agent can query production' from a policy into a limit. The schema tool matters more than it looks: without it a model guesses column names, and the query fails for reasons that have nothing to do with the question.
Ai2sql's hosted endpoint. It holds the database connections; the agent asks for a query and gets rows back. Writes are blocked by default, so a bad prompt cannot change data.
An API key sent as a bearer token; keys are scoped and metered individually. Plans start at $9/mo for 100 queries and 10 tables, with a 7-day trial; Oracle, MongoDB and BigQuery come in at the $24 tier.
Paste a URL with a key — add the endpoint to your client
USE CASES
Ask in business terms; it reads the schema first so the generated query uses the columns that actually exist, then runs it read-only.
List the connections tied to the current key before granting it to anything.
Metered, read-only access means handing out a scoped key is a bounded decision rather than a database grant.
Listed in project docs. Your client may show a different list.
run_queryExecute a read-only query against any connected database and get results back. Writes are blocked by default and require an explicit grant.
describe_schemaTables, columns and relationships, so generated SQL matches your data model.
list_connectionsEnumerate the databases available to the current API key.
BEFORE YOU INSTALL
3 tools named in the project's documentation.
INSTALLATION
Add the endpoint to your client.
https://builder.ai2sql.io/api/mcp