Developer Docs
Foundry MCP for AI agents, the Glint SDK and the Course SDK.
Foundry MCP and AI Agents
- Foundry MCP Overview
What Foundry's MCP server lets AI apps and coding agents do, the public and signed-in addresses, signing in with OAuth or a personal token, and the log of every change an agent makes.
- Connect an AI Client
Set up Claude, ChatGPT, Claude Code, Codex or Cursor with Foundry's MCP server, or connect any other MCP client with a personal token.
- Permissions and Scopes
The five areas an AI agent can be given on Foundry, the Read and Write scope for each, and the checks every call still goes through.
- Tool Reference
Every tool on Foundry's MCP server: what it does, its inputs, the scope it needs and whether it reads or changes something, including the public Glint SDK tools.
- Privacy and Agent Limits
What AI agents connected to Foundry can see, what Foundry keeps about connected apps and tokens, the agent activity log, how to revoke access, and the actions agents can never take.
Glint SDK
- Glint SDK Quickstart
Go from an empty folder to a published Glint game: install the SDK and CLI, scaffold a starter, preview it in the Local Emulator, validate it, and upload it in Glint Studio.
- Platform Rules and Budgets
The sandbox Glint games run in, how a build ZIP must be laid out, the size and file budgets, automatic Brotli repackaging, and everything the validator and Glint check.
- Manifest Reference
Every field of glint.json version 1: type, whether it's required, allowed values, defaults, examples, and how Glint and the validator use it.
- JavaScript API Reference
Every member of the Glint SDK: Glint.init(), lifecycle, meter, demo, system and master mute, player, saves, achievements, leaderboards, multiplayer rooms, binary frames, host migration and local gamepads.
- CLI and Local Emulator
Every glint command: init, preview with the Local Emulator and Multi-Player Room Lab, validate with its full error and warning code table, and upload.
- Web Engines
Set up a Glint game with plain Canvas, Phaser, Three.js or KAPLAY: starters, bundler settings, a complete SDK integration for each, pause and mute handling, and packaging the build.
- Godot 4.3+
Publish a Godot 4.3 or later game on Glint: add the Glint.gd AutoLoad, use the single-threaded Web export preset and the Foundry shell, call the SDK from GDScript, and package an uncompressed export.
- Unity WebGL
Publish a Unity WebGL game on Glint: install Glint.jslib and Glint.cs, add the Glint component, use the Foundry WebGL template, build uncompressed, and call the SDK from C#.
- Building With an AI Agent
Give a coding agent Glint's rules and SDK docs through Foundry's public MCP server, glint.joinfoundry.xyz/llms.txt and the portable SKILL.md.
Course SDK
- Course SDK
Build Foundry courses in the course editor or connect an AI agent through Foundry MCP to search, read, edit, and publish courses.