Foundry

Help Center

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.

Foundry MCP and AI Agents · 13 min read

Foundry's tools are named foundry_..., and the Glint tools are named glint_.... An agent sees only the tools its connection's scopes allow, and the public tools are on both addresses.

How the Tools Work#

Public Tools#

No sign-in and no scope. Every result shows what a signed-out visitor sees, so private stores, drafts, members-only and private profiles and paid lessons never appear.

Tool What it does Inputs Access
foundry_search_marketplace Search published Marketplace listings (indie software, dev tools, games and assets). Returns listing ids, links, license prices in cents and the seller's title and summary. query, category, platforms, price (free or paid), agents (claude-code, codex), windows (windows-10, windows-11), sort (recent, price-low, title, rating), page, all optional Read
foundry_get_product Read one published product: its listing, licenses and prices in cents, latest releases, store and publisher, the Package X-Ray summary of its latest release (files, SHA-256 hashes and what each package contains), and whether the publisher has a verified identity and Proofline. productId Read
foundry_get_store Read a public store and its published listings. store (id or handle), query and page optional Read
foundry_search_courses Search published courses. Returns course ids, links, pricing and the author's title and summary. query, difficulty (beginner, intermediate, advanced), page, all optional Read
foundry_get_course Read a published course's public information and outline: sections, lesson titles, quizzes and exercises by title. Never includes lesson content. courseId Read
foundry_get_profile Read a member's public profile: headline, bio, disciplines, skills, availability and proof of work (shipped products and courses, verified identity and Proofline). profileId Read
foundry_search_projects Search public projects, including those recruiting, with their open role titles, stage and recruitment status. query, recruitingOnly, page, all optional Read
foundry_read_public_home_feed Read Alloy Home's public For You feed. tag (shipped, build-log, feedback, code, recruiting), query, next, all optional Read
foundry_get_post Read an Alloy Home post with its thread: the first post and its replies, oldest first. postId, next optional Read
foundry_get_restricted_action_link For an action agents can never take, return the Foundry page where you do it yourself. action: purchase, checkout, credit_packs, subscription, payouts, refunds, disputes, paid_offers, account_deletion, email, password, security, agent_access, moderation or terms Read

Glint SDK Tools#

Reference for building a Glint game, on both addresses with no sign-in. How to use them while you build is in Glint SDK for AI Agents, and the SDK itself in Glint SDK.

Tool What it does Inputs Access
glint_sdk_rules The SDK's rules: size and rate budgets, Performance Score and Brotli repackaging tiers, Package X-Ray rules, the zero-network sandbox and CSP, multiplayer and built-in Room chat and voice rules, CLI install and update commands (@joinfoundry/glint-sdk@latest), the Glint Studio publishing steps and the glint.json v1 schema. Ask for one section or all. section: all (default), limits, sandbox, manifest, multiplayer, cli or publishing Read
glint_sdk_api Complete TypeScript signatures, behavior and copy-paste snippets for all modules (all) or one runtime module. topic: all, overview (default), lifecycle, meter, demo, system, player, saves, achievements, leaderboards, multiplayer or input Read
glint_sdk_engine_guide Engine setup, the @joinfoundry/glint-sdk@latest starter template command, export settings, and common pitfalls. engine: vanilla (default), phaser, threejs, pixijs, kaplay, godot, unity or wasm Read
glint_sdk_diagnose Explain a CLI validator code (GL001-GL014, GL101-GL104) or descriptive diagnostic key and return the fix. An unknown key returns the list of known keys. code: e.g. GL003 or FP002_INVALID_MANIFEST Read

The authenticated Glint Studio tools (glint_list_my_games, glint_studio_game_config, glint_create_game, glint_update_game, glint_upsert_achievement, and glint_upsert_leaderboard) use Marketplace scopes and are listed under Marketplace and Stores.

Marketplace and Stores#

Read tools need marketplace:read, except glint_list_my_games and glint_studio_game_config, which work with marketplace:read or marketplace:write. Write tools need marketplace:write.

Tool What it does Inputs Access
foundry_list_my_stores List the stores you own or help run, with their state and visibility, and whether the seller agreement is signed. page optional Read
foundry_list_my_listings List the listings in one of your stores, drafts included, newest change first, with each one's state, latest released version, completed downloads and the number of other members who own it. storeId, state (published or draft), query and page optional Read
foundry_get_my_listing Read one of your listings as its editor sees it: every field you can edit, its releases with their states and revisions, and its uploaded files with their inspection states. productId Read
foundry_list_my_purchases List the products you own or have access to. page optional Read
glint_list_my_games List the browser games you own or manage in Glint Studio, drafts and published included, with ids, slugs, revisions, build and cover status and Glint Studio links. None Read
glint_studio_game_config Read one game you manage in Glint Studio: revision, editable metadata, achievement keys, leaderboard ids and bounds, live and pending builds, Package X-Ray findings and the remaining publishChecklist. gameIdOrSlug Read
glint_create_game Create a new draft browser game in Glint Studio. Returns gameId, slug, revision, studioUrl and publishChecklist. title, slug optional Write
glint_update_game Update a Glint game you manage: title, slug before first publish, description, genres, controls, orientation, the advanced threads flag, the mobileOptimized tag, price in cents (0 for free), cover and screenshot media ids, and build notes. Rights confirmation, content rating and final publishing stay in Glint Studio. gameIdOrSlug, revision and editable fields optional Write
glint_upsert_achievement Create or update an achievement definition in Glint Studio for sdk.achievements.unlock(key). gameIdOrSlug, key, name, description, hidden and icon optional Write, repeat-safe
glint_upsert_leaderboard Create or update a leaderboard definition in Glint Studio for sdk.leaderboards.submit(key, score). gameIdOrSlug, key, name, sort, minScore, maxScore, maxSubmissionsPerMinute, minRunSeconds optional Write, repeat-safe
foundry_save_listing Create a draft listing in one of your stores, or edit one of your listings. listing holds every listing field as foundry_get_my_listing returns it, including licenses with prices in cents. Editing a published listing changes it live. storeId to create or productId to edit, listing Write
foundry_publish_listing Publish a draft listing. The site's publishing checks apply: a signed seller agreement, a passing release and complete fields. Needs the current Terms. productId Write, repeat-safe
foundry_unpublish_listing Remove a listing from the Marketplace. Buyers keep what they bought. Refused while the listing has open preorders. productId Write, destructive
foundry_save_release Create a draft release for one of your listings, or edit a draft release. productId, releaseId to edit, release Write
foundry_publish_release Publish a draft release once its files pass inspection, or schedule it for the listing's release date. Refused for a preorder listing or while preorders are open. Needs the current Terms. releaseId, expectedRevision, scheduled, replacePrevious and contentChanged optional (contentChanged is required for a new release of a rated listing) Write
foundry_start_file_upload Start uploading a file to a draft release. Returns an upload id and the number of parts. productId, releaseId, name, size (bytes), mime, platform, purpose (full or demo), agent, windows, fingerprint (SHA-256 hex) and requestId optional Write
foundry_get_upload_part_url Get a signed URL for one part. PUT exactly that part's bytes to it within 15 minutes and keep the ETag response header. Not recorded in the activity log. uploadId, part (from 1) Write, repeat-safe
foundry_complete_file_upload Finish an upload with every part's number and ETag. The file then goes through inspection, including Package X-Ray. uploadId, parts (number, etag) Write, repeat-safe
foundry_update_store_profile Edit one of your stores. Fields not sent keep their saved values. Payouts and billing aren't part of a store profile. storeId, changes from handle, name, description, logoMediaId, bannerMediaId, website, supportEmail, supportText, sellerDisclosure, defaultLicenseKind, defaultRefundPolicyId, defaultUpdatePolicy Write

To upload a file: call foundry_start_file_upload, then for each part call foundry_get_upload_part_url and PUT the bytes, then call foundry_complete_file_upload. foundry_get_my_listing shows the file's inspection state.

Learning#

Read tools need learning:read, except foundry_list_my_courses and foundry_get_course_draft, which work with learning:read or learning:write. Write tools need learning:write.

Tool What it does Inputs Access
foundry_list_my_enrollments List the courses you're enrolled in, with the enrolled version, progress, completion and the lesson to continue with. page optional Read
foundry_get_course_progress Read your progress in one enrolled course version: lessons completed, tests passed and whether the course is complete. courseId, version Read
foundry_get_lesson Read a lesson's content, with its exercises and quizzes as learners see them, in a course you're enrolled in or wrote. courseId, lessonId, version optional Read
foundry_list_my_courses List the courses you write, drafts included, with their state and whether they have unpublished changes. page optional Read
foundry_get_course_draft Read the editable draft of a course you write: its revision and the complete course data (details, pricing, sections, lessons, quizzes, tests and exercises). courseId Read
foundry_create_course Create an empty draft course that you own. Returns its id and revision. requestId optional Write
foundry_save_course_draft Save the complete draft: data is the course data from foundry_get_course_draft with your changes. The site validates it as its course editor does. Learners see changes only after publishing. courseId, revision, data Write
foundry_publish_course Publish the current draft as the course's next version, with a message telling learners what changed. The publishing checklist applies, and it needs the current Terms. courseId, revision, updateMessage (empty for a first version) Write
foundry_unpublish_course Take a course you write out of the catalog. Enrolled learners keep their access as the site's rules allow. courseId, revision Write, destructive
foundry_mark_lesson_progress Mark a lesson complete or not complete for you in a course version you're enrolled in. courseId, version, lessonId, complete Write, repeat-safe

Projects and Hubs#

Read tools need projects:read. Write tools need projects:write; older personal tokens with coordination can also use foundry_claim_task_scope and foundry_post_session_capsule.

Tool What it does Inputs Access
foundry_list_hubs List the Alloy Hubs you belong to and can read, with their ids. Lists up to 50. None Read
foundry_get_hub_context Return a Hub's HIVE_CONTEXT.md: anchored decisions, references and handoffs, open Kanban cards with checklists, active file scope locks, recent Session Capsules, accepted Iterations and open Workbench feedback. hubId Read
foundry_get_task_brief Return a coding-agent brief for one card: goal, acceptance checklist, file scope, teammates' active locks, the card's Session Capsules, linked threads, Anchors and Contributions with Observations, and the Hub's decisions. hubId, taskId Read
foundry_get_thread Return the messages of one Room thread you can read, oldest first. conversationId (the Room), threadId (the thread's first message) Read
foundry_check_scope_locks Check whether files you plan to edit overlap a teammate's active file scope lock. A card In Progress or In Review locks its file scope for its assignees, or its creator when it has none. Your own cards never conflict with you. hubId, paths (1 to 20; * matches within a folder, ** any folders) Read
foundry_list_my_projects List the projects you own or joined, drafts included for your own, with each project's roles. list (all, owned, joined, drafts) and page optional Read
foundry_get_my_project Read one of your projects as its editor sees it: every editable field and role, and the editingRevision saving needs. projectId Read
foundry_list_project_applications List applications other members sent to your projects, with each applicant's message. projectId and page optional Read
foundry_list_my_applications List the applications you sent to other members' projects and their status. page optional Read
foundry_get_card Read one Kanban card: column, priority, assignees, due date, checklist, sources, file scope, revision and orderRevision. hubId, taskId Read
foundry_list_card_comments Read a card's comments, oldest first, 50 at a time. hubId, taskId, next optional Read
foundry_claim_task_scope Replace a card's file scope and move a Backlog card to In Progress so the scope is locked. An empty list clears the scope. Claiming an unassigned card assigns it to you. hubId, taskId, scopePaths (up to 20) Write, destructive
foundry_post_session_capsule Post a Session Capsule, a structured handoff, in a Hub. With taskId it joins that card's handoffs; with conversationId a summary is also posted in that Room. hubId, summary, filesTouched, decisions, verification, nextContext, with taskId, conversationId, agentLabel and requestId optional Write
foundry_save_project Create a draft project you own, or edit one of yours. A role left out of roles is removed, as in the site's editor. project, roles (up to 30), with projectId and editingRevision to edit Write
foundry_close_role Close one of your project roles to new applications. roleId Write, destructive
foundry_shortlist_application Shortlist an application to one of your projects. Offers are sent on Foundry. applicationId Write, repeat-safe
foundry_decline_application Decline an application to one of your projects. The applicant is told. applicationId Write, destructive
foundry_create_hub Create a Hub you own, with the hub type's starting Rooms. Needs Alloy on your plan. Invite-only Hubs are unlisted. name, template (the hub type), purpose, joiningPolicy (invite-only, request, open), listingVisibility (listed, unlisted), with description, projectId and requestId optional Write
foundry_create_room Create a Room in a Hub where your role allows it. Needs Alloy on your plan. hubId, subject (the Room's name), purpose optional Write
foundry_post_room_message Post a message in a Hub Room where your Room permissions allow it. roomId, body (up to 10,000 characters), threadId and requestId optional Write
foundry_create_card Create a card on a Hub's Kanban Board. card holds title (required), description, priority (low, medium, high, urgent), assigneeIds, dueDate (YYYY-MM-DD), labels, checklist, and blocked with blockedReason. hubId, card, column (backlog by default, or in-progress, in-review, done) and requestId optional Write
foundry_update_card Change some of a card's fields, with the same names as foundry_create_card. hubId, taskId, revision, changes Write
foundry_assign_card Set who a card is assigned to. An empty list unassigns it. hubId, taskId, revision, assigneeIds Write, repeat-safe
foundry_move_card Move a card to a column, optionally between two cards. hubId, taskId, column, orderRevision, beforeId and afterId optional Write
foundry_comment_on_card Comment on a card where your Hub role can write on the Board. hubId, taskId, body (up to 4,000 characters), requestId optional Write

For Hub work, agents start with foundry_list_hubs and foundry_get_hub_context, read foundry_get_task_brief before working on a card, and call foundry_check_scope_locks with the paths they plan to change before editing files. If a teammate holds an overlapping lock, they stop and coordinate.

Alloy Home#

Read tools need home:read. Write tools need home:write.

Tool What it does Inputs Access
foundry_read_my_home_feed Read your Alloy Home feed: For You, or Following. tab (for-you, following), tag, query, next, all optional Read
foundry_list_home_activity List recent activity on your posts and profile: follows, replies, reposts and Sparks, newest first, with whether each is unread. next optional Read
foundry_list_bookmarks List the posts you bookmarked, newest bookmark first. next optional Read
foundry_list_notifications List your Foundry and Alloy notifications, newest first. unreadOnly, page, both optional Read
foundry_create_post Post on Alloy Home as you. Everyone can read Home posts. blocks (text { kind: "text", text } and code { kind: "code", language, code }), with tag, embed (a Foundry product, course or project as a card) and requestId optional Write
foundry_reply_to_post Reply to a post, with text and code blocks. postId, blocks, requestId optional Write
foundry_spark_post Give a post a Spark, or take it back with on: false. postId, on Write, repeat-safe
foundry_repost Repost a post to your followers, or undo it with on: false. postId, on Write, repeat-safe
foundry_bookmark_post Bookmark a post, or remove the bookmark with on: false. postId, on Write, repeat-safe
foundry_delete_post Delete one of your own posts or replies. Replies from others stay readable under a placeholder. postId Write, destructive
foundry_mark_notifications_read Mark notifications read, and optionally mark all Home Activity seen. notificationIds (up to 500) or homeActivity: true Write, repeat-safe

Inbox#

Read tools need inbox:read. Write tools need inbox:write. kind is direct (one-to-one messages), recruitment (conversations about a project role) or support (Marketplace support requests).

Tool What it does Inputs Access
foundry_list_inbox_threads List your conversations of one kind, most recent first. kind, next optional Read
foundry_read_inbox_thread Read the latest 50 messages of one conversation, oldest first. Pass before with the nextBefore value for earlier ones. kind, threadId, before optional Read
foundry_send_inbox_message Send a message as you in one of your conversations. Paid offers and payments are never sent this way. kind, threadId, body (up to 10,000 characters), requestId optional Write
foundry_start_direct_message Start a one-to-one conversation with another member, or continue the existing one, with a first message. Their privacy and block settings apply. recipientId, body, requestId optional Write

Scopes are explained in Permissions and Scopes, and what no tool can do is in Privacy and Agent Limits.

Still stuck? Contact Support.