Runnable examples for using Jungle Grid from the CLI, MCP-aware AI hosts, and your own backend services.
Jungle Grid is a workload-first GPU orchestration platform. You describe the job you want to run, and Jungle Grid handles fit checks, placement, logs, and failure recovery without making you choose cloud providers or GPU models manually.
claude-desktop/- Claude Desktop MCP configuration examplescursor/- Cursor MCP configuration exampleswindsurf/- Windsurf Cascade MCP configuration examplesmcp-hosts/- generic MCP host configuration referenceinference-jobs/- runnable CLI templates for inference workloadsbatch-jobs/- runnable CLI templates for batch workloadsprompts/- prompts for turning natural-language requests into valid Jungle Grid jobsapi/- server-side REST integration examples for Node.js and Python
- Create a Jungle Grid account and sign in via the browser:
- Docs: https://junglegrid.dev/docs
- Portal: https://junglegrid.dev/portal
- Authenticate the CLI on the machine where you want to submit workloads:
npx @jungle-grid/cli@latest login- Verify the session:
npx @jungle-grid/cli@latest whoami- Submit a first workload:
npx @jungle-grid/cli@latest submit \
--workload inference \
--model-size 7 \
--image pytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime \
--name chat-infer- Inspect the job:
npx @jungle-grid/cli@latest jobs
npx @jungle-grid/cli@latest status <job-id>- Start with inference-jobs/README.md for inference templates.
- Start with batch-jobs/README.md for batch templates.
These examples use public images and current @jungle-grid/cli flags from the live docs. They are designed to be copied, then adjusted for your own image, command, and model size.
These examples use the current MCP package:
{
"command": "npx",
"args": ["-y", "@jungle-grid/mcp"]
}Set JUNGLE_GRID_API_KEY in the MCP server environment. Use JUNGLE_GRID_API_URL only when targeting a non-default Jungle Grid API environment, such as local development, staging, or a private deployment. Do not commit real keys.
The examples in api/README.md show the recommended server-side pattern:
- keep
JUNGLE_GRID_API_KEYon the server - forward only approved fields to
https://api.junglegrid.dev - call
/v1/jobs/estimatebefore/v1/jobswhen you need a preview
Use the live product docs as the source of truth when adapting these templates:
- Docs home: https://junglegrid.dev/docs
- CLI reference: https://junglegrid.dev/docs/cli
- API reference: https://junglegrid.dev/docs/api
- MCP integration: https://junglegrid.dev/docs/mcp
- Release notes: use the release notes section linked from https://junglegrid.dev/docs
- Help email:
run@junglegrid.dev - Discord: https://discord.gg/kpJqxXFFCs
Use email for account, product, or integration support. Use Discord for community discussion, setup help, and example-sharing.
- Do not commit
JUNGLE_GRID_API_KEYor other credentials. - Do not embed private registry credentials in example files.
- Keep API keys server-side only. Never expose them in browser code, static sites, or mobile apps.
- Review your image references and commands before sharing examples publicly.
See CONTRIBUTING.md for contribution guidelines. New examples should be runnable, documented, and safe to publish.
This repository is licensed under the MIT License. See LICENSE.
See SECURITY.md for vulnerability reporting instructions.