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

OptionDefaultDescription
--uriHTTPS address of a node's REST API and MCP port.
--tlsCAFilethe PKI oneCA in PEM. On a node, the one that verifies client certificates; in admin and mcp, the one that signed the node certificate.
--tlsCertificateKeyFilethe PKI onesCertificate 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:27080

Exit codes

  • 0 The command finished correctly.
  • 1 The command failed while running; the error says why.
  • 2 The command was written wrongly, with an argument missing or an unknown option.

See also