Skip to content

kindgi mcp

View as Markdown

Synopsis

Terminal window
kindgi mcp <command>
Signature

Manage MCP servers: entries in .mcp.json (add / list / remove / presets), and connection presets registered at the runtime (add).

Commands

Command Description
kindgi mcp add Add an MCP server from a preset.
kindgi mcp list List MCP servers configured in .mcp.json.
kindgi mcp remove Remove a server entry from .mcp.json.
kindgi mcp presets List the MCP presets shipped with the CLI: the ones the launcher runs, and the connection presets (auth: connection).

See also

Synopsis

Terminal window
kindgi mcp add <KIND> [--secret=<name>] [--as=<person|company>] [--env=<name>] [--scope=<kind>[:id]] [--server-name=<label>] [--path=<pack-dir>] [--force]
Signature

Add an MCP server from a preset. A preset the launcher runs goes into .mcp.json, with its secret read at start. A connection preset (hubspot, asana) is the vendor's own server: it's registered at the runtime, and signs in as each person's own connection to the app, or the company's (--as company).

Options

Option Default Description
--as <value> person (a connection preset only; refused for a preset the launcher runs) A connection preset's sign-in: person, each person's own connection to the app, or company, the company's. Its tools are listed with your own connection, or the company's. Only for a connection preset.
--env <value> local; for a connection preset, the env of the one connection its tools are listed with (required when there are such connections in more than one env) The environment whose env files hold the secret. Default: local. For a connection preset: the env of the connection its tools are listed with, needed only when there's one in more than one env.
--force off Replace an entry with the same name, or, for a connection preset, an endpoint with the same id. By default add refuses.
--path <value> the current directory (refused for a connection preset) The pack root, where .mcp.json is. Default: the current directory. Not for a connection preset.
--scope <value> tenant The secret's scope, recorded in the entry, or a connection preset's endpoint's scope at the runtime: tenant (default), org:<id> or project:<id>.
--secret <value> required (refused for a connection preset) The secret's name in the pack's env files for --env; the server gets its value at start, never .mcp.json. Required for a preset the launcher runs; a connection preset has none.
--server-name <value> derived from --secret (lowercased, trailing _url/_key/_token etc. stripped); for a connection preset, the preset kind (hubspot) The entry's name in .mcp.json. Default: derived from --secret (MY_DB_URL becomes my_db). For a connection preset: the endpoint's id at the runtime, by default the preset's kind.

Every command also takes the global flags.

Examples

Register HubSpot's own MCP server at the runtime. Each person's calls sign in as their own HubSpot connection, and its tools are listed with yours: connect first with kindgi connections connect hubspot.

Terminal window
kindgi mcp add hubspot

Register Asana's own MCP server for one project, signing in as the company's Asana connection, which a tenant admin connects with kindgi connections connect asana --for-company.

Terminal window
kindgi mcp add asana --as=company --scope=project:<project-id>

From Asana:

Terminal window
pnpm exec kindgi mcp add asana
pnpm exec kindgi mcp add asana --as=company --scope=project:<project-id>

See also

Synopsis

Terminal window
kindgi mcp list [--path=<pack-dir>]
Signature

List MCP servers configured in .mcp.json.

Options

Option Default Description
--path <value> the current directory The pack root, where .mcp.json is. Default: the current directory.

Every command also takes the global flags.

Examples

List the servers in the current pack's .mcp.json.

Terminal window
kindgi mcp list

List the servers of a pack in another directory.

Terminal window
kindgi mcp list --path=./acme-pack

See also

Synopsis

Terminal window
kindgi mcp remove <SERVER_NAME> [--path=<pack-dir>]
Signature

Remove a server entry from .mcp.json. Idempotent.

Options

Option Default Description
--path <value> the current directory The pack root, where .mcp.json is. Default: the current directory.

Every command also takes the global flags.

Examples

Remove a server entry from .mcp.json.

Terminal window
kindgi mcp remove my_db

Remove an entry from a pack in another directory.

Terminal window
kindgi mcp remove my_db --path=./acme-pack

See also

Synopsis

Terminal window
kindgi mcp presets
Signature

List the MCP presets shipped with the CLI: the ones the launcher runs, and the connection presets (auth: connection).

Options

Every command also takes the global flags.

Examples

From Your coding agent:

Terminal window
pnpm exec kindgi mcp presets

See also