@mcpi/install
v0.1.2
Published
🛠️ One-line, generic installer that fetches a fresh client_id from any MCP server's /install-info endpoint, safely stores it in ~/.mcp/mcp.json and never overwrites existing configs
Readme
@mcpi/install MCP Server Installer
One-command bootstrap for any Model–Context Protocol server. Works with Cursor, Windsurf, Claude Desktop, FastMCP clients – whatever speaks MCP.
# no global install needed
npx @mcpi/install https://gateway.mycorp.dev --client cursorCLI flags
| Positional / flag | Default | Description |
|-------------------|--------------------|----------------------------------------------|
| <server-url> | — | Base URL of the MCP gateway. |
| --client | current hostname | Label the install (e.g. cursor, windsurf). |
| --config | ~/.mcp/mcp.json | Override where the config is written. |
| --silent | false | Don't open the docs page at the end. |
| --force | false | Force fetch new config even if it exists. |
Local development & publishing
npm install # installs deps
node bin/mcp-setup.mjs http://localhost:3000 --client dev # requires a running MCP servernpm run lint # currently a placeholder
npm test # currently a placeholder
npm pack # produces mcpi-install-x.y.z.tgz for a dry-runnpm version patch # or minor / major
npm publish --access public