Mobiscroll MCP

official

Version-stamped API knowledge for Mobiscroll UI — scheduler, event calendar, timeline and pickers — plus the Connect calendar API. 14 read-only tools.

What can you do with Mobiscroll MCP?

  • Component schema lookup — Ask the assistant to fetch the current schema for a Mobiscroll component before writing props or events.
  • Code validation — Have generated Mobiscroll code checked against the live API before it is returned to you.
  • Example search — Ask the assistant to find working examples for a component such as the scheduler or event calendar.
  • Framework and version detection — The assistant resolves your framework and Mobiscroll version via resolveEnvironment before generating code.
  • Theming guidance — Ask theming questions and get answers from the mobiscroll-ui-theming skill.

Hosted MCP Server

npx add-mcp 'https://mcp.mobiscroll.com'

Installs into Claude Code, Codex, Cursor and more

Documentation

This page sets up coding assistants to write code with the Mobiscroll UI components: the scheduler, event calendar, timeline and pickers. Pick your framework in any of the tabs below; every tab on the page follows it. For backend code with the Connect calendar API, see AI Tooling for Mobiscroll Connect.

Your assistant gets live, version-stamped API data from the Mobiscroll MCP server. The MCP server, the Claude app and the MCP tool reference are shared with Mobiscroll Connect and live on the AI Tooling page.

Why assistants need this for UI code

Without Mobiscroll-specific context, coding assistants often:

The docs files, rules files and skills below give the assistant the current API for your framework and keep it there. Review generated code before merging it, the same as any AI output.

Install and connect

Where each assistant is set up:

MCP server

The Mobiscroll MCP server answers your assistant's questions about UI code while it writes: component schemas, working examples and code validation, through the 6 UI tools. The endpoint is https://mcp.mobiscroll.com/.

  • Claude Code and Codex: bundled with the mobiscroll plugin, nothing to set up.
  • Cursor and GitHub Copilot: optional, for Option B. The extended rules files call it.

What the server does and doesn't access is described in MCP server on the AI Tooling page.

Data layer: llms files

Machine-readable documentation with the complete Mobiscroll API reference and guides, one set per framework. These are the files AI tools read to answer questions.

[!-info] -info info

You don't need to download or host these files: the rules files and the plugin reference them and fetch their content.

Rules layer: rules files

Rules files give Cursor and GitHub Copilot the Mobiscroll context. Claude Code and Codex use the plugin instead. There are two options, explained on the AI Tooling page: Option A is a rules file that works on its own, Option B is a set of extended rules files that call the MCP server.

Installing Mobiscroll UI from an agent

Mobiscroll UI packages come from a private registry, so npm install of a Mobiscroll UI package fails with 403 until the CLI has set up the project. The CLI needs you to approve the sign-in in your browser, so an agent runs it with --yes --no-wait. (Mobiscroll Connect SDKs install from their public registries and don't use the CLI.)

  • JavaScript
  • React
  • Angular
  • Vue
  • jQuery
npm install -g @mobiscroll/cli
mobiscroll config javascript --yes --no-wait
  1. The command prints a sign-in link and a code, then stops. The agent shows both to you, and you approve in your browser. The agent never approves the sign-in itself, never asks for your password and never runs npm login.
  2. After you approve (within 10 minutes), the agent runs the same command again. It finishes the setup.
  3. Without a license, or when your license doesn't cover the framework, the CLI installs the trial. After the install it says whether your account's trial works (not started yet, ended, or active until a date), and the agent shows you that message.

The CLI saves the token in the project's .npmrc (with Yarn 2+ also in .yarnrc.yml). If you commit that file, installs work for everyone out of the box, but anyone who can read the repository can use the token. For other setups, such as the user-level ~/.npmrc or an environment variable, see Using the npm auth token securely.

The Claude Code and Codex plugins and the Cursor and GitHub Copilot rule files already tell the agent to do this. For CI, see AI agents and CI.

Cursor setup

Step 1: Register the documentation source

Open Cursor Settings → Indexing & Docs and add the documentation source for your framework:

Register only the source for your framework. A second source, for example another framework's or Connect's, makes the assistant mix them.

Step 2: Add behavior rules

Choose one option. Option A works right away. Option B adds live MCP schema lookups and needs the MCP server.

Option A:.mdc rules file

  • JavaScript
  • React
  • Angular
  • Vue
  • jQuery

Download mobiscroll-javascript.mdc and place it in .cursor/rules/:

your-project/
├── .cursor/
│   └── rules/
│       └── mobiscroll-javascript.mdc
├── src/
└── package.json

The .mdc file holds text-based API rules and needs no other setup.

Option B: extended rule files and MCP server

  • JavaScript
  • React
  • Angular
  • Vue
  • jQuery

Download the three extended rule files and place them in .cursor/rules/:

your-project/
├── .cursor/
│   ├── mcp.json
│   └── rules/
│       ├── mobiscroll-ui.mdc
│       ├── mobiscroll-ui-javascript.mdc
│       └── mobiscroll-ui-theming.mdc
├── src/
└── package.json

These rule files tell Cursor's assistant to call the MCP server for the current component schema on each generation, instead of guessing from memory. Then connect the MCP server in .cursor/mcp.json.

Rule activation

The extended .mdc files use alwaysApply: false with a description in their frontmatter. Cursor reads the description and activates a rule only when the context is relevant, so it isn't included in every message. You can also trigger one by hand with @rule-name, for example @mobiscroll-ui. The .mdc format works in all Cursor modes, including Agent mode.

Step 3: Use @docs in queries

Include @docs when you ask Cursor about Mobiscroll, so it reads the registered documentation:

@docs How do I set up a weekly scheduler with Mobiscroll?
@docs What options does the Eventcalendar timeline view accept?

GitHub Copilot setup

Step 1: Add behavior rules

Choose one option. Option A works right away. Option B adds live MCP schema lookups and needs the MCP server.

Option A:.instructions.md rules file

  • JavaScript
  • React
  • Angular
  • Vue
  • jQuery

Download mobiscroll-javascript.instructions.md and place it in .github/instructions/:

your-project/
├── .github/
│   └── instructions/
│       └── mobiscroll-javascript.instructions.md
├── src/
└── package.json

The .instructions.md file holds text-based API rules and needs no other setup.

Option B: extended instruction files and MCP server

  • JavaScript
  • React
  • Angular
  • Vue
  • jQuery

Download the three extended instruction files and place them in .github/instructions/:

your-project/
├── .vscode/
│   └── mcp.json
├── .github/
│   └── instructions/
│       ├── mobiscroll-ui.instructions.md
│       ├── mobiscroll-ui-javascript.instructions.md
│       └── mobiscroll-ui-theming.instructions.md
├── src/
└── package.json

These instruction files tell Copilot to call the MCP server for the current component schema on each generation. Then connect the MCP server in .vscode/mcp.json.

What the instruction files contain

The instruction files use applyTo: "**", so they apply to every Copilot Chat query without a manual reference. Both options contain:

  • Documentation URLs: point the assistant to your framework's docs
  • Component mapping: map what you ask for (for example "scheduler") to the right Mobiscroll APIs
  • Rules: correct package imports, CSS loading and API usage
  • Constraints: no cross-framework mixing and no invented APIs

Ask Mobiscroll questions directly:

How do I set up a weekly scheduler with Mobiscroll?
What options does the Eventcalendar timeline view accept?

Claude Code setup

Install the Mobiscroll plugin for Claude Code. The plugin bundles the UI skills and the MCP server in one install, with no configuration files in your project. It works the same for every framework, so this section has no tabs.

Step 1: Register the marketplace

Run this once in Claude Code to add the Mobiscroll marketplace:

/plugin marketplace add acidb/mobiscroll-marketplace

Step 2: Install the plugin

/plugin install mobiscroll@mobiscroll

[!-warning] -warning Plugin skills don't update on their own

Installing the plugin takes a snapshot of its skills. Claude Code doesn't pull in newer ones unless you enable auto-update for the marketplace. To get the latest at any time, run /plugin marketplace update mobiscroll && /plugin update mobiscroll@mobiscroll, then /reload-plugins.

Step 3: Connect the MCP server

The plugin bundles the MCP server, so most setups need nothing more. To add it by hand:

claude mcp add --transport http mobiscroll https://mcp.mobiscroll.com/

[!-warning] -warning VS Code extension

In the Claude Visual Studio Code extension, the server appears only when it is added with project scope, as below.

To share the server with your team, use project scope:

claude mcp add --transport http --scope project mobiscroll https://mcp.mobiscroll.com/

This creates or updates .mcp.json in your project root. You can also write that file yourself:

{
  "mcpServers": {
    "mobiscroll": {
      "type": "http",
      "url": "https://mcp.mobiscroll.com/"
    }
  }
}

All scopes and where each one is stored are listed in Claude Code on the AI Tooling page.

[!-warning] -warning Also connected from the directory?

If your organization has enabled the Mobiscroll connector from Anthropic's directory, you may already have the server through your Claude account. A project-scoped .mcp.json entry and the directory connector are two routes to the same server, and Claude Code can report the project entry as failing to load until you authorize the connector on your own account. Authorize it once and both work, or remove the .mcp.json entry and rely on the connector alone. See Claude app.

Verify the connection: run /mcp in Claude Code. The panel lists each connected server and its tool count. A healthy connection shows mobiscroll with its tools.

How it works

Once installed, the plugin provides:

  • Skills: mobiscroll-ui is the orchestrator skill. It detects your framework (JavaScript, React, Angular, Vue or jQuery) and loads the matching framework sub-skill with that framework's conventions. mobiscroll-ui-theming handles theming questions. All skills are installed together.
  • MCP server: the bundled Mobiscroll MCP server looks up component schemas, validates code and searches examples on demand, so Claude works from the current API instead of guessing from memory.

When you ask Claude Code to write Mobiscroll code, it:

  1. Detects your framework and Mobiscroll version with resolveEnvironment
  2. Loads the framework skill with that framework's conventions
  3. Looks up the component schema before it writes any props or events
  4. Validates the generated code before it returns it to you

Review generated code before merging it, the same as any AI output.

Codex setup

Install the Mobiscroll plugin for OpenAI Codex. It is the same plugin as for Claude Code: it bundles the UI skills and the MCP server in one install, with no configuration files in your project. Codex uses /plugins where Claude Code uses /plugin.

Step 1: Register the marketplace

Run this once in Codex to add the Mobiscroll marketplace:

/plugins marketplace add acidb/mobiscroll-marketplace

Step 2: Install the plugin

/plugins install mobiscroll@mobiscroll

[!-warning] -warning Plugin skills don't update on their own

Installing the plugin takes a snapshot of its skills, and Codex doesn't pull in newer ones. To get the latest, update the marketplace catalog and reinstall the plugin: /plugins marketplace update mobiscroll, then /plugins install mobiscroll@mobiscroll.

Step 3: Connect the MCP server

The plugin bundles the MCP server, so most setups need nothing more. To add it by hand, add it to ~/.codex/config.toml (global) or .codex/config.toml (project, trusted projects only):

[mcp_servers.mobiscroll]
url = "https://mcp.mobiscroll.com/"

Or register it from the command line:

codex mcp add mobiscroll --url https://mcp.mobiscroll.com/

All scopes and where each one is stored are listed in Codex on the AI Tooling page.

Verify the connection: run /mcp in Codex. The panel lists each connected server and its tools. A healthy connection shows mobiscroll with its tools listed.

How it works

Once installed, the plugin provides:

  • Skills: mobiscroll-ui is the orchestrator skill. It detects your framework (JavaScript, React, Angular, Vue or jQuery) and loads the matching framework sub-skill with that framework's conventions. mobiscroll-ui-theming handles theming questions. All skills are installed together.
  • MCP server: the bundled Mobiscroll MCP server looks up component schemas, validates code and searches examples on demand, so Codex works from the current API instead of guessing from memory.

When you ask Codex to write Mobiscroll code, it:

  1. Detects your framework and Mobiscroll version with resolveEnvironment
  2. Loads the framework skill with that framework's conventions
  3. Looks up the component schema before it writes any props or events
  4. Validates the generated code before it returns it to you

Review generated code before merging it, the same as any AI output.

Framework isolation

[!-warning] -warning Critical

Each rules file and documentation source targets exactly one framework. Never combine files from different frameworks.

Most API options are shared across frameworks, but component usage and templating differ for each, and mixing them produces broken code.

Rules:

  1. Use only the rules files for one framework in a project.
  2. Register only one documentation source in Cursor.
  3. If a project uses several frameworks, for example in micro-frontends, set up a separate directory with its own rules files for each.
  4. If the assistant writes code with another framework's imports, check that the right rules file is in place.

Mobiscroll Connect is a separate backend product with its own rules files. If one codebase uses both, see Using UI and Connect together.

Example queries

Questions the setup is built to answer correctly:

  • JavaScript
  • React
  • Angular
  • Vue
  • jQuery
How do I initialize a Mobiscroll eventcalendar on a DOM element?
Set up an agenda view with mobiscroll.eventcalendar().
How do I load events from a remote URL?

Troubleshooting

The assistant writes code for the wrong framework

The assistant invents APIs

Symptom: the assistant suggests options, events or types that don't exist in the Mobiscroll documentation.

Fix: the rules files tell the assistant to use only APIs found in the docs. If it still happens, reference @docs in Cursor queries, or check that the plugin is installed: /plugin list in Claude Code, codex plugin list in Codex. You can also ask the assistant to check that an option exists in the Mobiscroll docs.

The assistant mixes Mobiscroll Connect with UI components

Symptom: the assistant writes REST API calls when you asked about a frontend calendar component, or component code when you asked about the Connect API.

Fix: Connect is a backend layer (OAuth, REST, webhooks) with no UI components; the Eventcalendar is a frontend UI component with no REST API. They use separate rules files and documentation sources. Check that the right rules file is active, and if one codebase uses both, keep a separate AI context directory for each.

MCP connection problems are covered on the AI Tooling page.

File reference

llms-icons.txt, the orchestrator and the theming files are the same for every framework.

File contents

The complete contents of each file. Copy from these blocks or use the download links above.