AI Tooling for Mobiscroll UI: MCP Server & Agent Skills
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:
- JavaScript
- React
- Angular
- Vue
- jQuery
- Invent APIs: option names, events or types that don't exist
- Mix frameworks: add React hooks or Angular module imports to plain JavaScript code
- Use outdated versions: v5 code when the current version is v6
- Ignore JavaScript conventions: skip the CSS import, or use component-based initialization instead of the JavaScript API
- Invent APIs: option names, events or types that don't exist
- Mix frameworks: use Angular module imports or jQuery plugin syntax instead of React hooks and JSX
- Use outdated versions: v5 code when the current version is v6
- Ignore React conventions: skip the named imports from
@mobiscroll/react, or omit the CSS import
- Invent APIs: option names, events or types that don't exist
- Mix frameworks: use React hooks or jQuery plugin patterns in Angular code
- Use outdated versions: v5 code when the current version is v6
- Ignore Angular conventions: skip the
MbscModuleimports, or load the CSS the wrong way
- Invent APIs: option names, events or types that don't exist
- Mix frameworks: use React hooks or Angular dependency injection instead of the Vue Composition API
- Use outdated versions: v5 code when the current version is v6
- Ignore Vue conventions: skip component registration, or omit the CSS import
- Invent APIs: option names, events or types that don't exist
- Mix frameworks: use React component syntax or Angular module imports instead of jQuery plugin patterns
- Use outdated versions: v5 code when the current version is v6
- Ignore jQuery conventions: skip the CSS import, or initialize components without the jQuery plugin pattern
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:
- Claude Code and Codex: install the
mobiscrollplugin, as described below on this page. - Claude app: connect the Mobiscroll connector from Anthropic's directory.
- The MCP step for Cursor and GitHub Copilot: needed for Option B.
- MCP tool reference: the 6 UI tools.
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
mobiscrollplugin, 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.
- JavaScript
- React
- Angular
- Vue
- jQuery
| File | Description |
|---|---|
llms-javascript-full.txt | Complete JavaScript documentation |
llms-javascript.txt | JavaScript table of contents (links to individual pages) |
llms-icons.txt | Icon names (IcoMoon, Font Awesome, Ionicons), the same for all frameworks |
| File | Description |
|---|---|
llms-react-full.txt | Complete React documentation |
llms-react.txt | React table of contents (links to individual pages) |
llms-icons.txt | Icon names (IcoMoon, Font Awesome, Ionicons), the same for all frameworks |
| File | Description |
|---|---|
llms-angular-full.txt | Complete Angular documentation |
llms-angular.txt | Angular table of contents (links to individual pages) |
llms-icons.txt | Icon names (IcoMoon, Font Awesome, Ionicons), the same for all frameworks |
| File | Description |
|---|---|
llms-vue-full.txt | Complete Vue documentation |
llms-vue.txt | Vue table of contents (links to individual pages) |
llms-icons.txt | Icon names (IcoMoon, Font Awesome, Ionicons), the same for all frameworks |
| File | Description |
|---|---|
llms-jquery-full.txt | Complete jQuery documentation |
llms-jquery.txt | jQuery table of contents (links to individual pages) |
llms-icons.txt | Icon names (IcoMoon, Font Awesome, Ionicons), the same for all frameworks |
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.
- JavaScript
- React
- Angular
- Vue
- jQuery
Option A: file-based rules, with no MCP server:
| File | Format | For |
|---|---|---|
mobiscroll-javascript.mdc | Cursor rule file | Cursor |
copilot-instructions/mobiscroll-javascript.instructions.md | Copilot instruction file | GitHub Copilot |
Option B: extended rules with the MCP server:
| File | Format | For |
|---|---|---|
| mobiscroll-ui.mdc | Cursor extended rule (orchestrator) | Cursor |
| mobiscroll-ui-javascript.mdc | Cursor extended rule (JavaScript) | Cursor |
| mobiscroll-ui-theming.mdc | Cursor extended rule (theming) | Cursor |
| mobiscroll-ui.instructions.md | Copilot extended instruction (orchestrator) | GitHub Copilot |
| mobiscroll-ui-javascript.instructions.md | Copilot extended instruction (JavaScript) | GitHub Copilot |
| mobiscroll-ui-theming.instructions.md | Copilot extended instruction (theming) | GitHub Copilot |
Which tool uses which files:
| Tool | Option | Files used |
|---|---|---|
| Cursor | Option A | mobiscroll-javascript.mdc |
| Cursor | Option B | mobiscroll-ui.mdc, mobiscroll-ui-javascript.mdc, mobiscroll-ui-theming.mdc |
| GitHub Copilot | Option A | mobiscroll-javascript.instructions.md |
| GitHub Copilot | Option B | mobiscroll-ui.instructions.md, mobiscroll-ui-javascript.instructions.md, mobiscroll-ui-theming.instructions.md |
Option A: file-based rules, with no MCP server:
| File | Format | For |
|---|---|---|
mobiscroll-react.mdc | Cursor rule file | Cursor |
copilot-instructions/mobiscroll-react.instructions.md | Copilot instruction file | GitHub Copilot |
Option B: extended rules with the MCP server:
| File | Format | For |
|---|---|---|
| mobiscroll-ui.mdc | Cursor extended rule (orchestrator) | Cursor |
| mobiscroll-ui-react.mdc | Cursor extended rule (React) | Cursor |
| mobiscroll-ui-theming.mdc | Cursor extended rule (theming) | Cursor |
| mobiscroll-ui.instructions.md | Copilot extended instruction (orchestrator) | GitHub Copilot |
| mobiscroll-ui-react.instructions.md | Copilot extended instruction (React) | GitHub Copilot |
| mobiscroll-ui-theming.instructions.md | Copilot extended instruction (theming) | GitHub Copilot |
Which tool uses which files:
| Tool | Option | Files used |
|---|---|---|
| Cursor | Option A | mobiscroll-react.mdc |
| Cursor | Option B | mobiscroll-ui.mdc, mobiscroll-ui-react.mdc, mobiscroll-ui-theming.mdc |
| GitHub Copilot | Option A | mobiscroll-react.instructions.md |
| GitHub Copilot | Option B | mobiscroll-ui.instructions.md, mobiscroll-ui-react.instructions.md, mobiscroll-ui-theming.instructions.md |
Option A: file-based rules, with no MCP server:
| File | Format | For |
|---|---|---|
mobiscroll-angular.mdc | Cursor rule file | Cursor |
copilot-instructions/mobiscroll-angular.instructions.md | Copilot instruction file | GitHub Copilot |
Option B: extended rules with the MCP server:
| File | Format | For |
|---|---|---|
| mobiscroll-ui.mdc | Cursor extended rule (orchestrator) | Cursor |
| mobiscroll-ui-angular.mdc | Cursor extended rule (Angular) | Cursor |
| mobiscroll-ui-theming.mdc | Cursor extended rule (theming) | Cursor |
| mobiscroll-ui.instructions.md | Copilot extended instruction (orchestrator) | GitHub Copilot |
| mobiscroll-ui-angular.instructions.md | Copilot extended instruction (Angular) | GitHub Copilot |
| mobiscroll-ui-theming.instructions.md | Copilot extended instruction (theming) | GitHub Copilot |
Which tool uses which files:
| Tool | Option | Files used |
|---|---|---|
| Cursor | Option A | mobiscroll-angular.mdc |
| Cursor | Option B | mobiscroll-ui.mdc, mobiscroll-ui-angular.mdc, mobiscroll-ui-theming.mdc |
| GitHub Copilot | Option A | mobiscroll-angular.instructions.md |
| GitHub Copilot | Option B | mobiscroll-ui.instructions.md, mobiscroll-ui-angular.instructions.md, mobiscroll-ui-theming.instructions.md |
Option A: file-based rules, with no MCP server:
| File | Format | For |
|---|---|---|
mobiscroll-vue.mdc | Cursor rule file | Cursor |
copilot-instructions/mobiscroll-vue.instructions.md | Copilot instruction file | GitHub Copilot |
Option B: extended rules with the MCP server:
| File | Format | For |
|---|---|---|
| mobiscroll-ui.mdc | Cursor extended rule (orchestrator) | Cursor |
| mobiscroll-ui-vue.mdc | Cursor extended rule (Vue) | Cursor |
| mobiscroll-ui-theming.mdc | Cursor extended rule (theming) | Cursor |
| mobiscroll-ui.instructions.md | Copilot extended instruction (orchestrator) | GitHub Copilot |
| mobiscroll-ui-vue.instructions.md | Copilot extended instruction (Vue) | GitHub Copilot |
| mobiscroll-ui-theming.instructions.md | Copilot extended instruction (theming) | GitHub Copilot |
Which tool uses which files:
| Tool | Option | Files used |
|---|---|---|
| Cursor | Option A | mobiscroll-vue.mdc |
| Cursor | Option B | mobiscroll-ui.mdc, mobiscroll-ui-vue.mdc, mobiscroll-ui-theming.mdc |
| GitHub Copilot | Option A | mobiscroll-vue.instructions.md |
| GitHub Copilot | Option B | mobiscroll-ui.instructions.md, mobiscroll-ui-vue.instructions.md, mobiscroll-ui-theming.instructions.md |
Option A: file-based rules, with no MCP server:
| File | Format | For |
|---|---|---|
mobiscroll-jquery.mdc | Cursor rule file | Cursor |
copilot-instructions/mobiscroll-jquery.instructions.md | Copilot instruction file | GitHub Copilot |
Option B: extended rules with the MCP server:
| File | Format | For |
|---|---|---|
| mobiscroll-ui.mdc | Cursor extended rule (orchestrator) | Cursor |
| mobiscroll-ui-jquery.mdc | Cursor extended rule (jQuery) | Cursor |
| mobiscroll-ui-theming.mdc | Cursor extended rule (theming) | Cursor |
| mobiscroll-ui.instructions.md | Copilot extended instruction (orchestrator) | GitHub Copilot |
| mobiscroll-ui-jquery.instructions.md | Copilot extended instruction (jQuery) | GitHub Copilot |
| mobiscroll-ui-theming.instructions.md | Copilot extended instruction (theming) | GitHub Copilot |
Which tool uses which files:
| Tool | Option | Files used |
|---|---|---|
| Cursor | Option A | mobiscroll-jquery.mdc |
| Cursor | Option B | mobiscroll-ui.mdc, mobiscroll-ui-jquery.mdc, mobiscroll-ui-theming.mdc |
| GitHub Copilot | Option A | mobiscroll-jquery.instructions.md |
| GitHub Copilot | Option B | mobiscroll-ui.instructions.md, mobiscroll-ui-jquery.instructions.md, mobiscroll-ui-theming.instructions.md |
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
- 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. - After you approve (within 10 minutes), the agent runs the same command again. It finishes the setup.
- 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.
npm install -g @mobiscroll/cli
mobiscroll config react --yes --no-wait
- 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. - After you approve (within 10 minutes), the agent runs the same command again. It finishes the setup.
- 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.
npm install -g @mobiscroll/cli
mobiscroll config angular --yes --no-wait
- 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. - After you approve (within 10 minutes), the agent runs the same command again. It finishes the setup.
- 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.
npm install -g @mobiscroll/cli
mobiscroll config vue --yes --no-wait
- 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. - After you approve (within 10 minutes), the agent runs the same command again. It finishes the setup.
- 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.
npm install -g @mobiscroll/cli
mobiscroll config jquery --yes --no-wait
- 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. - After you approve (within 10 minutes), the agent runs the same command again. It finishes the setup.
- 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:
- JavaScript
- React
- Angular
- Vue
- jQuery
| Framework | Name | URL |
|---|---|---|
| JavaScript | Mobiscroll JavaScript | https://mobiscroll.com/docs/llms-javascript-full.txt |
| Framework | Name | URL |
|---|---|---|
| React | Mobiscroll React | https://mobiscroll.com/docs/llms-react-full.txt |
| Framework | Name | URL |
|---|---|---|
| Angular | Mobiscroll Angular | https://mobiscroll.com/docs/llms-angular-full.txt |
| Framework | Name | URL |
|---|---|---|
| Vue | Mobiscroll Vue | https://mobiscroll.com/docs/llms-vue-full.txt |
| Framework | Name | URL |
|---|---|---|
| jQuery | Mobiscroll jQuery | https://mobiscroll.com/docs/llms-jquery-full.txt |
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
Download mobiscroll-react.mdc and place it in .cursor/rules/:
your-project/
├── .cursor/
│ └── rules/
│ └── mobiscroll-react.mdc
├── src/
└── package.json
Download mobiscroll-angular.mdc and place it in .cursor/rules/:
your-project/
├── .cursor/
│ └── rules/
│ └── mobiscroll-angular.mdc
├── src/
└── package.json
Download mobiscroll-vue.mdc and place it in .cursor/rules/:
your-project/
├── .cursor/
│ └── rules/
│ └── mobiscroll-vue.mdc
├── src/
└── package.json
Download mobiscroll-jquery.mdc and place it in .cursor/rules/:
your-project/
├── .cursor/
│ └── rules/
│ └── mobiscroll-jquery.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/:
- mobiscroll-ui.mdc (orchestrator)
- mobiscroll-ui-javascript.mdc (JavaScript conventions)
- mobiscroll-ui-theming.mdc (theming)
your-project/
├── .cursor/
│ ├── mcp.json
│ └── rules/
│ ├── mobiscroll-ui.mdc
│ ├── mobiscroll-ui-javascript.mdc
│ └── mobiscroll-ui-theming.mdc
├── src/
└── package.json
Download the three extended rule files and place them in .cursor/rules/:
- mobiscroll-ui.mdc (orchestrator)
- mobiscroll-ui-react.mdc (React conventions)
- mobiscroll-ui-theming.mdc (theming)
your-project/
├── .cursor/
│ ├── mcp.json
│ └── rules/
│ ├── mobiscroll-ui.mdc
│ ├── mobiscroll-ui-react.mdc
│ └── mobiscroll-ui-theming.mdc
├── src/
└── package.json
Download the three extended rule files and place them in .cursor/rules/:
- mobiscroll-ui.mdc (orchestrator)
- mobiscroll-ui-angular.mdc (Angular conventions)
- mobiscroll-ui-theming.mdc (theming)
your-project/
├── .cursor/
│ ├── mcp.json
│ └── rules/
│ ├── mobiscroll-ui.mdc
│ ├── mobiscroll-ui-angular.mdc
│ └── mobiscroll-ui-theming.mdc
├── src/
└── package.json
Download the three extended rule files and place them in .cursor/rules/:
- mobiscroll-ui.mdc (orchestrator)
- mobiscroll-ui-vue.mdc (Vue conventions)
- mobiscroll-ui-theming.mdc (theming)
your-project/
├── .cursor/
│ ├── mcp.json
│ └── rules/
│ ├── mobiscroll-ui.mdc
│ ├── mobiscroll-ui-vue.mdc
│ └── mobiscroll-ui-theming.mdc
├── src/
└── package.json
Download the three extended rule files and place them in .cursor/rules/:
- mobiscroll-ui.mdc (orchestrator)
- mobiscroll-ui-jquery.mdc (jQuery conventions)
- mobiscroll-ui-theming.mdc (theming)
your-project/
├── .cursor/
│ ├── mcp.json
│ └── rules/
│ ├── mobiscroll-ui.mdc
│ ├── mobiscroll-ui-jquery.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
Download mobiscroll-react.instructions.md and place it in .github/instructions/:
your-project/
├── .github/
│ └── instructions/
│ └── mobiscroll-react.instructions.md
├── src/
└── package.json
Download mobiscroll-angular.instructions.md and place it in .github/instructions/:
your-project/
├── .github/
│ └── instructions/
│ └── mobiscroll-angular.instructions.md
├── src/
└── package.json
Download mobiscroll-vue.instructions.md and place it in .github/instructions/:
your-project/
├── .github/
│ └── instructions/
│ └── mobiscroll-vue.instructions.md
├── src/
└── package.json
Download mobiscroll-jquery.instructions.md and place it in .github/instructions/:
your-project/
├── .github/
│ └── instructions/
│ └── mobiscroll-jquery.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/:
- mobiscroll-ui.instructions.md (orchestrator)
- mobiscroll-ui-javascript.instructions.md (JavaScript conventions)
- mobiscroll-ui-theming.instructions.md (theming)
your-project/
├── .vscode/
│ └── mcp.json
├── .github/
│ └── instructions/
│ ├── mobiscroll-ui.instructions.md
│ ├── mobiscroll-ui-javascript.instructions.md
│ └── mobiscroll-ui-theming.instructions.md
├── src/
└── package.json
Download the three extended instruction files and place them in .github/instructions/:
- mobiscroll-ui.instructions.md (orchestrator)
- mobiscroll-ui-react.instructions.md (React conventions)
- mobiscroll-ui-theming.instructions.md (theming)
your-project/
├── .vscode/
│ └── mcp.json
├── .github/
│ └── instructions/
│ ├── mobiscroll-ui.instructions.md
│ ├── mobiscroll-ui-react.instructions.md
│ └── mobiscroll-ui-theming.instructions.md
├── src/
└── package.json
Download the three extended instruction files and place them in .github/instructions/:
- mobiscroll-ui.instructions.md (orchestrator)
- mobiscroll-ui-angular.instructions.md (Angular conventions)
- mobiscroll-ui-theming.instructions.md (theming)
your-project/
├── .vscode/
│ └── mcp.json
├── .github/
│ └── instructions/
│ ├── mobiscroll-ui.instructions.md
│ ├── mobiscroll-ui-angular.instructions.md
│ └── mobiscroll-ui-theming.instructions.md
├── src/
└── package.json
Download the three extended instruction files and place them in .github/instructions/:
- mobiscroll-ui.instructions.md (orchestrator)
- mobiscroll-ui-vue.instructions.md (Vue conventions)
- mobiscroll-ui-theming.instructions.md (theming)
your-project/
├── .vscode/
│ └── mcp.json
├── .github/
│ └── instructions/
│ ├── mobiscroll-ui.instructions.md
│ ├── mobiscroll-ui-vue.instructions.md
│ └── mobiscroll-ui-theming.instructions.md
├── src/
└── package.json
Download the three extended instruction files and place them in .github/instructions/:
- mobiscroll-ui.instructions.md (orchestrator)
- mobiscroll-ui-jquery.instructions.md (jQuery conventions)
- mobiscroll-ui-theming.instructions.md (theming)
your-project/
├── .vscode/
│ └── mcp.json
├── .github/
│ └── instructions/
│ ├── mobiscroll-ui.instructions.md
│ ├── mobiscroll-ui-jquery.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
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/
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.
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-uiis 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-theminghandles 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:
- Detects your framework and Mobiscroll version with
resolveEnvironment - Loads the framework skill with that framework's conventions
- Looks up the component schema before it writes any props or events
- 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
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-uiis 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-theminghandles 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:
- Detects your framework and Mobiscroll version with
resolveEnvironment - Loads the framework skill with that framework's conventions
- Looks up the component schema before it writes any props or events
- Validates the generated code before it returns it to you
Review generated code before merging it, the same as any AI output.
Framework isolation
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:
- Use only the rules files for one framework in a project.
- Register only one documentation source in Cursor.
- If a project uses several frameworks, for example in micro-frontends, set up a separate directory with its own rules files for each.
- 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?
How do I create an Eventcalendar with a weekly scheduler view?
Add drag and drop support to my Mobiscroll timeline.
What is the type for calendar events in Mobiscroll React?
How do I import MbscModule into my standalone component?
Set up a monthly calendar view with mbsc-eventcalendar.
Where do I add the Mobiscroll CSS in angular.json?
How do I use MbscEventcalendar in a script setup component?
Create a timeline view with resource grouping.
What props does the Datepicker component accept?
How do I create an eventcalendar with the jQuery plugin pattern?
Set up recurring events with $('#calendar').mobiscroll().eventcalendar().
What options are available for the scheduler view?
Troubleshooting
The assistant writes code for the wrong framework
- JavaScript
- React
- Angular
- Vue
- jQuery
Symptom: you use JavaScript, but the assistant writes code for another framework, for example import { Eventcalendar } from '@mobiscroll/react'.
Fix: check that the JavaScript rules file is in place: mobiscroll-javascript.mdc in Cursor, mobiscroll-javascript.instructions.md in Copilot. In Cursor, check that the registered @docs source is llms-javascript-full.txt. With the plugin, check that your package.json lists @mobiscroll/javascript: the orchestrator skill picks the framework from it.
Symptom: you use React, but the assistant writes code for another framework, for example import { Eventcalendar } from '@mobiscroll/angular'.
Fix: check that the React rules file is in place: mobiscroll-react.mdc in Cursor, mobiscroll-react.instructions.md in Copilot. In Cursor, check that the registered @docs source is llms-react-full.txt. With the plugin, check that your package.json lists @mobiscroll/react: the orchestrator skill picks the framework from it.
Symptom: you use Angular, but the assistant writes code for another framework, for example import { Eventcalendar } from '@mobiscroll/react'.
Fix: check that the Angular rules file is in place: mobiscroll-angular.mdc in Cursor, mobiscroll-angular.instructions.md in Copilot. In Cursor, check that the registered @docs source is llms-angular-full.txt. With the plugin, check that your package.json lists @mobiscroll/angular: the orchestrator skill picks the framework from it.
Symptom: you use Vue, but the assistant writes code for another framework, for example import { Eventcalendar } from '@mobiscroll/react'.
Fix: check that the Vue rules file is in place: mobiscroll-vue.mdc in Cursor, mobiscroll-vue.instructions.md in Copilot. In Cursor, check that the registered @docs source is llms-vue-full.txt. With the plugin, check that your package.json lists @mobiscroll/vue: the orchestrator skill picks the framework from it.
Symptom: you use jQuery, but the assistant writes code for another framework, for example import { Eventcalendar } from '@mobiscroll/react'.
Fix: check that the jQuery rules file is in place: mobiscroll-jquery.mdc in Cursor, mobiscroll-jquery.instructions.md in Copilot. In Cursor, check that the registered @docs source is llms-jquery-full.txt. With the plugin, check that your package.json lists @mobiscroll/jquery: the orchestrator skill picks the framework from it.
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
- JavaScript
- React
- Angular
- Vue
- jQuery
Documentation files:
| File | URL |
|---|---|
| JavaScript | https://mobiscroll.com/docs/llms-javascript-full.txt |
| JavaScript table of contents | https://mobiscroll.com/docs/llms-javascript.txt |
Rules files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| JavaScript rules | mobiscroll-javascript.mdc | copilot-instructions/mobiscroll-javascript.instructions.md |
Extended rule files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| Orchestrator | mobiscroll-ui.mdc | copilot-instructions/mobiscroll-ui.instructions.md |
| JavaScript conventions | mobiscroll-ui-javascript.mdc | copilot-instructions/mobiscroll-ui-javascript.instructions.md |
| Theming | mobiscroll-ui-theming.mdc | copilot-instructions/mobiscroll-ui-theming.instructions.md |
Documentation files:
| File | URL |
|---|---|
| React | https://mobiscroll.com/docs/llms-react-full.txt |
| React table of contents | https://mobiscroll.com/docs/llms-react.txt |
Rules files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| React rules | mobiscroll-react.mdc | copilot-instructions/mobiscroll-react.instructions.md |
Extended rule files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| Orchestrator | mobiscroll-ui.mdc | copilot-instructions/mobiscroll-ui.instructions.md |
| React conventions | mobiscroll-ui-react.mdc | copilot-instructions/mobiscroll-ui-react.instructions.md |
| Theming | mobiscroll-ui-theming.mdc | copilot-instructions/mobiscroll-ui-theming.instructions.md |
Documentation files:
| File | URL |
|---|---|
| Angular | https://mobiscroll.com/docs/llms-angular-full.txt |
| Angular table of contents | https://mobiscroll.com/docs/llms-angular.txt |
Rules files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| Angular rules | mobiscroll-angular.mdc | copilot-instructions/mobiscroll-angular.instructions.md |
Extended rule files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| Orchestrator | mobiscroll-ui.mdc | copilot-instructions/mobiscroll-ui.instructions.md |
| Angular conventions | mobiscroll-ui-angular.mdc | copilot-instructions/mobiscroll-ui-angular.instructions.md |
| Theming | mobiscroll-ui-theming.mdc | copilot-instructions/mobiscroll-ui-theming.instructions.md |
Documentation files:
| File | URL |
|---|---|
| Vue | https://mobiscroll.com/docs/llms-vue-full.txt |
| Vue table of contents | https://mobiscroll.com/docs/llms-vue.txt |
Rules files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| Vue rules | mobiscroll-vue.mdc | copilot-instructions/mobiscroll-vue.instructions.md |
Extended rule files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| Orchestrator | mobiscroll-ui.mdc | copilot-instructions/mobiscroll-ui.instructions.md |
| Vue conventions | mobiscroll-ui-vue.mdc | copilot-instructions/mobiscroll-ui-vue.instructions.md |
| Theming | mobiscroll-ui-theming.mdc | copilot-instructions/mobiscroll-ui-theming.instructions.md |
Documentation files:
| File | URL |
|---|---|
| jQuery | https://mobiscroll.com/docs/llms-jquery-full.txt |
| jQuery table of contents | https://mobiscroll.com/docs/llms-jquery.txt |
Rules files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| jQuery rules | mobiscroll-jquery.mdc | copilot-instructions/mobiscroll-jquery.instructions.md |
Extended rule files:
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| Orchestrator | mobiscroll-ui.mdc | copilot-instructions/mobiscroll-ui.instructions.md |
| jQuery conventions | mobiscroll-ui-jquery.mdc | copilot-instructions/mobiscroll-ui-jquery.instructions.md |
| Theming | mobiscroll-ui-theming.mdc | copilot-instructions/mobiscroll-ui-theming.instructions.md |
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.
Shared extended rule files
View mobiscroll-ui.mdc (orchestrator)
Loading...View mobiscroll-ui-theming.mdc (theming)
Loading...Framework files
- JavaScript
- React
- Angular
- Vue
- jQuery
View mobiscroll-ui-javascript.mdc (JavaScript conventions)
Loading...View mobiscroll-javascript.mdc (Option A rules file)
Loading...View mobiscroll-ui-react.mdc (React conventions)
Loading...View mobiscroll-react.mdc (Option A rules file)
Loading...View mobiscroll-ui-angular.mdc (Angular conventions)
Loading...View mobiscroll-angular.mdc (Option A rules file)
Loading...View mobiscroll-ui-vue.mdc (Vue conventions)
Loading...View mobiscroll-vue.mdc (Option A rules file)
Loading...View mobiscroll-ui-jquery.mdc (jQuery conventions)
Loading...View mobiscroll-jquery.mdc (Option A rules file)
Loading...Looking for Mobiscroll v5?
The v5 AI integration guides: JavaScript, React, Angular, Vue, jQuery.