teseladb mcp
How to use teseladb mcp, with its options and its examples.
Usage
teseladb mcp --uri https://<nodo>:27080 [--tlsCAFile] [--tlsCertificateKeyFile]Description
Bridges an MCP client over stdio to the MCP server of a node. The API key goes in the TESELADB_API_KEY environment variable, never in the arguments.
Options
| Option | Default | Description |
|---|---|---|
--uri | HTTPS address of a node's REST API and MCP port. | |
--tlsCAFile | the PKI one | CA in PEM. On a node, the one that verifies client certificates; in admin and mcp, the one that signed the node certificate. |
--tlsCertificateKeyFile | the PKI ones | Certificate and key in PEM. On a node, they replace the PKI ones; in admin and mcp, they are the client's. |
Examples
Connect to a node
Shell
TESELADB_API_KEY=tdb_… teseladb mcp --uri https://node-01:27080Exit codes
0The command finished correctly.1The command failed while running; the error says why.2The command was written wrongly, with an argument missing or an unknown option.