SQL Server + Memtro

Ask questions of SQL Server and Azure SQL, safely.

Memtro connects to Microsoft SQL Server or Azure SQL with a read-only login and lets the model explore tables and run T-SQL. Only single SELECT statements are accepted, requests time out after 20 seconds and results stop at the row cap, so the model can answer from your data without ever changing it. On-prem servers can be reached through an SSH bastion.

In Memtro

What you can do with SQL Server in Memtro

Ask in plain English from chat, your editor, a scheduled job or your own agent. The model picks the right SQL Server tool, reads what it needs, and answers with the source cited.

Reads

  1. 01List tables and columns across chosen schemas
  2. 02Run SELECT and WITH (CTE) queries with TOP or OFFSET/FETCH
  3. 03Reject anything that is not a plain read before it reaches the server
  4. 04Connect to on-prem instances, named instances and Azure SQL over TLS, or through an SSH tunnel
In practice

Ask it like you would a colleague

Once SQL Server is connected, these are the kinds of things people ask. Plain questions, no syntax. If the answer lives partly in another system you have connected, Memtro looks there too.

SQL Server + Memtro
  • What were total sales by region last quarter?

  • Which invoices in dbo.Invoices are more than 60 days overdue?

  • Describe the columns of the Customers table

  • Show the 50 most recent support tickets with the customer's email

01

Questions, not dashboards

Ask for total sales by region last quarter; Memtro reads the schema, writes the T-SQL, runs it with a db_datareader login and shows the query.

02

Safe by construction

Only single SELECT statements run, with a timeout and a streamed row cap, through an SSH tunnel if the server is private.

Teams

Where it fits

The teams that lean on SQL Server most, a question each of them asks, and what they connect beside it.

Better together

Works with

A record in SQL Server is rarely the whole story. Connect the systems that hold the rest and Memtro checks them together, then remembers what it learned so the next question starts further along.

Setup

How to connect

Connect withConnection string, optional SSH tunnel
  1. 1

    Create a read-only login and user: CREATE LOGIN memtro_reader WITH PASSWORD = '…'; CREATE USER memtro_reader FOR LOGIN memtro_reader; ALTER ROLE db_datareader ADD MEMBER memtro_reader;

  2. 2

    In Memtro choose SQL Server and paste Server=host,1433;Database=db;User Id=memtro_reader;Password=…;Encrypt=true (or an mssql:// URL); add SSH tunnel details for a private server

  3. 3

    Optionally list the schemas to expose, then save; Memtro checks the connection and server version

Also works from

Chat in the dashboard, the OpenAI-compatible API, scheduled jobs, and any MCP client: Claude Code, OpenCode, Cursor, Claude Desktop. The SQL Server tools are the same everywhere.

FAQ

Questions

Can Memtro change anything in SQL Server?+

Not yet. Today every SQL Server tool reads, searches or lists. When the connector gains actions, each is marked, granted by name per team and used only when a person asks for exactly that, so nothing is created, sent, updated or deleted until you say so.

Who can use a SQL Server connection?+

A personal connection serves only your own requests. A shared connection serves the organisation: everyone, or only the teams an admin chooses. Admins can always add shared connections; other members need the permission.

Does Memtro store my SQL Server data?+

Credentials are encrypted at rest. Tool results are cached briefly so agent loops do not repeat identical calls, and the facts the model extracts are saved to your organisation's memory with provenance (system, record and link) so they can be checked and superseded.

How do I connect SQL Server?+

Connection string, optional SSH tunnel. Create a read-only login and user: CREATE LOGIN memtro_reader WITH PASSWORD = '…'; CREATE USER memtro_reader FOR LOGIN memtro_reader; ALTER ROLE db_datareader ADD MEMBER memtro_reader;.

Connect SQL Server in a few minutes

Seven-day free trial, then one monthly price per organisation. Connectors, jobs and memory are never metered.

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time