Published March 26, 2026 | Version v1
Technical note Open

Native Model Context Protocol (MCP) Server in an Embedded Database: Enabling AI Agent-Native Database Operations Without External Adapters

Authors/Creators

Description

We present an embedded database that natively implements the Model Context Protocol (MCP) as a built-in server endpoint, enabling AI agents to discover schemas, execute SQL queries, and invoke database tools via the MCP JSON-RPC interface without requiring external adapter processes. Existing MCP-database integrations use external adapter processes (Anthropic’s SQLite MCP server, DBHub, MCP-Alchemy) that run as separate processes wrapping the database. Oracle’s Autonomous AI Database MCP Server (GA December 2025) runs natively inside the database but is a heavyweight cloud-managed enterprise system. No embedded/lightweight database (SQLite-class) natively speaks MCP. Our implementation embeds the MCP server within the database process itself, exposing schema discovery, SQL execution, vector search, and document operations as MCP tools. The system implements the MCP JSON-RPC 2.0 specification including tool listing, tool invocation, and capability negotiation. This disclosure establishes prior art for native MCP integration in embedded databases.

Files

DP_cs_DB_MCP001.pdf

Files (272.3 kB)

Name Size Download all
md5:d18b138b9896ddfdee99663162dda7c8
272.3 kB Preview Download

Additional details

Software

Repository URL
https://github.com/dimensigon/HDB-HeliosDB-Nano/
Programming language
Rust
Development Status
Active