build

Production build for your MCP server.

mcp-use build [--with-inspector] [--no-typecheck]

Production build: bundles your server, compiles React widgets from resources/, type-checks, and writes a dist/ folder with a mcp-use.json manifest.

FlagDescription
--with-inspectorInclude the inspector in the production build.
--no-typecheckSkip TypeScript type checking.

Run the result with start.