junobuild-mcp-server

v2.0.0
junobuild-mcp-server Checked 23 hours ago Published 3 months ago

MCP server for Juno (junobuild) - manage satellites, hosting, functions, snapshots and more

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

juno_auth_status Juno Auth Status

Display the current authenticated profile, access key, and links to your satellite. Use this to verify authentication before running operations that require credentials.

ParameterTypeDescription
consoleUrlstringSpecify a custom URL to access the developer Console
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management

juno_login Juno Login

Authenticate with Juno (browser-based). In non-interactive setups (JUNO_TOKEN, --headless) the CLI completes without prompts; when the CLI asks for a credentials-encryption passphrase, the server requests it from you via a protocol input round-trip instead of failing. Args: - mode (string): environment (production default) - profile (string): alternative identity

ParameterTypeDescription
consoleUrlstringSpecify a custom URL to access the developer Console
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management

juno_run Juno Run Script

Run a custom JavaScript or TypeScript script in the CLI context. The script has access to the authenticated Juno environment.

ParameterTypeDescription
src *stringPath to your JavaScript or TypeScript script
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management

juno_status Juno Status

Check the status of your modules (satellites, orbiters). Shows health, deployment status, and more.

ParameterTypeDescription
consoleUrlstringSpecify a custom URL to access the developer Console
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management

juno_version Juno Version

Show the current versions of the Juno CLI and emulator (if running). Use --version flag.

juno_config_apply Juno Config Apply

Apply the current juno.config file to your satellite. This is required after modifying settings like storage headers, datastore rules, authentication config, or collection definitions.

ParameterTypeDescription
consoleUrlstringSpecify a custom URL to access the developer Console
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
forcebooleanOverwrite configuration without checks
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management

juno_config_init Juno Config Init

Generate a juno.config file (TypeScript, JavaScript, or JSON). By default returns config content for preview. Set writeFile to true to write the file directly to disk. Then run juno_config_apply to push the config to your satellite.

ParameterTypeDescription
formatstringConfig file format
multiEnvbooleanGenerate multi-environment config with staging and production satellite IDs
orbiterIdstringOptional Orbiter ID for analytics
pathstringCustom file path for the config (defaults to juno.config.ts/js/json in project root)
satelliteIdstringSatellite ID for production environment. Use a real ID or leave the placeholder.
sourcestringBuild output directory (e.g. dist, build, out)
stagingSatelliteIdstringStaging satellite ID (required if multiEnv is true)
writeFilebooleanWrite the config file directly to disk instead of returning content for preview

juno_hosting_clear Juno Hosting Clear

Remove frontend files (JS, HTML, CSS, etc.) from your satellite. This does NOT remove user-uploaded files from custom collections — only the deployed app assets.

ParameterTypeDescription
consoleUrlstringSpecify a custom URL to access the developer Console
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
fullPathstringClear a particular file by its path
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management

juno_hosting_deploy Juno Hosting Deploy

Deploy your app's frontend files to your satellite. Reads from the `source` directory defined in juno.config and uploads all assets. Supports batch parallelism, clearing before deploy, and pruning stale files after.

ParameterTypeDescription
batchintegerNumber of files to upload in parallel per batch (1-200); capped at the detected source-file count when the project has a `source` dir
clearbooleanClear existing app files before deployment
configbooleanApply configuration after deployment succeeds
consoleUrlstringSpecify a custom URL to access the developer Console
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
immediatebooleanDeploy files instantly bypassing the change workflow
keepStagedbooleanKeep proposed staged assets in memory after applying
maxRetriesintegerMaximum retry attempts when retry is enabled (0-10, default 3)
modestringEnvironment mode: production, staging, or development
noApplybooleanSubmit deployment as a change but do not apply it yet
profilestringProfile name for multi-identity management
progressbooleanStream progress updates during deployment (shows build status and upload batch progress)
prunebooleanPrune stale app files after successful deployment
retrybooleanAutomatically retry on transient network failures (up to 3 attempts with exponential backoff)
streamLogsbooleanStream raw stdout/stderr log lines as MCP notifications/message events. Independent from progress.

juno_hosting_prune Juno Hosting Prune

Remove stale frontend files from your satellite that are no longer in your build output. Use --dry-run to preview which files would be deleted without actually deleting them.

ParameterTypeDescription
batchintegerNumber of files to prune in parallel per batch (1-200)
consoleUrlstringSpecify a custom URL to access the developer Console
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
dryRunbooleanList stale files without actually deleting them
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management

juno_functions_build Juno Functions Build

Build your serverless functions. Supports Rust, TypeScript, and JavaScript. The CLI auto-detects the language if not specified.

ParameterTypeDescription
cargoPathstringPath to the Rust manifest (Cargo.toml)
langstringLanguage for building serverless functions
sourcePathstringPath to the TypeScript or JavaScript entry file
watchbooleanRebuild your functions automatically when source files change

juno_functions_eject Juno Functions Eject

Generate the required files to begin developing serverless functions in your project. Scaffolds boilerplate for Rust, TypeScript, or JavaScript functions. Alias: `juno functions init`.

ParameterTypeDescription
langstringLanguage for scaffolding serverless functions

juno_functions_publish Juno Functions Publish

Publish a new version of your serverless functions to the satellite. Optionally submit as a pending change without applying, or provide a custom WASM file path.

ParameterTypeDescription
consoleUrlstringSpecify a custom URL to access the developer Console
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
keepStagedbooleanKeep proposed staged assets in memory after applying
maxRetriesintegerMaximum retry attempts when retry is enabled (0-10, default 3)
modestringEnvironment mode: production, staging, or development
noApplybooleanSubmit the release as a change but do not apply it yet
profilestringProfile name for multi-identity management
progressbooleanStream progress updates during publish (shows build status and upload batch progress)
retrybooleanAutomatically retry on transient network failures (up to 3 attempts with exponential backoff)
srcstringPath to a specific local gzipped WASM file to publish
streamLogsbooleanStream raw stdout/stderr log lines as MCP notifications/message events. Independent from progress.

juno_functions_upgrade Juno Functions Upgrade

Upgrade your satellite's serverless functions. Can use a local WASM file, select from CDN releases, or use the default local build output. Optionally create a snapshot before upgrading.

ParameterTypeDescription
cdnbooleanSelect a previously published WASM file from the CDN (interactive)
cdnPathstringUse a specific published WASM file from the CDN
clearChunksbooleanClear previously uploaded WASM chunks
consoleUrlstringSpecify a custom URL to access the developer Console
containerUrlstringOverride a custom container URL. If omitted, the Juno CLI uses production or the local container in development mode
maxRetriesintegerMaximum retry attempts when retry is enabled (0-10, default 3)
modestringEnvironment mode: production, staging, or development
noSnapshotbooleanSkip creating a snapshot before upgrading
profilestringProfile name for multi-identity management
progressbooleanStream progress updates during upgrade (shows build status and upload batch progress)
resetbooleanReset to the initial state
retrybooleanAutomatically retry on transient network failures (up to 3 attempts with exponential backoff)
srcstringPath to a specific local gzipped WASM file
streamLogsbooleanStream raw stdout/stderr log lines as MCP notifications/message events. Independent from progress.

juno_changes_apply Juno Changes Apply

Apply a submitted change by its ID. Optionally create a snapshot before applying and verify the change hash for integrity.

ParameterTypeDescription
id *stringThe ID of the change to apply
hashstringExpected hash of all included changes for verification
keepStagedbooleanKeep proposed staged assets in memory after applying
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management
snapshotbooleanCreate a snapshot before applying

juno_changes_list Juno Changes List

List all submitted or applied changes to your module. By default shows only submitted (pending) changes. Use --all for full history and --every to include all statuses.

ParameterTypeDescription
allbooleanSearch through all changes, not just the 100 most recent
everybooleanInclude changes of any status (default is only submitted ones)
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management

juno_changes_reject Juno Changes Reject

Reject a submitted change by its ID. This prevents the change from being applied. Optionally verify the change hash for integrity.

ParameterTypeDescription
id *stringThe ID of the change to reject
hashstringExpected hash of all included changes for verification
keepStagedbooleanKeep proposed staged assets in memory after rejecting
modestringEnvironment mode: production, staging, or development
profilestringProfile name for multi-identity management

juno_create_project Juno Create Project

Scaffold a new Juno project. Uses Vite to create the frontend, then adds Juno SDK and config. Does NOT use the interactive create-juno CLI.

ParameterTypeDescription
directory *stringDirectory name for the new project
packageManagerstringPackage manager to use (npm, yarn, pnpm)
templatestringTemplate key to use (e.g. react-ts-starter, nextjs-starter, sveltekit-starter). Defaults to react-ts-starter.

juno_docs Juno Documentation

Fetch Juno documentation from GitHub repo. Full docs: https://github.com/junobuild/docs/tree/main/docs. Topics use underscore naming matching folder hierarchy (e.g. build_authentication, reference_cli_functions_build).

ParameterTypeDescription
topic *stringDocumentation topic to retrieve. Full Juno docs from GitHub repo: https://github.com/junobuild/docs/tree/main/docs