# Developer Docs

Foundry MCP for AI agents, the Glint SDK and the Course SDK.

## Foundry MCP and AI Agents

- [Foundry MCP Overview](https://joinfoundry.xyz/help/developers/mcp.md): 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](https://joinfoundry.xyz/help/developers/mcp-clients.md): 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](https://joinfoundry.xyz/help/developers/mcp-permissions.md): 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](https://joinfoundry.xyz/help/developers/mcp-tools.md): 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](https://joinfoundry.xyz/help/developers/mcp-privacy.md): 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](https://joinfoundry.xyz/help/developers/glint-sdk.md): 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](https://joinfoundry.xyz/help/developers/glint-sdk-platform-rules.md): 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](https://joinfoundry.xyz/help/developers/glint-sdk-manifest.md): 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](https://joinfoundry.xyz/help/developers/glint-sdk-api.md): 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](https://joinfoundry.xyz/help/developers/glint-sdk-cli.md): 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](https://joinfoundry.xyz/help/developers/glint-sdk-web-engines.md): 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+](https://joinfoundry.xyz/help/developers/glint-sdk-godot.md): 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](https://joinfoundry.xyz/help/developers/glint-sdk-unity.md): 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](https://joinfoundry.xyz/help/developers/glint-sdk-ai-agents.md): 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](https://joinfoundry.xyz/help/developers/course-sdk.md): Build Foundry courses in the course editor or connect an AI agent through Foundry MCP to search, read, edit, and publish courses.
