Unlock real-time access for AI agents with SQL++ and the Model Context Protocol (MCP)

As autonomous AI agents become more powerful and pervasive, developers need ways to securely and reliably connect these agents to operational and analytical data. Whether you’re building customer service agents, intelligent dashboards, or agentic workflows, data access is the backbone of intelligence.

That’s why we’re excited to announce that Couchbase is now officially supported in the Google MCP Toolbox for Databases.

Google MCP Toolbox for Databases

This integration empowers developers to accelerate the development of agentic AI applications by bridging the gap between Couchbase’s high-performance, flexible NoSQL database and the MCP standard for tool-based agent orchestration. By leveraging Couchbase within the MCP Toolbox, teams can unlock intelligent data-driven workflows that are secure, scalable, and context-aware. Developers no longer need to spend time building custom connectors or managing complex access logic. Now they can focus on building smarter agents that query and act on operational data with minimal friction. This integration brings the performance, flexibility, and real-time capabilities of Couchbase to the emerging ecosystem of Model Context Protocol (MCP)-compatible AI tools.

Why Couchbase + MCP Toolbox matters for developers

The Google MCP Toolbox for Databases acts as an MCP server, allowing AI agents to interact with structured data through declarative tool definitions, without the need to expose databases directly or write custom integration code for each use case.

By adding Couchbase support, developers gain:

    • Rich document modeling with sub-document access and flexible schemas.
    • Built-in scalability and sync for edge, mobile, and distributed applications.
    • MCP compatibility, enabling AI agents to reason over and query Couchbase data via secure, standardized tool interfaces.

Now, agents can issue natural-language queries that get converted into SQL++ tool calls behind the scenes, without hardcoding logic, creating custom APIs, or exposing database credentials.

How it works

The Google MCP Toolbox for Databases is an open-source MCP server that connects AI orchestration layers (like LangChain, LangGraph, or Anthropic’s Claude) to database-backed tools.

To configure Couchbase access, you define your data sources and tools in a YAML config file:

Sample tools.yaml

Once deployed, your AI agents can invoke get-customer-orders by passing the email parameter, and the MCP Toolbox will translate the request into a secure SQL++ query against Couchbase.

Agentic use cases for Couchbase + MCP

Conversational BI dashboards

Build agents that generate dynamic dashboards and metrics by querying Couchbase for business insights. Couchbase’s SQL++ support allows complex aggregations and JOINs, even across flexible schemas.

      • Example: “What were the top 10 product categories last quarter by revenue?”

E-Commerce Agent Assistants

Serve product recommendations, inventory checks, and order histories from JSON documents in Couchbase. Support fast lookups and full-text search to guide users in real-time.

      • Example: “Show me available trail running shoes under $120 in size 11.”

IoT and Edge Analytics

Couchbase Mobile and Sync Gateway bring real-time data from edge devices into Couchbase. Agents can analyze telemetry, spot anomalies, or initiate remediation workflows using SQL++ queries.

      • Example: “List sensors with temperature fluctuations over 10 degrees in the past hour.”

Secure Customer Copilots

Build personalized agents that help users understand their own data—finances, activity, healthcare, etc.—by securely scoping SQL++ queries to their identity context.

      • Example: “Summarize my recent transactions and categorize them.”

LangChain + Couchbase via MCP: integration example

Here’s how you can wire Couchbase tools into a LangChain agent via MCP Toolbox:

Built for production

The MCP Toolbox for Databases offers production-grade features out of the box:

    • Config-driven deployment with zero downtime
    • Connection pooling and retry logic
    • OAuth2 / OIDC auth for secure access
    • OpenTelemetry support for metrics and traces
    • Support for multiple databases from a single config

You can deploy the toolbox as a microservice alongside your orchestration layer (e.g. in GKE, Cloud Run, or Kubernetes Anywhere).

Get started

In summary

With this new integration, Couchbase joins the growing list of production-ready backends in the Google MCP ecosystem. Developers now have a fast, scalable, and secure way to enable AI agents to access NoSQL document data using standardized protocols.

This lowers the barrier to building intelligent applications that react in real-time to user inputs, contextual data, and live system states, all powered by Couchbase and governed by the open MCP standard.

Author

Posted by Yves Laurent - Director, Cloud Native Technology Ecosystems

Leave a reply