Skip to main content

axm mcps add

Add an inline MCP server

axm mcps add <name> [flags]
NameTypeRequiredDefaultDescription
<name>stringYesName of the MCP server to add
NameTypeRequiredDefaultDescription
--scopechoice (project, user)NoprojectWorkspace scope
--connectionstringNoJSON connection object with env and template values; excludes per-field connection flags
--transportchoice (stdio, streamable-http, sse)NoConnection transport, inferred from --command or --url; required when the URL serves SSE
--argstringNoOne literal process argument; repeat in invocation order
--cwdstringNoWorking directory; relative paths use the selected scope root
--header-envstringNoNative environment header binding NAME=ENV_NAME
--native-oauthbooleanNofalseUse the native MCP host's OAuth; excludes an Authorization header
--commandstringNoSingle literal executable, such as npx
--urlstringNoInline remote MCP server URL
--envstringNoHost environment reference NAME, or literal KEY=VALUE
--headerstringNoRemote header as NAME=VALUE
--accept-warningsbooleanNofalseApply the plan even when preflight reports unresolved warnings
--previewbooleanNofalseShow what would change without applying it

Add an inline stdio MCP server

axm mcps add linear --command npx --arg=-y --arg=linear-mcp-server --env LINEAR_API_KEY

Add an inline remote MCP server

axm mcps add sentry --transport sse --url https://mcp.sentry.dev/sse --native-oauth