puppygraph_create_catalog
Registers a database, warehouse, or lake as a PuppyGraph catalog so a graph schema can map its tables, validating connection settings before saving without exposing credentials.
Instructions
Register a data source (database, warehouse or lake) as a PuppyGraph catalog, so a graph schema can map its tables. PuppyGraph connects to the source to check the settings before saving. Credentials are never returned or logged. Next: puppygraph_list_tables, then write a schema.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"type": "<type>"
},
"name": "puppygraph_create_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Catalog name, used as 'catalog' in the schema | |
| type | Yes | Catalog type. JDBC: postgresql, mysql8, mysql5, mariadb, sqlserver, redshift, snowflake, duckdb, clickhouse, oracle, trino, presto, vertica, singlestore, alloydb. Others (pass their fields in options): iceberg, hive, hudi, deltalake, bigquery, databricks, mongodbAtlas, elasticsearch, spanner. puppygraph_catalog_spec gives every type's exact field names | |
| options | No | Extra catalog fields, named exactly as puppygraph_catalog_spec lists them for the type (e.g. for iceberg on an Iceberg REST catalog: icebergMetastoreType, restUri, restWarehouse, storageType, ...). Put secrets in secret_env, not here. | |
| jdbc_uri | No | JDBC URI for JDBC types, e.g. jdbc:postgresql://host:5432/dbname. The host must be reachable from the PuppyGraph server (from a container, not 'localhost' of the agent). | |
| password | No | Database password (JDBC types). Prefer password_env when the password is in the MCP server's environment. | |
| username | No | Database user (JDBC types) | |
| driver_url | No | URL PuppyGraph downloads the JDBC driver jar from. Required for mysql8/mysql5 (PuppyGraph doesn't ship the MySQL driver), e.g. https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.4.0/mysql-connector-j-8.4.0.jar | |
| secret_env | No | Map of option field name to MCP server environment variable name (same rule as password_env), for secrets in options (e.g. {"storageSecretKey": "PUPPYGRAPH_SECRET_S3_KEY"}) | |
| driver_class | No | JDBC driver class; defaults by type (e.g. org.postgresql.Driver) | |
| password_env | No | Name of an environment variable of the MCP server that holds the password (must start with PUPPYGRAPH_SECRET_ or be listed in PUPPYGRAPH_MCP_SECRET_ENV_ALLOWLIST), so the password never passes through the conversation |