
Connect an MCP host to an OriginChainDB tenant through four tools: SQL, vector search, full-text search, and schema discovery.
Public tool metadata for what this MCP can expose to an agent.
oc_sqlRun a SQL statement against the OriginChain tenant; database permissions govern what is allowed. Returns the engine response as JSON. OC_MCP_READONLY=true applies a SELECT-prefix filter to this tool only; it is not a database authorization boundary.Run a SQL statement against the OriginChain tenant; database permissions govern what is allowed. Returns the engine response as JSON. OC_MCP_READONLY=true applies a SELECT-prefix filter to this tool only; it is not a database authorization boundary.
No parameter schema in public metadata yet.
oc_vector_topkVector similarity search. Returns the top-k nearest rows in `table` to the supplied query vector.Vector similarity search. Returns the top-k nearest rows in `table` to the supplied query vector.
No parameter schema in public metadata yet.
oc_fts_searchFull-text search over an indexed string field in `table`, using the engine's default search mode. Response shape depends on that mode.Full-text search over an indexed string field in `table`, using the engine's default search mode. Response shape depends on that mode.
No parameter schema in public metadata yet.
oc_list_schemasList all schema IDs registered in the tenant. Use this for discovery before issuing typed queries.List all schema IDs registered in the tenant. Use this for discovery before issuing typed queries.
No parameter schema in public metadata yet.
Sponsors
OC_HOSTDatabase origin, such as https://your-database-host.
OC_TENANTTenant identifier.
OC_TOKENsecretBearer token accepted by that database.
Connect an MCP host to an OriginChainDB tenant through four tools: SQL, vector search, full-text search, and schema discovery. The host starts this Node.js process and communicates over stdin/stdout. The process sends HTTP requests to your database; it does not start an HTTP MCP server.
See the SDK support matrix for the current source version, earlier preview and tested scope. Graph queries are not exposed as a dedicated MCP tool; use a language SDK when you need graph traversal methods.
| Path | Purpose |
|---|---|
src/ | MCP tools, connection configuration and HTTP transport. |
test/ | Real stdio protocol tests against a local HTTP fixture. |
examples/ | Runnable MCP client for SQL, full-text, vector and schema tools. |
scripts/ | Preview verification and publication tooling. |
.github/workflows/ | Source, installed-package and release checks. |
@originchain/mcp-server