enginiq-mcp
v1.0.2
Published
MCP server for EnginiQ database tools
Maintainers
Readme
EnginiQ MCP
EnginiQ MCP exposes the safe Postgres runtime in EnginiQ over the Model Context Protocol.
It is designed for IDE agents and MCP-compatible hosts such as Cursor or Claude Desktop integrations.
Install
npm install enginiq-mcpUse this package when you want IDE agents to call guardrailed Postgres tools instead of generating raw SQL on their own.
Configuration
The MCP server resolves the database URL in this order:
ENGINIQ_DATABASE_URLDATABASE_URL.enginiqrc.jsonin the current working directory.enginiqrc.jsonone directory up
Run locally
export ENGINIQ_DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres"
node dist/index.jsThe server uses stdio, so it is typically launched by an MCP host rather than directly by a user.
Exposed tools
list_tablesdescribe_tableget_schemacreate_tableadd_columnrun_migrationquery
Tool shape
The MCP server exposes JSON-schema input definitions for each tool and forwards calls into enginiq-core.
For example, add_column accepts:
{
"table_name": "posts",
"column_name": "title",
"column_type": "text"
}Internally, that is mapped to the core tool contract before execution.
Guardrails
EnginiQ MCP inherits the same SQL guardrails as enginiq-core, including protections against dangerous DDL and protected table prefixes.
