junobuild-mcp-server
This server provides an MCP interface to the Juno CLI, enabling management of Juno projects, satellites, hosting, serverless functions, configuration, changes, and documentation from any MCP-compatible client.
Identity & Auth – Check CLI/emulator versions, login (interactive or via JUNO_TOKEN), view authentication status, inspect satellite/orbiter health, and run custom JS/TS scripts in the authenticated context.
Project Setup – Scaffold new projects using Vite templates (React, Next.js, Svelte, Angular, Vue) without prompts. Initialize juno.config files in TypeScript, JavaScript, or JSON, with direct disk writing and multi-environment support. Apply configuration to satellites (storage headers, datastore rules, auth, etc.).
Hosting – Deploy, clear, and prune frontend assets. Supports batch uploads, pre-deployment clearing, post-deployment pruning, dry-run, progress/log streaming, and automatic retries.
Serverless Functions – Build, eject boilerplate, publish, and upgrade functions written in Rust, TypeScript, or JavaScript. Allows publishing from local WASM or CDN releases, with optional snapshot creation and log streaming.
Changes Workflow – List, apply, or reject submitted changes, with hash verification and optional snapshot creation.
Documentation – Fetch any of 159 official Juno documentation topics (cached) covering guides, CLI references, API docs, and framework tutorials.
Advanced Features – Progress and log streaming, automatic retries for network failures, configurable timeouts and resource limits, CLI binary caching, structured error parsing, and support for stdio or Streamable HTTP transport with automatic protocol version detection.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@junobuild-mcp-serverlist my satellites"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
junobuild-mcp-server
Unofficial MCP server for Juno. Not affiliated with or endorsed by the Juno team.
Manage satellites, hosting, serverless functions, changes and more through any MCP-compatible client. Includes a built-in documentation tool to access Juno's official guides and references.
Features
19 tools across 6 domains — CLI coverage for identity, config, hosting, functions, changes, and documentation
Progress streaming — long-running operations (deploy, publish, upgrade) emit real-time progress updates via MCP
notifications/progressLog streaming —
streamLogs: truemirrors raw stdout/stderr lines as MCPnotifications/messageevents, independent of progressAutomatic retry — network-dependent operations can retry on transient failures with exponential backoff
CLI binary caching — resolves
junobinary path once, eliminating npx overhead on every callCLI version check — verifies installed
@junobuild/climeets the minimum supported version on first callStructured error parsing — common CLI failures (auth, network, missing config) surface as actionable messages
Config file writing —
juno_config_initcan write config files directly to diskAuth verification —
juno_auth_statuswrapsjuno whoamifor read-only identity checksDocs caching — documentation responses backed by an LRU cache (50 entries, 1 h TTL)
Tunable limits — character limit, default timeout, and network timeout overridable via env vars
Related MCP server: MCPJungle mcp gateway
Client Setup
Choose your AI coding agent below for specific setup instructions.
Claude Code
CLI (recommended):
claude mcp add junobuild npx -y junobuild-mcp-serverConfig file:
Scope | Location |
User |
|
Project |
|
{
"mcpServers": {
"junobuild": {
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Codex
CLI:
codex mcp add junobuild -- npx -y junobuild-mcp-serverConfig file:
Scope | Location |
Global |
|
Project |
|
[mcp_servers.junobuild]
command = "npx"
args = ["-y", "junobuild-mcp-server"]OpenCode
Config file:
Scope | Location |
User |
|
Workspace |
|
{
"mcpServers": {
"junobuild": {
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Factory Droid
CLI:
droid mcp add junobuild npx -y junobuild-mcp-serverConfig file:
Scope | Location |
User |
|
Project |
|
{
"mcpServers": {
"junobuild": {
"type": "stdio",
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Antigravity
Uses a Powers system with custom configuration.
Config file:
Scope | Location |
Workspace |
|
Add the MCP server configuration to your Power's mcp.json:
{
"mcpServers": {
"junobuild": {
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Note: See Antigravity MCP documentation for full Power setup.
Cursor
Config file:
Scope | Location |
User |
|
Project |
|
{
"mcpServers": {
"junobuild": {
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Amp Code
CLI:
amp mcp add junobuild -- npx -y junobuild-mcp-serverConfig file:
Scope | Location |
User |
|
Workspace |
|
{
"amp.mcpServers": {
"junobuild": {
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Note: Workspace MCP servers require approval via amp mcp approve <server-name>.
VSCode
Config file:
Scope | Location |
User |
|
Workspace |
|
{
"servers": {
"junobuild": {
"type": "stdio",
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Windsurf
Config file:
Scope | Location |
User |
|
{
"mcpServers": {
"junobuild": {
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Kiro
Config file:
Scope | Location |
User |
|
Workspace |
|
{
"mcpServers": {
"junobuild": {
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Kilo Code
Config file:
Scope | Location |
User |
|
Project |
|
{
"servers": {
"junobuild": {
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Cline
Config file:
Scope | Location |
User |
|
{
"mcpServers": {
"junobuild": {
"command": "npx",
"args": ["-y", "junobuild-mcp-server"]
}
}
}Protocol Versions
The server builds against the 2026-07-28 protocol revision (@modelcontextprotocol/server@2) and serves both protocol eras from one toolset: 2025-era clients (e.g. Claude Desktop mid-2026) still negotiate via initialize; 2026-07-28 clients via server/discover. No flag needed — era detection is automatic per request.
Features we deliberately do not adopt (deprecated or out of scope for a CLI wrapper):
Roots and Sampling — the server is a tool runner; input is explicit tool parameters and MRTR (
input_required) elicitation, not implicit sampling.logging/setLevel(2026-era) — log gating is per-request_meta.logLevel; 2025-era sessions still getlogging/setLevelvia the SDK.HTTP+SSE endpoint — the transport is Streamable HTTP with JSON responses; the deprecated SSE-across-connections mode is not served.
MRTR: juno_login asks for the credentials-encryption passphrase via input_required (the model answers the embedded form); 2025-era clients get the same flow via the SDK's legacy shim.
Authenticate the Juno CLI
The server wraps @junobuild/cli, which must be installed and authenticated:
npm i -g @junobuild/cli
juno loginFor non-interactive environments (CI, headless), set the JUNO_TOKEN environment variable instead of running juno login. Tools that touch Juno state additionally accept mode and profile parameters to select an environment and identity per call.
Environment Variables
For non-interactive environments (CI, headless), authenticate using environment variables:
export JUNO_TOKEN="your-juno-token"HTTP Mode
The server defaults to stdio. Set JUNO_MCP_TRANSPORT=http to serve over Streamable HTTP instead (default port 3000, bound to 127.0.0.1; override with JUNO_MCP_PORT):
JUNO_MCP_TRANSPORT=http JUNO_MCP_PORT=3100 node dist/main.jsThe HTTP mode is stateless and serves both protocol eras from the same toolset as stdio: 2026-07-28 clients negotiate via server/discover (modern requests must send the Mcp-Method/Mcp-Name headers), 2025-era clients via initialize. Portable to any web client or load balancer.
Smoke test with curl:
curl -X POST http://127.0.0.1:3000/mcp \
-H "Mcp-Method: server/discover" \
-H "Mcp-Name: curl" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"curl","version":"0"}}}}'Security: HTTP mode binds to localhost only and is unauthenticated — a local dev mode. Do not expose it to the network or pair it with a public tunnel without adding an auth layer (OAuth / reverse-proxy auth).
Server Tuning
Override defaults to tune resource limits without rebuilding. Values must be positive integers; invalid values fall back to defaults.
Variable | Default | Description |
|
| Max characters returned in a single tool response (truncates beyond) |
|
| Default subprocess timeout in milliseconds |
|
| Timeout for network-bound operations (deploy, publish, upgrade) in ms |
|
| When |
| random | HMAC key (>=32 bytes) for MRTR |
Note: The juno_create_project tool does NOT use the interactive create-juno CLI. Instead it:
Scaffolds a Vite project (React, Next.js, Svelte, Angular, or Vue)
Creates a
juno.config.tsfile
This allows fully non-interactive project creation.
Documentation Access
The juno_docs tool fetches documentation directly from the GitHub repo, with responses cached for 1 hour:
juno_docs({ topic: "build_datastore" }) → Datastore guide
juno_docs({ topic: "build_authentication" }) → Authentication overview
juno_docs({ topic: "reference_cli" }) → CLI reference
juno_docs({ topic: "guides_local_development" }) → Local development guideTopic keys use underscore naming matching folder hierarchy: build_<feature>, reference_cli_<command>, guides_<framework>. Full enumeration of all 159 topics lives in src/schemas/docs.ts (TOPICS map).
Tools
Domain | Tools |
Identity |
|
Config |
|
Hosting |
|
Functions |
|
Changes |
|
Docs |
|
Key Parameters
Several tools support optional parameters for enhanced reliability and UX:
Parameter | Type | Tools | Description |
|
| deploy, publish, upgrade | Retry on transient network failures with exponential backoff when enabled. Attempts are set by |
|
| deploy, publish, upgrade | Maximum retry attempts when |
|
| deploy, prune | Files processed per batch (deploy default 50, prune default 100). For |
|
| deploy, publish, upgrade | Stream real-time progress updates during long-running operations (build status + upload batch progress) |
|
| deploy, publish, upgrade | Stream raw stdout/stderr lines as MCP |
|
|
| Write the config file directly to disk instead of returning text for preview |
Prerequisites
Node.js >= 20
@junobuild/cli
>= 0.15.0— installed and authenticated (not needed forjuno_versionorjuno_docs). Minimum version enforced on first call viacheckCliVersion(src/constants.tsMIN_CLI_VERSION). Bypass withJUNO_SKIP_VERSION_CHECK=true.Juno project with
juno.config.ts/js/json(for config/hosting operations)
Development
npm run build # Compile TypeScript to dist/
npm run dev # Watch mode (development)
npm run start # Run compiled dist/main.js
npm run clean # Remove dist/
npm test # Run unit tests
npm run test:coverage # Run tests with coverage report (v8 provider)Coverage thresholds
The suite enforces the following minimum coverage (configured in vitest.config.ts):
Lines: 80%
Statements: 80%
Functions: 80%
Branches: 75%
Coverage reports are written to coverage/ (html, lcov, json, plus text summary).
Publishing
npm run changeset # Create a changeset (version bump + changelog entry)
npm run version # Apply changesets → bump version
npm run release # Publish to npmArchitecture
The server is a thin wrapper around the Juno CLI (@junobuild/cli): every tool
builds a command + flags, spawns the CLI via child_process, and formats the
result. Long-running tools (deploy, publish, upgrade) support three execution
strategies — simple, retry, and streaming (progress + log notifications).
Transports (chosen at startup via JUNO_MCP_TRANSPORT):
stdio (default) — one process per client over stdin/stdout
Streamable HTTP (
JUNO_MCP_TRANSPORT=http, port 3000 /JUNO_MCP_PORT, 127.0.0.1) — Streamable HTTP endpoint, many clients per process
Both serve both protocol eras from the same code: 2025-era clients via
initialize, 2026-07-28 clients via server/discover. Build file is
src/main.ts (entry, transport pick); src/index.ts is a side-effect-free
buildServer() factory. Auth via juno_login (MRTR passphrase flow) uses
HMAC-signed request state.
Key design decisions are documented as ADRs in docs/adr/:
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceProvides access to all 471+ DigitalOcean API endpoints through an MCP server that dynamically extracts them from the OpenAPI specification, enabling search, filtering, and direct API calls with proper authentication.61
- Alicense-qualityBmaintenanceMCPJungle is a self-hosted MCP Registry and Gateway suitable for both local and enterprise deployments. It provides a single URL for your MCP clients to access servers and a central platform for you to track your MCPs and client-server interactions.1,201Mozilla Public 2.0
- AlicenseBqualityDmaintenanceProvides comprehensive access to MCP documentation through structured guides, full-text search, and interactive development workflows for building servers and clients.311MIT
- AlicenseBqualityDmaintenanceManage VPS, domains, DNS, billing, and execute SSH commands from any MCP-compatible client. 27 tools + full API discovery across 500+ OVH endpoints.273MIT
Related MCP Connectors
Official Sevalla MCP — full PaaS API access through just 2 tools.
MCP server for interacting with the Supabase platform
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nami2111/junobuild-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server