pm7 tools / pm7-mobbin

pm7-mobbin

Command-line client for the official Mobbin MCP server, for humans and AI agents.

Version 0.1.0 / talks to Mobbin / markdown / manifest

Commands

pm7-mobbin helpoffline

Show a short usage overview.

pm7-mobbin versionoffline

Print the version.

pm7-mobbin docs [--json]offline

Print the full command reference, or the machine-readable manifest with --json.

pm7-mobbin docs --json

Emit the manifest that tools.pm7.dev renders.

pm7-mobbin statusoffline

Show login state and configuration without touching the network.

pm7-mobbin status --json

Check whether a login exists before doing work.

pm7-mobbin login [--manual]network

Authorize this machine against Mobbin.

pm7-mobbin login --manual

Paste the redirect URL back instead of using a callback listener.

pm7-mobbin logoutoffline

Remove the stored credentials.

pm7-mobbin toolsnetwork

List the tools Mobbin currently offers. Nothing is hardcoded; the server is asked.

pm7-mobbin tools --json

Discover the available tool names and their input schemas.

pm7-mobbin call <tool-name> --args '<json>'network

Invoke any Mobbin tool by name. The generic escape hatch.

pm7-mobbin call <tool-name> --args '{"query":"onboarding"}' --json

Call a tool reported by the tools command.

Options

FlagMeaningApplies to
--jsonEmit machine-readable JSON on stdout.all commands
--verbosePrint progress to stderr.all commands
-h, --helpShow the usage overview.all commands
-V, --versionPrint the version.all commands
--args '<json>'Tool input as a JSON object.call
--manualSkip the loopback listener and paste the redirect URL instead.login

Output contract

stdout
Carries only the requested result, never progress or diagnostics.
stderr
Carries progress, warnings, hints and errors.
--json
With --json stdout is exactly one JSON document; on failure stdout stays empty and the error document goes to stderr.

Exit codes

Branch on these rather than on message text.

CodeNameMeaning
0successThe command completed.
1generalUnclassified internal error.
2usageBad command, unknown option, or invalid --args JSON.
3auth_requiredNot logged in, or Mobbin rejected the credentials.
4networkThe Mobbin MCP server could not be reached.
5tool_errorMobbin accepted the call but the tool reported an error.
6storageThe credential store could not be read, written or decrypted.

Environment

VariablePurposeDefault
PM7_MOBBIN_SERVER_URLMCP endpoint to talk to.https://api.mobbin.com/mcp
PM7_MOBBIN_CREDENTIALSPath to the encrypted credential file.none
PM7_MOBBIN_CALLBACK_PORTLoopback port used during login.7749