Skip to content

@airmcp-dev/cli

CLI for building, running, and managing MCP servers.

Installation

bash
npm install -g @airmcp-dev/cli
# or use via npx
npx @airmcp-dev/cli <command>

Global command name: airmcp-dev

Command summary

CommandDescription
create <n>Create new project from template
add <type> <n>Add tool/resource/prompt scaffold
devHot reload development mode
startProduction mode (background)
stopStop server
statusShow server status
listList registered tools/resources/prompts
inspect <tool>Show tool JSON schema
connect <client>Register server with MCP client
disconnect <client>Unregister from client
checkDiagnose project health
licenseShow license info

create

bash
airmcp-dev create <project-name> [options]
OptionDefaultDescription
--template <n>basicbasic, api, crud, agent
--lang <code>(interactive)en, ko

Templates guide

dev

bash
airmcp-dev dev [options]
OptionDefaultDescription
-p, --port <n>3000HTTP/SSE port
-t, --transport <type>stdiostdio, http, sse
-c, --consolefalseBrowser test console

Internal behavior:

  • Entry discovery: src/index.tssrc/index.jsindex.tsindex.js
  • Runs via npx tsx (no build needed)
  • Watches src/ for .ts, .js, .json changes with 300ms debounce
  • --console auto-switches transport to sse
  • Env vars: NODE_ENV=development, AIR_TRANSPORT, AIR_PORT

CLI commands guide

connect

bash
airmcp-dev connect <client> [options]
OptionDefaultDescription
-n, --name <n>package.json nameServer name in client config
-t, --transport <type>stdiostdio, http, sse
-p, --port <port>3000HTTP/SSE port
-H, --host <host>localhostRemote server host
--proxy <path>Path to mcp-proxy.js

Supported clients:

IDClient
claude-desktopClaude Desktop
claude-codeClaude Code
cursorCursor
vscodeVS Code
chatgptChatGPT Desktop
ollamaOllama
vllmvLLM
lm-studioLM Studio

Client Connect guide

Released under the Apache-2.0 License.