Loading...
pip install ydb-mcp{
"mcpServers": {
"ydb": {
"command": "uvx",
"args": [
"ydb-mcp",
"--ydb-endpoint", "grpc://localhost:2136",
"--ydb-database", "/local"
]
}
}
}ydb_queryExecutes a SQL query against the YDB database.
Allows arbitrary SQL queries, potentially modifying data.
ydb_query_with_paramsExecutes a parameterized SQL query with JSON parameters.
Allows data modification through parameterized SQL queries.
ydb_list_directoryLists the contents of a directory in YDB.
Read-only operation, no data modification.
ydb_describe_pathRetrieves detailed information about a specific path in YDB.
Read-only operation, no data modification.
ydb_statusGets the current status of the YDB connection.
Read-only operation, provides connection status.
YDB MCP offers a balance between functionality and security. While it allows write operations, the availability of authentication methods and a defined toolset provide some control. However, the absence of explicit sandboxing and the potential for SQL injection if parameterized queries aren't used correctly necessitate careful configuration and usage.