taurusdb-mcp
v0.5.0-rc.11
Published
TaurusDB MCP server for Claude, Cursor, VS Code, and other MCP clients.
Downloads
69
Maintainers
Readme
taurusdb-mcp
TaurusDB MCP server for MCP clients such as:
- Claude Code
- Codex
- Cursor
- VS Code
Install
npm install taurusdb-mcp@latestRun directly with:
npx -y taurusdb-mcp --versionUse this command in MCP client configs:
{
"command": "npx",
"args": ["-y", "taurusdb-mcp"]
}Configure Huawei Cloud identity through the operating-system credential store before adding the server. AK/SK values should not be copied into MCP client configuration:
npx -y taurusdb-mcp credentials configure
TAURUSDB_CLOUD_KEYCHAIN_SERVICE=taurusdb-mcp/huaweicloud \
npx -y taurusdb-mcp credentials checkClaude Code:
claude mcp add huaweicloud-taurusdb \
--transport stdio \
-e TAURUSDB_CLOUD_REGION=<your-region> \
-e TAURUSDB_CLOUD_KEYCHAIN_SERVICE=taurusdb-mcp/huaweicloud \
-- npx -y taurusdb-mcpCodex:
codex mcp add huaweicloud-taurusdb \
--env TAURUSDB_CLOUD_REGION=<your-region> \
--env TAURUSDB_CLOUD_KEYCHAIN_SERVICE=taurusdb-mcp/huaweicloud \
-- npx -y taurusdb-mcpInteractive connection flow:
- Call
list_cloud_taurus_instances. - Call
select_cloud_taurus_instance. - Open the returned
login_urlin a browser and enter the database credentials. - Continue with
list_databases,set_default_database, and readonly tools.
The browser submits credentials directly to the loopback MCP process. They are not sent through Agent-visible tool arguments or persisted by MCP.
Initialize local MCP client config:
npx taurusdb-mcp init --client claude
npx taurusdb-mcp init --client cursor
npx taurusdb-mcp init --client vscodeConfigure and verify the operating-system credential store:
npx taurusdb-mcp credentials configure
npx taurusdb-mcp credentials checkNotes
- Requires Node.js
>= 20 - Depends on
taurusdb-core - Interactive clients do not need database usernames or passwords in MCP configuration
- Unattended static deployments may use
env:,file:,hw-csms:,hw-kms:, orhw-kms-file:password references - macOS Keychain, Linux Secret Service, or Windows Credential Manager cloud identity is enabled with
TAURUSDB_CLOUD_KEYCHAIN_SERVICE - SQL TLS with certificate verification is required by default
- General database mutation tools do not exist; the Agent-facing operating plane remains read-only regardless of database account privileges
restore_recycle_bin_tableis visible by default and directly restores one exact recycle-bin object to one explicit non-existing destination after readonly preflight; it uses the active in-memory SQL session, post-verifies the destination, and writes audit evidence without a browser approval stepanalyze_mutation_sqlreturns evidence-backed SQL Advice withexecution_status: not_executed- Selecting a cloud instance returns a local SQL login link immediately; login validates the connection before binding credentials, allows at most three attempts per five-minute link, and never sends the password through Agent-visible tool arguments
- Interactive instance selection binds the read/write public IP and fails immediately when the instance has no public IP; it never falls back to a VPC-private address that a local MCP client cannot route to
- Before issuing a login link, instance selection performs a credential-free TCP endpoint preflight and returns actionable security-group/network guidance when the public database port is unreachable
- Login validation distinguishes unreachable endpoint, refused port, TLS, authentication, and database validation timeout failures instead of returning a generic HTTP 504
- Recoverable login errors render their structured code and remediation directly in the browser page with HTTP 200 so embedded webviews do not hide the message; cross-origin requests remain blocked with HTTP 403
- Instance selection and local login tools are enabled by default; fixed static deployments may set
TAURUSDB_ENABLE_DYNAMIC_TARGETS=false - Session SQL credentials expire after 30 idle minutes and eight absolute hours; administrators may shorten these limits with
TAURUSDB_SQL_CREDENTIAL_IDLE_TTL_MINUTESandTAURUSDB_SQL_CREDENTIAL_MAX_TTL_MINUTES - MCP audit events are written to
~/.taurusdb-mcp/audit.jsonlby default, with configurable size rotation for collection into centralized immutable storage - Run one stdio process per customer/client trust boundary; this package is not a shared multi-tenant HTTP service
Customers execute reviewed general-purpose advised_sql through their own controlled
change process. The only MCP database-state exception is the target-bound,
same-browser-confirmed recycle-bin recovery described above.
