# How to connect Google Stitch to Grok Bot

```json
{
  "title": "How to connect Google Stitch to Grok Bot",
  "toolkit": "Google Stitch",
  "toolkit_slug": "google_stitch",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/google_stitch/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/google_stitch/framework/grok-bot.md",
  "updated_at": "2026-11-22T06:01:04.020Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Google Stitch to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Google Stitch in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/google_stitch).

## Also integrate Google Stitch with

- [ChatGPT](https://composio.dev/toolkits/google_stitch/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/google_stitch/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/google_stitch/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/google_stitch/framework/atomic-agent)

## TL;DR

Composio exposes 1,700+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,700+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Google Stitch to Grok Bot

### Connecting Google Stitch to Grok Bot
Once Grok Bot is set up, you connect Google Stitch entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Google Stitch
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your Google Stitch account
Back in the chat, ask your bot to connect to Google Stitch or give it any Google Stitch task.
For example, ask it to:
- "List all your Google Stitch projects"
- "Create a mobile checkout screen in Stitch"
- "Inspect artifacts from your latest Stitch project"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Google Stitch account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Google Stitch through MCP without you sharing account credentials directly with the agent.

## What is the Google Stitch MCP server, and what's possible with it?

The Google Stitch MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Google Stitch account. It provides structured and secure access to your projects, screens, design systems, and design files, so your agent can create interface designs, edit screens, generate variants, apply design systems, and manage project assets on your behalf.
- Project creation and management: Have your agent create, list, inspect, and permanently delete Google Stitch projects.
- AI screen generation and editing: Direct your agent to generate screens from text prompts, edit existing screens with text instructions, and retrieve screen details.
- Design exploration with variants: Let the agent create multiple screen variants with specified creative ranges, aspect ratios, device types, and supported models.
- Design system workflows: Instruct your agent to create, update, list, and apply design systems across screens, or build a design system from uploaded DESIGN.md content.
- Screen file access: Have your agent list screens and download available HTML or screenshot files for use in your design workflow.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `GOOGLE_STITCH_APPLY_DESIGN_SYSTEM` | Apply Design System | Apply one design system to 1-20 unique typed screen instances from Get Project. Returns every restyled screen plus any clarification, progress, design-system, or session output. This mutating generation request is sent once and never retried; reconcile an indeterminate failure with project reads. |
| `GOOGLE_STITCH_CREATE_DESIGN_SYSTEM` | Create Design System | Create a typed Stitch design system from explicit current theme fields. Providing project_id creates it for that project; intentionally omitting project_id creates a global asset. This non-idempotent operation is attempted once and is never retried automatically. |
| `GOOGLE_STITCH_CREATE_DESIGN_SYSTEM_FROM_DESIGN_MD` | Create Design System From Markdown | Create a project design system from the exact screen instance returned by Upload Design Markdown. The non-idempotent request is sent once and is never retried by this action. |
| `GOOGLE_STITCH_CREATE_PROJECT` | Create Project | Create a Stitch project container for UI designs and return its project resource name. This non-idempotent operation is sent once and is not retried by the action. |
| `GOOGLE_STITCH_DELETE_PROJECT` | Delete Project | Permanently delete one Google Stitch project. This destructive operation cannot be undone, requires explicit confirmation, and is attempted once without automatic retries. |
| `GOOGLE_STITCH_DOWNLOAD_FILE` | Download Screen File | Retrieve bounded HTML or screenshot content using a provider-owned Stitch file resource name. Arbitrary URLs are never accepted or fetched. |
| `GOOGLE_STITCH_EDIT_SCREENS` | Edit Screens | Apply one text-directed edit to up to 20 existing Stitch screens. The response may contain changed screens, clarification questions, or progress; the operation may continue after a timeout, and the action sends one request without retries. |
| `GOOGLE_STITCH_GENERATE_SCREEN` | Generate Screen | Generate screens from a bounded text prompt in an existing Stitch project. Returns every generated screen or recoverable clarification output. This paid or mutating operation is attempted exactly once; a timeout or connection loss is indeterminate and is never retried automatically. |
| `GOOGLE_STITCH_GENERATE_VARIANTS` | Generate Screen Variants | Generate 1-5 variants for up to 20 unique source screens with exact creative-range, aspect, device, and model enums. Returns every generated screen or recoverable clarification output. This generation request is sent once and never retried. |
| `GOOGLE_STITCH_GET_PROJECT` | Get Project | Get one Stitch project by full resource name, including screen instances needed for design-system application. |
| `GOOGLE_STITCH_GET_SCREEN` | Get Screen | Get one Stitch screen by full resource name and return bounded screen metadata plus provider-owned HTML and screenshot file references. |
| `GOOGLE_STITCH_LIST_DESIGN_SYSTEMS` | List Design Systems | List complete Google Stitch design systems for one project. The live provider requires project_id and exposes no pagination. |
| `GOOGLE_STITCH_LIST_PROJECTS` | List Projects | List Google Stitch projects owned by the connected account or explicitly shared with it. Owned projects are returned by default. |
| `GOOGLE_STITCH_LIST_SCREENS` | List Screens | List all screens currently returned for one Stitch project, including safe HTML and screenshot file resource references. |
| `GOOGLE_STITCH_UPDATE_DESIGN_SYSTEM` | Update Design System | Update a Stitch design system's display name and typed nondeprecated theme for one project. The operation is attempted once without automatic retries. |
| `GOOGLE_STITCH_UPLOAD_DESIGN_MD` | Upload Design Markdown | Upload bounded UTF-8 DESIGN.md content to a Stitch project and return the screen instance required by Create Design System From Markdown. The action uploads content only, never reads local files or executes the content, and does not retry after an indeterminate failure. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Google Stitch MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Google Stitch is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Google Stitch MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/google_stitch/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/google_stitch/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/google_stitch/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/google_stitch/framework/atomic-agent)

## Related Toolkits

- [Figma](https://composio.dev/toolkits/figma) - Figma is a collaborative interface design tool for teams and individuals. It streamlines design workflows with real-time collaboration and easy sharing.
- [Abyssale](https://composio.dev/toolkits/abyssale) - Abyssale is a creative automation platform for generating images, videos, GIFs, PDFs, and HTML5 content programmatically. It streamlines and scales visual content production for marketing, design, and operations teams.
- [Alttext ai](https://composio.dev/toolkits/alttext_ai) - AltText.ai is a service that generates alt text for images automatically. It helps boost accessibility and SEO for your visual content.
- [Are.na](https://composio.dev/toolkits/arena) - Are.na is a creative research platform for collecting images, links, notes, and ideas in channels. Use it to organize inspiration, build knowledge maps, and connect research across projects.
- [Bannerbear](https://composio.dev/toolkits/bannerbear) - Bannerbear is an API-driven platform for generating images and videos automatically at scale. It helps businesses create custom graphics, social visuals, and marketing assets using powerful templates.
- [Bannerbite](https://composio.dev/toolkits/bannerbite) - Bannerbite is a creative automation platform for generating images and videos from reusable projects and templates. It helps teams produce on-brand visual assets faster without rebuilding designs from scratch.
- [BeatAPI](https://composio.dev/toolkits/beatapi) - BeatAPI is an asynchronous API platform for AI image, video, and music workflows. It enables scalable generation, video analysis, uploads, and ecommerce video pipelines.
- [Builder.io](https://composio.dev/toolkits/builder_io) - Builder.io is a visual development platform for managing content, models, assets, and Space configuration. Use it to ship editable digital experiences faster without waiting on every code change.
- [Canva](https://composio.dev/toolkits/canva) - Canva is a drag-and-drop design suite for creating professional graphics, presentations, and marketing materials. It makes it easy for anyone to design with beautiful templates and a vast library of elements.
- [Canva MCP](https://composio.dev/toolkits/canva_mcp) - Canva MCP is Canva's remote MCP server for accessing designs and content. It centralizes design assets and enables programmatic design workflows.
- [Claid ai](https://composio.dev/toolkits/claid_ai) - Claid.ai delivers AI-driven image editing APIs for tasks like background removal, upscaling, and color correction. It helps automate and enhance image workflows with powerful, developer-friendly tools.
- [Cloudinary](https://composio.dev/toolkits/cloudinary) - Cloudinary is a cloud-based platform for managing, uploading, and transforming images and videos. It streamlines media workflows and delivers optimized assets globally.
- [Clueso MCP](https://composio.dev/toolkits/clueso_mcp) - Clueso is a product video and documentation platform for creating polished visual content. It brings video editing, voiceovers, captions, animations, and exports into one hosted workspace.
- [Contentdrips](https://composio.dev/toolkits/contentdrips) - Contentdrips is an asynchronous rendering API for branded graphics and carousels. It turns reusable templates into on-brand social visuals at scale.
- [Creatomate](https://composio.dev/toolkits/creatomate) - Creatomate is an API for generating automated videos, images, GIFs, and reusable media templates. Use it to turn structured data into polished visual content at scale.
- [Cults](https://composio.dev/toolkits/cults) - Cults is a digital marketplace for 3D printing models, connecting designers and makers. It lets creators share, sell, and discover a huge variety of printable designs easily.
- [DeepImage](https://composio.dev/toolkits/deepimage) - DeepImage is an AI-powered image enhancer and upscaler. Get higher-quality images with just a few clicks.
- [Details MCP](https://composio.dev/toolkits/details_mcp) - Details MCP is a curated library of web design references and paste-ready Vault code. It helps teams quickly find polished transitions, buttons, and page sections.
- [Dribbble](https://composio.dev/toolkits/dribbble) - Dribbble is a design community and publishing platform for managing shots, projects, and attachments. Use it to showcase work, collect feedback, and organize creative designs.
- [Dynamic Mockups](https://composio.dev/toolkits/dynamic_mockups) - Dynamic Mockups is an API platform for generating product mockups, rendering templates, and managing visual asset catalogs. Use it to automate high-quality product visuals, AI images, and motion assets at scale.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Google Stitch MCP?

With a standalone Google Stitch MCP server, the agents and LLMs can only access a fixed set of Google Stitch tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Google Stitch and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Google Stitch tools.

### Can I manage the permissions and scopes for Google Stitch while using Tool Router?

Yes, absolutely. You can configure which Google Stitch scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Google Stitch data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
