Quickstart
Start read-only, verify the package locally, then connect your agent.
1. Clone and build
Section titled “1. Clone and build”git clone https://github.com/MattyMailers/smartmoving-mcp.gitcd smartmoving-mcp/mcp-servernpm installnpm run build2. Keep the API key private
Section titled “2. Keep the API key private”Use an authorized SmartMoving External API key. Do not commit it, paste it into GitHub, or pass it as a command argument.
export SMARTMOVING_API_KEY="replace-with-your-key"export SMARTMOVING_ALLOW_WRITES="false"Reads are available with the key. Writes are blocked unless you later opt in.
3. Initialize CLI config
Section titled “3. Initialize CLI config”node dist/cli.js init --yes --profile default --api-key-env SMARTMOVING_API_KEYnode dist/cli.js doctor --jsonnode dist/cli.js schema --jsonThe CLI config stores the environment variable name only, not the raw key.
4. Connect an MCP client
Section titled “4. Connect an MCP client”Use the local stdio server:
node /absolute/path/to/smartmoving-mcp/mcp-server/dist/index.jsPass these env vars in your MCP client config:
SMARTMOVING_API_KEY=replace-with-your-keySMARTMOVING_ALLOW_WRITES=falseSee MCP setup for copy-paste client snippets.
5. Verify safely
Section titled “5. Verify safely”Ask your agent to ping SmartMoving and list tools. Or run CLI smoke checks:
node dist/cli.js doctor --jsonnode dist/cli.js smoke read --jsonnode dist/cli.js smoke write --dry-run --jsonsmoke write --dry-run prints a synthetic request and does not call SmartMoving.
After npm publish
Section titled “After npm publish”Once maintainers publish, the one-line global install is:
npm install -g smartmoving-mcp-serverOne-off npx CLI usage should use npm’s explicit package resolution:
SMARTMOVING_API_KEY="replace-with-your-key" \ npx -y --package smartmoving-mcp-server smartmoving doctor --json