🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@database-mcp/core

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@database-mcp/core

Engine-agnostic core for database-mcp MCP servers: protocol layer, adapter interface, guardrails, SQL guard

Source
npmnpm
Version
0.3.1
Version published
Weekly downloads
165
-55.65%
Maintainers
1
Weekly downloads
 
Created
Source

@database-mcp/core

Engine-agnostic core for database-mcp MCP servers: the protocol layer, the DatabaseAdapter interface, guardrails, config loading, and the SQL guard.

You probably want an engine package instead (@database-mcp/sqlite, @database-mcp/mysql, and so on). Each is a thin adapter on top of this core.

Writing an engine package

Implement DatabaseAdapter, then:

#!/usr/bin/env node
import { loadConfig, serve } from "@database-mcp/core";
import { MyAdapter } from "./adapter.js";

const config = loadConfig(process.argv.slice(2), process.env, { dsnEnvVar: "MYENGINE_DSN" });
await serve(new MyAdapter(config.dsn), config, "0.1.0");

Conformance is the definition of done: your package is correct when the shared suite in the repo passes against it.

License

MIT

Keywords

mcp

FAQs

Package last updated on 12 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts