Back to MCP Directory
Connections & Capabilities
Connects To
GitHub
Capabilities
readwriteexec
Quickstart
Install
uvx install dolphindb-mcp-serverExposed MCP Tools (4)
safe
list_dbs()Lists all databases in the DolphinDB instance.
Read-only operation, no side effects.
safe
list_tbs(dbName: str)Lists all tables within a specified database.
Read-only operation, no side effects.
safe
query_table_diskusage(database: str, tableName: str)Retrieves disk usage information for a specific table.
Read-only operation, no side effects.
high
query_dolphindb(script: str)Executes an arbitrary DolphinDB script.
Can modify or delete data, potentially causing significant damage.
Safety Assessment
This MCP server offers both read and write capabilities to a DolphinDB database. While listing databases and tables is safe, executing arbitrary scripts poses a risk. It's crucial to restrict access to the server and carefully validate any scripts before execution to prevent unintended consequences.
- Access to DolphinDB is controlled by credentials.
- Provides functions to list databases and tables, which are read-only operations.
- Queries are limited to the DolphinDB environment.
- Environment variables can be used to configure connection details, avoiding hardcoding.
- Executes arbitrary DolphinDB scripts, which could potentially be destructive.
- Requires credentials to connect to the DolphinDB database.
- No explicit input validation or sanitization is mentioned.
- If the DolphinDB instance is exposed to the internet, this server could become an attack vector.
