Skip to content

Jungle-Grid/junglegrid-examples

Jungle Grid logo

Jungle Grid Examples

Runnable templates for the Jungle Grid CLI, MCP hosts, and backend API integrations.

Website Docs Follow Jungle Grid on X Join the Jungle Grid Discord Email Jungle Grid License: MIT

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.

What is in this repo

  • claude-desktop/ - Claude Desktop MCP configuration examples
  • cursor/ - Cursor MCP configuration examples
  • windsurf/ - Windsurf Cascade MCP configuration examples
  • mcp-hosts/ - generic MCP host configuration reference
  • inference-jobs/ - runnable CLI templates for inference workloads
  • batch-jobs/ - runnable CLI templates for batch workloads
  • prompts/ - prompts for turning natural-language requests into valid Jungle Grid jobs
  • api/ - server-side REST integration examples for Node.js and Python

Quick start

  1. Create a Jungle Grid account and sign in via the browser:
  2. Authenticate the CLI on the machine where you want to submit workloads:
npx @jungle-grid/cli@latest login
  1. Verify the session:
npx @jungle-grid/cli@latest whoami
  1. 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
  1. Inspect the job:
npx @jungle-grid/cli@latest jobs
npx @jungle-grid/cli@latest status <job-id>

Examples by surface

CLI jobs

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.

MCP hosts

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.

REST API

The examples in api/README.md show the recommended server-side pattern:

  • keep JUNGLE_GRID_API_KEY on the server
  • forward only approved fields to https://api.junglegrid.dev
  • call /v1/jobs/estimate before /v1/jobs when you need a preview

Product references

Use the live product docs as the source of truth when adapting these templates:

Help and community

Use email for account, product, or integration support. Use Discord for community discussion, setup help, and example-sharing.

Open-source safety

  • Do not commit JUNGLE_GRID_API_KEY or 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.

Contributing

See CONTRIBUTING.md for contribution guidelines. New examples should be runnable, documented, and safe to publish.

License

This repository is licensed under the MIT License. See LICENSE.

Security

See SECURITY.md for vulnerability reporting instructions.

About

Example workloads, MCP prompts, CLI commands, and integration templates for running AI jobs on Jungle Grid.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors