Start native apps faster with the Composables CLI ->

MCP Server

Use the Composables MCP server to let your agent know about components, installation steps, code examples.

The Composables MCP server enables your AI agents to build Compose apps with Composables UI by searching for documentation straight from the source without having to rely on web search and outdated information.

Quick Start

The fastest way to use the Composables MCP server is installing it with the Composables CLI.

Make sure you have the CLI installed:

npm install -g composables-cli

composables mcp install --client android-studio

Then open Android Studio and go to Settings > Tools > AI > MCP Servers.

In the JSON View tab turn on the Enable MCP Servers option.

For more information, visit Android Studio's Add an MCP server

Configurations

HTTP MCP Server

The Composables MCP server can be used with MCP clients that support streamable HTTP transport.

Use this endpoint when adding a new MCP server:

https://composables.com/mcp

Stdio MCP Server

The Composables MCP server can also run locally over stdio transport.

Use stdio when your MCP client needs to run local project actions, like creating projects or adding modules:

composables mcp start

You do not need to run this command manually when you install with composables mcp install. The MCP client starts it when needed.

Example prompts

  • Install Composables UI in this project
  • Create a home screen, with an app bar and bottom navigation with 4 tabs.
  • How to use Composables UI bottom sheets?
  • Build a sign-in screen with email and password fields plus a primary submit button.
  • Add scrollbars to this screen using Composables UI.

Learn More