CLI
Your endpoint, linked in one command
The mcphosting-cli links Claude Code or Cursor to your hosted MCP endpoint and lets you file and review tasks without leaving the terminal. For driving a full Assistant run, call the runs API directly — see the API reference.
Install
npm install -g mcphosting-cliOr run any command on demand with npx mcphosting-cli. Once installed, run mcphosting-cli login to authenticate with your Bearer mcph_* key.
Commands
mcphosting-cli login [--key mcph_...] [--url <site>]Save and verify your Bearer mcph_* key. Prompts if you omit --key, then calls /api/v1/me so a bad key fails immediately rather than on your next command.
Example
$ mcphosting-cli login
Paste your BusinessMCP API key (mcph_...): ****************************
Site URL [https://businessmcp.com]:
Logged in to "Acme Inc" (growth plan). Config saved to ~/.mcphosting.jsonmcphosting-cli link [claude|cursor|config]Point a local AI client at your hosted MCP endpoint. With "claude" it shells out to the Claude Code CLI and registers the server for you; anything else prints.
Example
$ mcphosting-cli link claude
Added MCP server businessmcp to Claude Code.
Linked — Claude Code can now drive your BusinessMCP dashboard.
$ mcphosting-cli link cursor
Add this MCP server to your client config (Cursor: .cursor/mcp.json):
{
"mcpServers": {
"businessmcp": {
"url": "https://businessmcp.com/api/mcp",
"headers": { "Authorization": "Bearer mcph_..." }
}
}
}mcphosting-cli whoamiShow which workspace and plan the saved key belongs to, and the site it targets.
Example
$ mcphosting-cli whoami
Workspace: Acme Inc
Plan: growth
Key: mcph_9f2a11c…
Site: https://businessmcp.commcphosting-cli task create <title> | task listFile a task into the dashboard, or list the open ones. Accepts --dept and --message on create.
Example
$ mcphosting-cli task create "Audit paid social ROAS" --dept Marketing
Task created: th_7b21
https://businessmcp.com/dashboard/assistant
$ mcphosting-cli task list
[in-progress ] Marketing Audit paid social ROAS
[todo ] Sales Follow up with inbound from Tuesdaymcphosting-cli statusOpen task counts by status.
Example
$ mcphosting-cli status
Workspace tasks: 6 open
todo: 4
in-progress: 2mcphosting-cli openPrint your dashboard URL.
Example
$ mcphosting-cli open
https://businessmcp.com/dashboardBuilding an integration?
The CLI wraps the platform API. See the full reference for raw curl and JSON.