Appa Tools documentation for MCP Studio, including setup, guides, concepts, and API-related reference content.

Skip to main content

Sample apps and playground

Use the sample apps and playground to learn how MCP Studio SDK supports different context workflows. Each sample shows how a product can help users connect trusted sources, deploy MCP servers, and keep AI answers grounded.

AudienceDevelopers, sales engineers, and product teams evaluating embedded Context MCP Studio workflows
PrerequisitesNode.js, Git, access to the public sample repository, and an SDK account for real credentials

Public sample app repository​

GitHub repo: mcp-studio-sdk-sample-apps

This repo includes three simple Next.js fullstack concepts:

  • HelpDesk IQ: A support platform that embeds MCP Studio for docs-grounded ticket responses.
  • PolicyPilot: A compliance platform that embeds MCP Studio for policy and control retrieval.
  • KnowledgeCloud LMS: A learning platform that embeds MCP Studio for training assistants.

Each app is a complete integration rather than a snippet demo. It includes:

  • A mock API route, so the page has real product context around the embed.
  • A server-side session route that exchanges your client secret for an attribution token.
  • An embed component that receives only the public client id and that token.
  • A per-app README describing the configuration choices and the credential flow.

Every SDK feature, a different scenario in each app​

Each app uses all six features in a way that fits its product, so you can compare more than one way to use the same capability.

FeatureHelpDesk IQPolicyPilotKnowledgeCloud LMS
End-user accountsSwitch between customer workspacesSwitch between framework ownersSwitch between instructors
BrandingPlan sets the per-customer limitVendor disclosure in the audit cardPreview of what instructors see
API keysCounts each customer's servers and requestsProvisions a policy server from the backendBuilds the admin's instructor roster
Business IntelligenceCustomers ranked by MCP requestsAudit table per ownerInsights link per instructor
LimitsWizard replaced at the per-customer ceilingRefusal shown as MCP Studio wrote itCourse seats and the shared request pool
Headless MCPlist_servers escalation lookupset_server_visibility restrictdelete_server to retire a course

The demo users stand in for your signed-in users. In your app, take endUserId from your own session, never from the request.

Running them​

The samples require your own credentials and will not render the wizard without them. That is deliberate: a client id alone produces an unverified session, so an embed that ran without a secret would be teaching the wrong integration.

git clone https://github.com/zthewriter/mcp-studio-sdk-sample-apps
cd mcp-studio-sdk-sample-apps
npm install

cd apps/helpdesk-iq
cp .env.example .env.local

Paste both values from the developer portal into .env.local:

MCP_STUDIO_CLIENT_ID=your_client_id_here
MCP_STUDIO_CLIENT_SECRET=your_client_secret_here

To turn on the API key, Business Intelligence, and Headless MCP panels, also add an integrator API key from Portal → API keys. It is optional, and like the secret it stays on your server:

MCP_STUDIO_API_KEY=paste_your_msk_live_key_here

Then run any app from the repo root. Ports differ so you can run all three at once:

npm run dev:helpdesk    # http://localhost:3000
npm run dev:policy # http://localhost:3001
npm run dev:lms # http://localhost:3002

If a credential is missing or wrong, the app tells you which one instead of failing silently. Neither variable is prefixed NEXT_PUBLIC_, because Next.js inlines those into the browser bundle. See Verify embed sessions for why the secret stays on your server.

Interactive playground​

Playground URL: appatools.com/mcp-studio-sdk/playground

In the playground, you can:

  1. Start from a default HelpDesk IQ-style SDK configuration.
  2. Edit configuration JSON in the editor.
  3. Click Save changes.
  4. Review the updates in the demo app panel.
  5. Deploy a server, then open My servers and Analytics in the demo app's sidebar to see the end-user dashboard and analytics your customers get. Each visitor gets their own end user, so you see only the servers you built.

When you are ready for deeper options, continue with: