Glitch MCP
OfficialThis server gives an AI client authenticated, title-scoped access to Glitch's hosted agent and marketing workflows, from starting paid agent runs to reviewing reports, approving actions, answering guidance, and uploading assets.
Check authentication status and verify token access to Glitch MCP.
List available game titles, select a working title, and fetch safe subscription-gated title context.
Check subscription, trial, plan, and credit/billing state for a title.
Start paid Glitch Agent runs for a title, with options for background execution, live mode, attachments, and completion waiting.
Monitor runs: fetch run status, wait/stream run events, list timeline events, and retrieve final or partial reports.
List downloadable files and hosted report artifacts produced by a run.
List pending/proposed/approved/executed agent actions and approve, reject, or execute them with confirmation gates.
List open or answered guidance requests, answer them, and resume server-side workflows when possible.
Create short-lived upload URLs and upload local images, videos, or documents to a title or run as reference material.
Generate deep links to Glitch dashboards for titles, runs, actions, or billing screens.
Draft Bluesky post drafts for social content and community updates.
Audit Discord onboarding, suggest channel structure improvements, create announcements, and manage community engagement.
Connects to the Glitch Agent service for game marketing workflows including Steam analysis, influencer outreach, PR planning, Discord management, and approval workflows.
Draft Reddit post drafts for social content campaigns and community updates.
Analyze Steam pages, compare against competitors, and create launch readiness reports to optimize store pages and wishlist conversion.
Draft TikTok post drafts for social content and campaign variants.
Review Twitch creator links and assess fit for game coverage, including audience relevance and risk notes.
Review YouTube creator links and assess fit for game coverage, including audience relevance and suggested pitch angles.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Glitch MCP Analyze our Steam page for wishlist improvements"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Glitch MCP
Glitch MCP connects AI developer tools to Glitch's public game-development prompt library, mechanics and core-loop generator, live genre taxonomy, analytics and hosting tools, and the hosted Glitch Agent service for marketing and launch workflows.
Glitch MCP makes marketing your game feel like coding. Instead of leaving Codex, Cursor, or Claude Code to open dashboards, rebuild spreadsheets, or translate marketing requests into manual workflows, developers can ask for a concrete marketing task in plain language and get back structured reports, recommended actions, draft assets, upload links, approval steps, and deep links into the full Glitch browser experience. The goal is simple: keep developers focused on building the game while Glitch turns marketing work into reviewable, executable tasks.
More Info Here: https://www.glitch.fun/publishers/agents
AI Game Development Workflows
The MCP bundles the same 25 public prompts shown on the AI Game Development Prompts page. Prompt ids and deep links stay stable, and every prompt requires the developer or agent to create or update the game's documentation.
Use
glitch_list_game_development_promptsto search by situation or category.Use
glitch_get_game_development_promptto retrieve the complete Markdown.Use
glitch_list_game_genresfor the live Glitch taxonomy; genre selection is multi-select.Use
glitch_generate_game_design_blueprintto turn an early idea into a descriptor, mechanics, core verbs, design pillars, moment-to-moment core loop, session loop, and playtest question. It prefers Glitch's OpenAI service and automatically uses the same deterministic fallback as the website when that route is unavailable. AI generation can take about a minute, so the tool emits MCP progress notifications and uses a longer request timeout.
The MCP also registers every library item as a native prompt such as glitch_game_dev_remote_game_automation, plus glitch_ai_game_development_prompt for guided selection and glitch_game_design_blueprint for guided mechanics/core-loop generation.
Related MCP server: glade-mcp
Leaderboards and Achievements
The adapter can create, list, update and delete leaderboard, achievement, stat and season definitions through the same title APIs used by the admin dashboard. It also uploads locked/unlocked achievement icons, creates a developer-owned test install, submits scores/stats with metadata, reads player progression, and queries standings with pagination, seasonal filters and an around-player view.
Use a developer MCP token with progression:read, progression:write and
progression:submit as appropriate. Existing tokens are not silently upgraded.
All writes require explicit approval and confirm=true. Test submissions affect
the developer's real progression, not a sandbox. Accepted runs may remain
pending and are not proof of a published leaderboard position. See the
progression tool reference
for fields, lifecycle warnings and examples. Deploy the corresponding backend
changes before using these tools against a hosted API.
Example Game Marketing Workflows
Use these examples as starting prompts inside your MCP client. Glitch returns structured data your coding agent can read, summarize, compare, and turn into next steps for your game.
Steam Reports
Ask: "Analyze our Steam page for Neon Drift Arena and tell me what is hurting wishlists."
Glitch returns: a Steam page report with capsule/header image feedback, short-description positioning, tag/category fit, trailer and screenshot notes, review of call-to-action clarity, comparable titles, wishlist conversion risks, and prioritized fixes. This helps you improve the store page before buying traffic or pitching creators, so more interested players convert into wishlists.
Ask: "Compare our Steam page against five similar roguelite deckbuilders launching this quarter."
Glitch returns: a competitive Steam report with pricing, release timing, tags, capsule messaging, trailer angle, review count, follower/wishlist signals where available, and a positioning map that shows where your game can stand out. This helps you avoid copycat messaging and find a sharper market angle for your launch.
Ask: "Create a Steam launch readiness report for our game using our trailer, screenshots, and store copy."
Glitch returns: a launch checklist with risk grades, missing assets, copy rewrites, screenshot sequencing suggestions, trailer hook notes, localization considerations, creator/press readiness, and a recommended pre-launch task list. This helps your team know what to fix before a public demo, festival, or launch window.
Influencer Outreach
Ask: "Find creators who would be a good fit for our cozy survival crafting game and draft outreach."
Glitch returns: a creator shortlist with channel fit, audience/gameplay match, content style, likely campaign angle, outreach priority, contact notes when available, and personalized draft messages. This helps your game reach creators whose audiences are more likely to care, instead of blasting generic emails.
Ask: "Review these YouTube and Twitch creator links and tell me who is worth contacting for our horror demo."
Glitch returns: a ranked influencer report with fit score, audience relevance, recent game coverage, risk notes, suggested pitch angle, recommended key, follow-up timing, and approval-ready outreach drafts. This helps you spend limited review-key and outreach time on creators with the best chance of useful coverage.
PR
Ask: "Build a PR plan for announcing our Steam demo next month."
Glitch returns: a press plan with announcement angle, target outlet categories, timing, embargo/release-day recommendations, press-kit gaps, subject lines, draft pitch copy, and follow-up tasks. This helps your announcement feel intentional instead of rushed when the demo goes live.
Ask: "Turn our latest devlog into a press pitch for indie game journalists."
Glitch returns: a PR-ready story angle, journalist-facing pitch, shorter alternate subject lines, quote suggestions, asset checklist, and recommended media targets. This helps translate developer updates into a story press can understand quickly.
Discord Functionality
Ask: "Review our Discord onboarding and suggest changes that help new playtesters know what to do."
Glitch returns: a Discord community audit with channel structure notes, onboarding friction, role recommendations, announcement cadence, moderation gaps, playtest call-to-action improvements, and draft welcome/FAQ copy. This helps turn curious players into active testers and community members.
Ask: "Create a Discord announcement for our new trailer and prepare follow-up questions for the community."
Glitch returns: an announcement draft, short and long variants, suggested image/video attachment guidance, ping recommendations, community questions, poll ideas, and follow-up schedule. This helps your trailer launch create conversation instead of a single post that disappears.
More Work Glitch Can Manage
Store page optimization for Steam and other PC storefronts.
Launch planning, demo planning, festival readiness, and milestone marketing calendars.
Competitive research, positioning, feature comparison, pricing checks, and market narrative.
Trailer, screenshot, capsule, key art, and creative review.
Creator discovery, outreach drafts, campaign tracking, review-key workflows, and follow-ups.
PR strategy, press-kit review, announcement planning, pitch writing, and outlet targeting.
Discord community onboarding, announcements, playtest coordination, moderation planning, and engagement prompts.
Social content calendars, TikTok/Reddit/X/Bluesky post drafts, community updates, and campaign variants.
Paid marketing review, ad creative feedback, targeting notes, landing-page checks, and campaign QA.
Player research, feedback synthesis, survey summaries, sentiment themes, and next-step recommendations.
File-assisted review of screenshots, images, videos, trailers, pitch decks, press kits, CSVs, and documents.
Approval workflows for risky actions, so developers stay in control before anything is executed.
Deep links back to the Glitch browser experience when a richer dashboard, report, or approval flow is needed.
This repository is the public adapter. It does not contain the private Glitch Agent planner, prompts, routing policies, queue workers, billing logic, model keys, integration credentials, or executor code. All valuable service logic stays behind the hosted Glitch SaaS boundary.
What Developers Get
The complete public AI game-development prompt library as MCP tools, prompts, and resources.
A multi-genre mechanics and core-loop generator that prefers Glitch's OpenAI service and includes a documentation-ready local fallback.
MCP tools for starting and monitoring Glitch Agent runs.
Structured reports, pending actions, guidance requests, and artifact links.
Direct read-only access to the canonical Glitch analytics catalog and 70+ dashboard reports without starting a paid Agent run.
Deep links into the rich Glitch browser experience.
Optional local stdio proxy for MCP clients that do not yet support remote auth cleanly.
Client setup docs for Codex, Cursor, and Claude Code.
What Stays Private
Private Glitch Agent planning prompts. The separate AI Game Development Prompt library is intentionally public.
Internal route resolution.
Database queries.
Billing enforcement.
Integration secrets.
Social, ad, creator, and PR execution logic.
Raw planner traces and private memories.
Architecture
Codex / Cursor / Claude Code
-> Glitch MCP adapter
-> https://api.glitch.fun/api
-> public prompt/design routes or /mcp/v1 title-scoped routes
-> Glitch auth, subscription, title, scope, and rate-limit checks
-> Glitch Agent SaaS backend
-> Glitch hosted UI for reports, approvals, billing, and integrationsInstall
npm install -g glitch-mcpFor local development from this repository:
npm install
npm run build
npm test
npm run test:http-integration # starts a local mock upstream; no production credentialsAuth Model
The production API facade lives behind the existing Glitch API domain:
https://api.glitch.fun/apiCreate a Title MCP Token inside the Glitch subscription/security interface and use it as GLITCH_API_TOKEN or GLITCH_MCP_TOKEN.
Prefer one configured alias. Existing precedence is GLITCH_API_TOKEN || GLITCH_MCP_TOKEN before trimming: a truthy API alias shadows the MCP alias.
If they differ, diagnose only presence/equality/selected-alias metadata with the
owner; never print or automatically swap credentials. Tool discovery does not
prove the token has commerce abilities. See alias diagnostics.
export GLITCH_API_BASE_URL="https://api.glitch.fun/api"
export GLITCH_API_TOKEN="gl_mcp_..."
export GLITCH_TITLE_ID="title_..."Title MCP tokens are still checked server-side for subscription, title access, scopes, rate limits, and action risk. Over the HTTP transport the adapter forwards each caller's own bearer token, so one hosted endpoint serves many developers safely. Optional protected-resource OAuth discovery metadata is supported, but it does not implement an authorization server or interactive OAuth login. Production currently uses per-user bearer tokens, with fixed request headers in remote MCP clients. Do not enable OAuth discovery without a working Glitch OAuth issuer.
More detail: docs/auth.md.
Codex
Codex stdio proxy:
[mcp_servers.glitch]
command = "npx"
args = ["-y", "glitch-mcp"]
env_vars = ["GLITCH_API_BASE_URL", "GLITCH_API_TOKEN", "GLITCH_TITLE_ID"]
default_tools_approval_mode = "prompt"Hosted Streamable HTTP connector is provided on the same API domain at https://api.glitch.fun/mcp.
Local development stdio proxy:
[mcp_servers.glitch]
command = "npx"
args = ["-y", "glitch-mcp"]
env_vars = ["GLITCH_API_BASE_URL", "GLITCH_API_TOKEN", "GLITCH_TITLE_ID"]
default_tools_approval_mode = "prompt"Full guide: docs/codex.md.
Codex Slash Prompts
Glitch MCP also ships Codex slash-command prompt files so developers can type /prompts:glitch... from the Codex prompt box.
npx -y glitch-mcp install-codex-promptsThat command installs the bundled prompt files into ~/.codex/prompts. Restart Codex or open a new chat after installing them. The package includes direct command prompts for every public Glitch MCP tool plus higher-level workflows such as launch audits, Steam page reviews, weekly marketing syncs, pending action reviews, and local social asset workflows.

Cursor
Cursor stdio proxy:
{
"mcpServers": {
"glitch": {
"command": "npx",
"args": ["-y", "glitch-mcp"],
"env": {
"GLITCH_API_BASE_URL": "https://api.glitch.fun/api",
"GLITCH_API_TOKEN": "${GLITCH_API_TOKEN}",
"GLITCH_TITLE_ID": "${GLITCH_TITLE_ID}"
}
}
}
}Local development stdio proxy:
{
"mcpServers": {
"glitch": {
"command": "npx",
"args": ["-y", "glitch-mcp"],
"env": {
"GLITCH_API_BASE_URL": "https://api.glitch.fun/api",
"GLITCH_API_TOKEN": "${GLITCH_API_TOKEN}",
"GLITCH_TITLE_ID": "${GLITCH_TITLE_ID}"
}
}
}
}Full guide: docs/cursor.md.
Cursor Slash Commands
Cursor can use the same bundled Glitch prompt commands as project slash commands:
npx -y glitch-mcp install-cursor-prompts --project-root .That command copies prompts/glitch_*.md into .cursor/commands. Open Cursor in that project, type /glitch, and choose the Glitch command you want. The direct command prompts map to the exact public MCP tool names, while workflow prompts cover launch audits, Steam page reviews, weekly marketing syncs, pending action reviews, and local social asset workflows.
Claude Code
Claude Code stdio proxy:
export GLITCH_API_BASE_URL="https://api.glitch.fun/api"
export GLITCH_API_TOKEN="gl_mcp_..."
export GLITCH_TITLE_ID="title_..."
claude mcp add glitch -- npx -y glitch-mcpFull guide: docs/claude-code.md.
Claude Code Slash Commands
Claude Code can use the same bundled Glitch prompt commands as project slash commands:
npx -y glitch-mcp install-claude-prompts --project-root .That command copies prompts/glitch_*.md into .claude/commands. Restart Claude Code or start a new session in the project, then type /glitch to pick a Glitch command. The approve, execute, upload, and local watcher commands include explicit confirmation guidance.
CLI
glitch-mcp stdio
glitch-mcp http --host 127.0.0.1 --port 3333
glitch-mcp doctor
glitch-mcp versionstdio is the default command and is what most local MCP clients launch.
http is for local development and enterprise proxy scenarios. The canonical paid facade is still https://api.glitch.fun/api.
doctor verifies the configured hosted service and token without printing the token.
Tool Surface
The adapter exposes a guarded tool surface. Social primitives are discovered dynamically from the hosted backend so MCP clients and Glitch Agent use the same title-scoped capability contract:
glitch_auth_statusglitch_list_titlesglitch_select_titleglitch_get_title_contextglitch_list_game_development_prompts— search the public prompt library by category or situationglitch_get_game_development_prompt— retrieve complete Markdown and a stable web/resource linkglitch_list_game_genres— fetch the live alphabetized genre taxonomy for multi-select inputsglitch_generate_game_design_blueprint— generate a documentation-ready descriptor, mechanics, core verbs, core loop, session loop, and playtest questionglitch_get_analytics_capabilities— discover canonical report families, report keys, filters, source routes, requirements, and limitsglitch_get_analytics_report— run one canonical dashboard report directlyglitch_get_session_reports— the same data as the dashboard's Sessions page (/reports/<title_id>/title/sessions): sessions, duration, retention, DAU/WAU/MAU, cohorts, funnelsglitch_get_web_reports— the dashboard's Web page (/reports/<title_id>/title/web): traffic, pages, sources, UTMs, devices, geography, landing pagesglitch_get_storefront_reportsglitch_get_wishlist_reportsglitch_get_earnings_reportsglitch_get_attribution_reportsglitch_get_cross_device_reports— the dashboard's Cross-Device page (/reports/<title_id>/title/crossdevice): identity, journeys, attribution funnels, fraud, conversionsglitch_get_steam_financials— Steam sales and wishlists from the Steamworks Financial API, synced into Glitch (dashboard:/reports/<title_id>/title/sales?tab=steam): revenue, units, refunds, taxes and key activations by day, country, region, product, platform, discount and price point; wishlists by day, country, language and platform; the wishlist-to-sales funnel; and raw line items.glitch_sync_steam_financialsqueues a refresh from Steam. The Financial API key is connected in the dashboard, never through MCP.glitch_get_billing_statusglitch_social_operationsupports TikToktiktok.hashtags(connected Business Account, keyword + optional language),tiktok.trending_hashtags(connected TikTok Ads account), andtiktok.hashtag_detail. See TikTok hashtag discovery.glitch_get_game_monetizationandglitch_update_game_monetizationmanage premium, rental, subscription pricing and the optional full-game premium purchase lock with confirmation and version checks. The validation tool exposes exact license metadata. See premium-only access.glitch_get_social_capabilities— list the authoritative platform matrix, connected schedulers, granular abilities, and every supported social operationglitch_social_operation— execute a deterministic social read or explicitly confirmed mutation using an operation returned by the capability catalogglitch_start_agent_runglitch_get_agent_runglitch_wait_for_agent_runglitch_list_run_eventsglitch_get_final_reportglitch_list_artifactsglitch_list_pending_actionsglitch_approve_actionglitch_reject_actionglitch_execute_actionglitch_list_guidanceglitch_answer_guidanceglitch_resolve_guidance— present the agent's stop-gate questions as interactive multiple-choice prompts (MCP elicitation) and route answers back to resume the runglitch_setup_social_asset_folders— create local capture/screenshot/trailer/marketing folders for developer social assetsglitch_scan_local_social_assets— scan local game asset folders, dedupe by content hash, and write a review manifest of social candidatesglitch_start_social_asset_watch— opt in to a local daily scan timer for social asset foldersglitch_stop_social_asset_watch— disable the local scan timerglitch_upload_social_asset_candidates— upload reviewed local candidates as Glitch Media for AI processing and scheduler library creationglitch_create_upload_urlglitch_upload_file— upload a local image, video, or document (screenshot, gameplay clip, brief) to a title or runglitch_open_dashboardglitch_get_hosting— inspect bandwidth, websites, releases, domains, databases, and plansglitch_get_hosting_analytics— compare hosted-site, Store, and combined title performanceglitch_create_hosting_site— create a managed website with a free Glitch addressglitch_update_hosting_site— change name, static/server mode, region, and non-secret settingsglitch_list_hosting_releases— inspect deployment history and rollback targetsglitch_deploy_hosting_build— turn a ready game build into a hosted release and optionally publish itglitch_promote_hosting_release— publish or roll back an immutable hosted releaseglitch_connect_hosting_domain/glitch_verify_hosting_domain— connect and verify a domain the developer ownsglitch_check_hosting_domain/glitch_purchase_hosting_domain— check live pricing, accept agreements, and start secure checkoutglitch_generate_hosting_ai_instructions— create a copy-and-paste deployment/add-on guide without credentialsglitch_list_hosting_databases/glitch_get_hosting_database— inspect safe managed database metadata; owners reveal credentials manually in the Hosting dashboard, never through MCPglitch_create_hosting_database/glitch_update_hosting_database/glitch_retry_hosting_database/glitch_delete_hosting_databaseglitch_change_hosting_plan/glitch_confirm_hosting_checkout— manage direct, Microsoft Marketplace, or paid AWS Marketplace bandwidth plans and confirm direct paid Hosting checkouts
Full contract: docs/tool-reference.md.
Hosted facade contract: docs/hosted-api-contract.md.
Deploy A Hosted Game Website
Glitch MCP can handle the complete website deployment flow with one scoped MCP token:
Use
glitch_list_deploymentsand select a compatible processing or ready game build already uploaded on Deploy Game.Preserve that build id. If it is processing, resume waiting on it; never activate it or upload the unchanged artifact again. Only when no compatible build exists, use
glitch_deploy_game_buildonce and persist the returned id.
Standalone static websites (including pre-order/marketing pages) are not Store
game builds. Use the independent Glitch Hosting CLI (glitch host <dir> --entry index.html with a Hosting token and site ID) rather than manufacturing a Store
game build for such a page. This applies to every Glitch title.
3. Use glitch_deploy_hosting_build with the selected build id. It waits for game-build and release processing, selects or creates the hosting site, creates an immutable release, and publishes it when publish=true.
4. Use glitch_promote_hosting_release to roll back to an earlier release.
Developers do not need to supply a custom smoke-test suite. Glitch runs mandatory deployment-type acceptance gates that custom variables cannot disable. MCP reports processing_stage while waiting and includes the build id, error_code, failure_stage, retryable, error_message, and remediation when a build fails.
For Store-embedded browser surfaces, the canonical Aegis bridge is https://api.glitch.fun/js/aegis-bridge.js. Static HTML/HTM entries and discovered standard Pixel Streaming player pages are patched automatically. Node/SSR, streamed-native/noVNC, generic container, non-HTML static, and custom Pixel Streaming frontends must add the script once to their own browser layout and verify it loads in the final page.
Before step 2 or 3, inspect the finished production artifact and prove its exact entry path. index.html is valid only when it exists at that path and is the real browser bootstrap. A Node/server build must use the executable module that binds PORT; package.json is metadata and is rejected as an entry. Test the exact entry in clean Linux or the production container, verify health and all assets, reach the first interactive screen without console errors, and verify the final public HTTPS URL. A ready release is not yet active.
Node packages must also include a production Dockerfile in the same build
context as package.json and the executable entry. Put it at the ZIP root by
default. Bind to 0.0.0.0 and align HOST=0.0.0.0, PORT=3000, Dockerfile
EXPOSE 3000, and custom_variables.target_port=3000 unless another single
port is explicitly tested. Do not call glitch_update_deployment_status with
ready while a Store build is processing; Glitch returns HTTP 400.
All mutations require confirm=true. Hosting remains independent from the Glitch Store distribution fee and release state.
Manage Hosting From MCP
The developer token preset can manage the full lifecycle of a title's hosted website: settings, releases, domains, analytics, managed databases, and bandwidth plans.
Paid operations use a two-step safety flow:
Read the current Hosting catalog or domain availability response.
Show the developer the exact price and confirmation phrase.
Call the paid tool with
confirm=true, the expected price, and that exact phrase.Open the returned secure-checkout URL. Glitch never accepts card details through MCP.
After payment, call
glitch_confirm_hosting_checkout. Glitch verifies the session with the payment provider before database setup begins.
Database responses contain an endpoint, port, and binding name only. Passwords, secret references, and full connection strings are never returned. glitch_update_hosting_site also rejects password-, token-, key-, and connection-string-shaped configuration before it leaves the local adapter.
Use the packaged /glitch_manage_hosting prompt for a guided, nontechnical management flow.
Developer Social Assets
The local adapter can turn development artifacts into scheduled social drafts without asking a developer to leave their project folder.
glitch_setup_social_asset_folderscreates the conventional folders:captures/,screenshots/,trailers/,builds/latest/social/,marketing/, and.glitch/social-assets/.glitch_scan_local_social_assetsranks screenshots, clips, trailers, and marketing exports, computes SHA-256 hashes, dedupes repeated files, and writes a review manifest.glitch_upload_social_asset_candidatesuploads only approved candidates as GlitchMedia. Atitle_promotion_schedule_idis required when the upload should create social library posts.Glitch Media AI analyzes the uploaded asset first. After that analysis completes, the backend creates a scheduler library
TitleUpdateand uses the existingOpenAIApiServicesocial copy functions with the selected title promotion schedule to write platform-specific text.
The watcher stays off by default. Developers can opt in with glitch_start_social_asset_watch to refresh the local candidate manifest daily; the watcher never uploads by itself.
Rich Experience
Glitch MCP uses progressive enhancement:
Structured MCP results for every client.
Dashboard deep links for the full Glitch browser experience.
MCP Apps widgets where a host supports inline interactive UI.
Full UX map: docs/rich-ui.md.
Safety Defaults
All paid checks happen on the hosted Glitch service.
Analytics tools are read-only, title-scoped to
reports:read, bounded to 25 reports and 365 days per query, and preserve empty/partial states instead of inventing zero values.reports:readreturns aggregate-safe reports; raw identity-level fields and identity filter values stay redacted unless the credential also has the narrowly scopedreports:identityability.Non-commerce mutating tools retain their explicit confirmation requirements. Authorized title-scoped commerce operations execute directly, with truthful write annotations and server-side permissions/invariants.
Social operations are title-scoped, reject credential-shaped input, and recursively remove OAuth tokens, secrets, passwords, API keys, and authorization data from responses.
Read-only, operator, and developer MCP tokens receive different social abilities; publishing, engagement, messaging, account changes, and destructive operations require the developer abilities.
Approval and execution are separate.
Uploaded files are reference material, not trusted instructions.
glitch_upload_filesupports images, videos, and documents up to 50 MB; shared HTTP mode rejects localfile_paths and stdio can be constrained withGLITCH_MCP_UPLOAD_ALLOWED_ROOTS.Local social asset tools are stdio-only, review-first, and upload screenshots/clips as
Media; schedulerTitleUpdatelibrary items are created only after Media AI processing, not before.The local social watcher is off by default. When activated, it rescans and dedupes candidates; uploads still require explicit approval and a
title_promotion_schedule_id.Social asset uploads require an explicit scheduler when they should create
TitleUpdatelibrary posts. After AI analysis completes, Glitch uses the selected title promotion schedule and the existingOpenAIApiServicesocial copy system to write platform-specific text.Tool errors are sanitized before they reach the AI client.
Tokens are never printed by
doctor.The public package cannot run the agent without Glitch SaaS.
Security model: SECURITY.md.
Development
npm install
npm run build
npm testThe tests mock the hosted Glitch facade and cover config loading, HTTP behavior, title selection, run polling, confirmation gates, MCP server initialization, resources, prompts, and tool registration.
Game microtransactions
The adapter includes explicit schema-driven commerce tools for products, existing
Media uploads, provider setup, game-branded checkout, readiness and direct authorized financial operations.
Start with glitch_get_microtransaction_capabilities and the
glitch://microtransactions/setup resource. See
the MCP commerce guide for exact tools, units, scopes,
title-scope boundaries, actual provider requirements and the verified game/account handoff workflow. AI setup prefers direct REST/fetch/HTTP with a complete dependency-free browser starter: no npm/SDK prerequisite. The JavaScript SDK is optional and existing frontend integrations remain supported. Commerce media is isolated from title/game previews and galleries. No custom approval queue is required for commerce.
Sandbox proof is optional QA, not required to enable purchases or activate live sales.
The integration_verified flag remains truthful evidence, and opt-in verification
still checks real payment, fulfillment and handoff facts. Actual provider/account,
market and revenue rules remain enforced.
Direct influencer campaign MCP operations
Use glitch_influencer_campaign_operation with title_id and one of
list, get, update, pause, templates.list, templates.get,
templates.create, templates.update, templates.delete,
template.assign, or invitations.list. A campaign UUID is required
for operations other than list; template operations on a particular template
also require template_id. Mutations require confirm=true.
The existing social:read and social:write MCP permissions authorize reads and mutations respectively; no campaign-specific token scopes are required.
Campaign-specific templates do not change any other campaign. MCP can enable automatic invitations, daily outreach, and resume campaigns. Campaign activation uses the same backend checks as the existing dashboard.
Send campaign email from your own provider or mailbox
Each campaign can send creator email (invitations, follow-ups, replies, onboarding, acceptance and deadline reminders) through:
| What to set with |
| Nothing. Glitch sends from its own address. |
|
|
|
|
|
|
|
|
|
|
| Connect the mailbox once in the browser (links in |
Give your AI only the keys you want it to save. email_provider_key and
email_provider_secret are write-only: they are encrypted, never returned, and
leaving them out of an update keeps the saved value (get shows
email_provider_key_set). email_sender.get reports readiness and what is
missing; email_sender.test with confirm=true sends one test email.
Outreach placeholder catalog and preflight
Before creating or changing campaign invitation copy, call
glitch_influencer_campaign_operation with operation: "placeholders.list".
No title or campaign identifier is needed for this read-only catalog. Its
response includes all 32 exact placeholders from the Glitch outreach
editor, additional renderer aliases, value sources and fallback rules. The
full catalog is available in both the text output and structured data.
Call the same tool with operation: "templates.validate" and a fields
object to check a draft before saving. This operation is read-only and warns
about unrecognized or incorrectly spaced {{tokens}}. On
templates.create and templates.update, warnings are returned alongside
the backend response; the MCP does not silently rewrite the user's copy or
add an authorization gate.
For example, an invitation can use
"Hi {{dynamic_name}}, you are invited to play {{game_title}}. {{campaign_link}}".
{{dynamic_name}} resolves per creator at delivery time; {{campaign_link}}
uses the personalized invite link when a recipient/invitation exists, or a
general campaign page otherwise. {{access_key}} is not a guaranteed game
key: when no assigned key is available, the renderer can substitute a fallback
message. {{campaign_name}} means the human-readable campaign label, while
{{game_title}} means the game's name. The original template should preserve
these tokens unchanged.
Email #1 uses subject, text_version and html_version. Follow-up
emails #1 through #4 use email_touch_point_2_* through
email_touch_point_5_*. Social messages use supported
<platform>_touch_point_<number>_content fields. This feature uses the
existing social:read and social:write abilities and changes no
automatic invitation policy.
Twitch lookalike research and campaign game assignment
Use glitch_research_campaign_lookalike_games (settings, search, similar, active-lookalikes, live-streams) to inspect IGDB lookalike games and their Twitch activity through the existing authorized title-scoped MCP token. Use glitch_assign_campaign_lookalike_games to save 1–25 verified game IDs after confirmation and stale-selection checks. Assignment may queue campaign creator sourcing and, if auto-invites are enabled, future invitations. It does not initiate a paid Agent run or require browser session cookies.
See Twitch game sourcing for influencer campaigns for the complete research/assignment flow and activity-window caveats.
Curated game assignment and budget controls (0.5.8)
An AI may now verify its own hand-picked IGDB game IDs independently of automatic game similarity rankings and assign them using explicit relevance and outreach-impact confirmations. The new separate tools also let authorized AIs read and update the campaign enrichment and creator-email spending limits, including usage status and optimistic version checks. See docs/campaign-twitch-game-sourcing.md for details.
Available Tools
20 toolsglitch_answer_guidanceAnswer GuidanceBDestructive
Answer a Glitch Agent guidance request and resume the server-side workflow when possible.
Inputs: guidance_id (required), answer (required), title_id, payload.
glitch_approve_actionApprove ActionADestructive
Approve a reviewable Glitch Agent action. Execution still remains subject to server-side guardrails.
Inputs: action_id (required), title_id, confirm, note.
glitch_auth_statusGlitch Auth StatusARead-onlyIdempotent
Check whether the current user token or title MCP token can access Glitch MCP.
Inputs: title_id.
glitch_create_upload_urlCreate Upload URLBDestructive
Create a short-lived upload URL for attaching a file to a Glitch Agent title or run.
Inputs: file_name (required), mime_type (required), size_bytes (required), title_id, +1 more.
glitch_execute_actionExecute ActionBDestructive
Execute an approved Glitch Agent action. Public, paid, and creator-facing work remains guarded by Glitch.
Inputs: action_id (required), title_id, confirm, note.
glitch_get_agent_runGet Agent RunARead-onlyIdempotent
Fetch a durable Glitch Agent run with status, actions, guidance, events, files, and final report when available.
Inputs: run_id (required), title_id.
glitch_get_billing_statusGet Billing StatusARead-onlyIdempotent
Check subscription, trial, plan, and credit state for a title.
Inputs: title_id.
glitch_get_final_reportGet Final ReportBRead-onlyIdempotent
Fetch the human-friendly final or partial report for a Glitch Agent run.
Inputs: run_id (required), title_id.
glitch_get_title_contextGet Title ContextARead-onlyIdempotent
Fetch safe, subscription-gated context for a game title.
Inputs: title_id.
glitch_list_artifactsList ArtifactsARead-onlyIdempotent
List downloadable files and hosted report artifacts for a Glitch Agent run.
Inputs: run_id (required), title_id.
glitch_list_guidanceList GuidanceARead-onlyIdempotent
List open or answered guidance requests for a title or run.
Inputs: title_id, run_id, status, limit.
glitch_list_pending_actionsList Pending ActionsCRead-onlyIdempotent
List proposed, guidance-needed, approval-needed, approved, or executed actions for a title.
Inputs: title_id, run_id, status, limit.
glitch_list_run_eventsList Run EventsARead-onlyIdempotent
List user-visible timeline events for a Glitch Agent run.
Inputs: run_id (required), title_id, after_id, limit.
glitch_list_titlesList Glitch TitlesARead-onlyIdempotent
List game titles available to the authenticated Glitch user or title MCP token.
Inputs: include_archived.
glitch_open_dashboardOpen Dashboard LinksARead-onlyIdempotent
Return Glitch dashboard links for a title, run, action, or billing screen.
Inputs: title_id, kind, run_id, action_id.
glitch_reject_actionReject ActionADestructive
Reject a proposed or approval-needed Glitch Agent action.
Inputs: action_id (required), title_id, reason.
glitch_select_titleSelect Glitch TitleBRead-onlyIdempotent
Select a title for this MCP process after verifying access with the hosted Glitch service.
Inputs: title_id (required).
glitch_start_agent_runStart Agent RunBDestructive
Start a paid Glitch Agent run for a title. Subscription and title permissions are enforced by Glitch.
Inputs: prompt (required), title_id, agent_id, run_type, +9 more.
glitch_upload_fileUpload FileADestructive
Upload a local image, video, or document (e.g. a screenshot, gameplay clip, or brief) to a Glitch title or run. Files become run attachments and potential social assets, treated as reference material behind the prompt-injection boundary.
Inputs: title_id, agent_run_id, file_path, content_base64, +2 more.
glitch_wait_for_agent_runWait For Agent RunARead-onlyIdempotent
Wait for a Glitch Agent run until it completes, pauses for approval/guidance, fails, is canceled, or times out. Streams live events as progress/log notifications when the client supports them.
Inputs: run_id (required), title_id, timeout_ms, poll_interval_ms, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Each tool targets a distinct resource or action (e.g., guidance, actions, runs, files). Even closely related tools like approve vs. execute vs. reject action have clearly different purposes, and descriptions further disambiguate them.
Most tools follow a consistent 'verb_noun' pattern (e.g., glitch_list_titles, glitch_start_agent_run). One exception is glitch_auth_status, which lacks a verb, and glitch_wait_for_agent_run uses a phrasal verb. Overall, the pattern is largely predictable.
With 20 tools, the set is slightly above the ideal 3-15 range but still well-scoped for the multi-faceted domain (authentication, billing, title management, agent runs, actions, files, guidance). No tool feels redundant.
The tool surface covers core workflows (start/wait/get runs, actions, guidance, files) but lacks basic lifecycle operations like listing all runs, canceling a run, or deleting artifacts. This creates notable gaps that an agent may need to work around.
Maintenance
Related MCP Connectors
Run your Krtuworks apps from an AI agent: setup, remote config, stats, players, bug reports.
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
Connect your AI agent to the apitree API marketplace.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceConnects AI tools to the Dovetail API, enabling them to interact with Dovetail features.8MIT
glade-mcpofficial
AlicenseNot gradedqualityBmaintenanceConnect any MCP-compatible AI client (Claude Code, Cursor, Windsurf) to Unity or Godot. 300+ granular tools, an editor aware system prompt, game design document project context, script semantic search, and skill calibration.204MIT- AlicenseAqualityCmaintenanceEnables AI agents to audit Steam store pages for algorithmic health, forecast sales cones with P10/P50/P90 scenarios, and retrieve genre benchmarks for indie game market analysis.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding tools to connect and authorize local game projects, then drive source edits, validation, preview, version saving, and mode-based creation workflows.Apache 2.0