How to connect a database securely using MCP
A practical architecture for connecting corporate databases to AI agents through scoped tools, enforced authorization and reviewable execution.
Rashid Azarang connects enterprise data with AI agents and builds the evaluation and evidence systems that make their behavior reviewable.
Secure database integration through MCP, agent auditability, agentic workflow integrity and automated LLM evaluation. Start with a technical guide, then inspect the case studies, open-source work and research behind it.
A practical architecture for connecting corporate databases to AI agents through scoped tools, enforced authorization and reviewable execution.
How to assess an engineer and architecture for connecting enterprise databases to reliable agent systems under real traffic.
How to make an AI agent’s permissions, tool calls, sources and outcomes inspectable after execution.
How to preserve the identity of an agent workflow across configuration, evaluation, approval and deployment.
Build useful evaluation gates with golden cases, deterministic checks, calibrated judges and isolated state.
Rashid Azarang, a senior AI engineer in Monterrey, explains three decisions from his work on university agents, Mentu Navigator and ChatGPT Chat Exporter. Each comes with evidence you can inspect.
A practical guide to agent memory: the tiers an agent can reach, what to keep loaded, what to search on demand and what my retrieval study measured.
A practical guide to the agent harness: what wakes each agent, what it reads, where its work goes and how to build one around a real manual step.
How to register a prompt as a file in the repository, run it on a schedule, choose the model by the kind of work and publish each report to one stable link.
An order of work for bringing AI into a company: make the process explicit, name the risks, and widen the autonomy of agents as the structure supports it.
A practical guide to connecting an Airtable base to an AI agent through MCP: the token, the tools for tables and records, and when to allow writes.
What an AI agent needs from company data, when a sync between two systems is enough, when a warehouse is needed and how to build the platform step by step.
How to build outbound as a measured system: a warmed sending subdomain, prospects with a source for every field and a gate that can refuse a send.
A hiring plan for companies: decide what the AI engineer will own, choose between full-time, contract and an agency, replace the puzzle with a paid work sample, and set up the first month so the hire ships.
How an engineering team turns the NIST AI Risk Management Framework and ISO/IEC 42001 into controls that run with the system: evaluation gates, permission limits, change control and audit trails, with the evidence each one leaves.
A guide for US teams: what nearshore means for an AI role, the four ways to engage an engineer in Mexico, what the cost is made of, how to test for production judgment across a border, and how to set up the first month.
My contribution: Released the agent workflow runner, reviewed an adapter with a contributor and corrected approval handling.
What this supports: The case links the release, design discussion, correction and example recipes at a fixed revision.
What it does not establish: The examples demonstrate execution and verification on the documented inputs.
Source reviewed:
My contribution: Built the Chrome extension and MCP server that let an agent record a browser workflow.
What this supports: The Chrome Web Store names the developer. The repository includes an end-to-end reconnection test.
What it does not establish: The test covers browser recording across an MCP disconnect.
Source reviewed:
My contribution: Built and documented the cloud-facing gateway path, registration artifacts, smoke checks and evidence export.
What this supports: Public implementation account covering transport, caller identity, secrets and tool-call evidence.
What it does not establish: The case study is not an independent security audit or a published concurrency benchmark.
Source reviewed:
My contribution: Built an open-source MCP integration for querying and editing Airtable bases.
What this supports: A concrete database-to-agent integration with a linked public repository.
What it does not establish: An integration example, not evidence that arbitrary corporate databases or tenant policies are secured by default.
Source reviewed:
My contribution: Built the evaluation harness, calibrated LLM judging, isolated case state and environment-specific evaluation gates.
What this supports: The public account describes golden cases as code, a calibrated LLM judge and the evaluation harness around them, on a Google Cloud agent stack.
What it does not establish: The case documents evaluation design and release checks. Published usage figures for the agents are unavailable.
Source reviewed:
My contribution: Worked on MongoDB migration, data modeling and the analytics application described in the case study.
What this supports: Experience integrating corporate data and building its application layer.
What it does not establish: Reported record volumes and page timings are case-study claims, not an agent load test.
Source reviewed:
My contribution: Authored a public preprint on accountability structures in agentic software engineering, with code and study records linked from the research index.
What this supports: Research on binding evaluated behavior to deployed behavior and checking the evidence behind promotion.
What it does not establish: A preprint with a dated public-material study; not a certification of any production system.
Source reviewed:
My contribution: Authored the runtime model separating graph construction, qualification, admission, execution and evidence.
What this supports: A published conceptual model for reasoning about executable identity and workflow lifecycle.
What it does not establish: A model and reference representation, not a throughput or reliability guarantee.
Source reviewed:
My contribution: Authored a pre-registered study and public replication of agent retrieval routing.
What this supports: Evaluation methodology with a released corpus, frozen questions, harness and adjudicator.
What it does not establish: Results concern the studied document corpus and routing policies, not all RAG or agent systems.
Source reviewed:
My contribution: Designed and built what the case study describes: the sending infrastructure, a prospecting engine and the funnels that receive the replies.
What this supports: A method whose parts are written down and can be inspected: a scoring rubric under version control and deliveries, opens and replies measured per message.
What it does not establish: It reports the method. It does not establish how replies turn into signed contracts across companies.
Source reviewed:
My contribution: Built the platform of a lean manufacturing practice: an open documentation corpus, two working tools, a retrieval assistant grounded in that corpus and an MCP server.
What this supports: Putting AI on top of a documented method, so that people and agents read the same material.
What it does not establish: It is the public platform of a consultancy, not an adoption programme run inside a client company.
Source reviewed:
My contribution: Built a kit of skills, a document generator and a brand file that make Codex, Claude Code, the Claude app and ChatGPT produce the quotes, proposals, decks and email drafts of a firm the same way every time.
What this supports: Rules that live in code: a missing price makes a draft, invalid data stops the generator and a version is never overwritten, with unit tests and trials by agents that had never seen the kit.
What it does not establish: Delivered on 28 November 2026, with no usage record yet. The email rules are instructions rather than code, and the files were not opened in Microsoft Office.
Source reviewed:
My contribution: Built the sales platform of a lubricants distributor in one application: public site, quote form, team CRM, client portal, technical assistant and MCP server, then handed it to the team and its own agent.
What this supports: A path from search to request to quote that is read from Search Console and the request records, and a CRM that the assistants of the team operate as each person.
What it does not establish: The case reports no revenue, no quote time and no attribution of requests to a channel, and its outbound results are not published.
Source reviewed:
My contribution: Authored the preprint that defines outbound as a measured system and reports the record of three programs I ran: each send, the verdict of its gate and its outcome.
What this supports: A field record read from the operator store, with its schema published: 4,719 sends, 0.49 percent hard bounces, zero complaints, 88 replies and no meeting.
What it does not establish: One operator, one country and six weeks, with no comparison arm. No efficacy result is claimed and nothing was pre-registered.
Source reviewed:
Services for companiesQuestions and answersBy region and cityAI agents on Google CloudResearch and publicationsCVDiscuss your agent system