StemJSON MCP Server

Generate mobile features in your AI chat

Describe a feature to Claude or ChatGPT; this server helps it write a valid StemJSON module and hands back a link that opens it, native, on your phone.

How to connect

Works with Claude · Claude Code · ChatGPT · any MCP client

From prompt to phone

your AI chat

you A checkers game I can play against an AI - build it with StemJSON.

scaffold_module ✓ validate_module ✓ submit_module ✓

AI Validated and accepted. Open it on your phone - or download checkers.stem there: stemjson.com/t/…

A playable game - AI opponent, kings, multi-jump chains - in one StemJSON file.

Checkers module rendered natively on iPhone - full board with red and black pieces, 'Red to move' status card, and New game controls
Rendered natively on iPhone

Connect

server URL
https://stem-cloud-api-183076946186.europe-west1.run.app/mcp
  1. Settings → Connectors on claude.ai or in the desktop app.
  2. Add custom connector, paste the server URL.
  3. Sign in with GitHub when prompted.

Free with your existing AI subscription. GitHub sign-in, rate limits apply. Questions or higher limits: email us.

What you get back

A share link

On an iPhone with Pluri installed, the link opens what you built, working. Without the app, it shows a preview page.

The .stem file

A module is a single JSON file - download it from the share link. Use it in the example apps, or in any app with the StemRuntime SDK.

Validation

The server checks structure, references, and design rules; failures go back to the AI to fix, not to you.

Where your modules run

Runnable today

Public examples

Complete example apps with the runtime integrated. Clone one, add your .stem file, and run it - works today, no wait for Pluri.

Swift  ·  Kotlin
On your phone

Pluri

Renders modules as standalone tools on iPhone. Share links open here automatically once the app is installed. Coming soon to the App Store.

About Pluri →
In your own app

StemRuntime SDK

Add the SDK to your iOS or Android app and render StemJSON inside it: ship new screens from your backend without an app update, or add a Stem AI Area where your users generate features on the fly.

About the runtime →

Under the hood

Nine tools cover the whole authoring loop - spec lookups while writing, validation before anything reaches you, submission at the end. Also useful on their own when writing StemJSON by hand or reviewing generated modules.

  • begin_stemjson_module Returns the authoring workflow the AI follows.
  • scaffold_module Starter skeleton for a new module.
  • get_example Complete, working example modules.
  • lookup_component Contract for any UI component.
  • lookup_action Contract for any action.
  • search_spec Full-text search over the spec.
  • get_spec_section Read a spec section in place.
  • validate_module The same validator the runtimes use.
  • submit_module Accepts the module, returns a share link.

Paste the URL. Build something.

Setup steps