AI Tooling for Mobiscroll Connect: MCP Server & Agent Skills
Mobiscroll Connect is a backend layer: OAuth 2.0, a REST API, webhooks and SDKs in seven languages, with no UI components. This page sets up coding assistants for Connect code. For frontend code with Mobiscroll UI components, see AI Tooling for Mobiscroll UI.
Your assistant gets live, version-stamped API data from the Mobiscroll MCP server. The plugin install for Claude Code and Codex, the MCP server, the Claude app and the MCP tool reference are shared with Mobiscroll UI and live on the AI Tooling page.
Why assistants need this for Connect
Without Connect-specific context, coding assistants often:
- Invent endpoints: endpoint paths, request parameters, response shapes or SDK method signatures that don't exist
- Mix UI with backend code: JSX component code when you asked about the Connect REST API, or the other way around
- Use outdated versions: API calls or SDK code that no longer match the current Connect schema
- Skip authentication steps: OAuth flows left out, or the wrong scopes for calendar access
The Connect docs files, rules files and skill give the assistant the current API and keep it on Connect. Review generated code before merging it, the same as any AI output.
Install and connect
These steps are the same for Mobiscroll UI and Connect, so they are on the AI Tooling page:
- Claude Code and Codex: install the
mobiscrollplugin. What it adds for Connect is described below, for Claude Code and Codex. - 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 10 Connect tools.
MCP server
The Mobiscroll MCP server answers your assistant's questions about Connect code while it writes: REST endpoints, SDK methods, guides and the error taxonomy, through the 10 Connect 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 rule file calls it.
What the server does and doesn't access is described in MCP server on the AI Tooling page.
Architecture
Connect's AI Tooling has a data layer, a rules layer and, for setups without the plugin, a routing layer. The MCP server is the live schema layer, described on the AI Tooling page.
Data layer: llms files
Machine-readable documentation with the complete Connect API reference and guides. These are the files AI tools read to answer questions.
| File | Description |
|---|---|
llms-connect-full.txt | Complete Mobiscroll Connect documentation |
llms-connect.txt | Connect table of contents (links to individual pages) |
You don't need to download or host these files: the rules files, the skill and the routing file reference them and fetch their content.
Rules layer: rules files
Rules files give Cursor and GitHub Copilot the Connect context. Claude Code and Codex use the plugin instead. Connect has a single rules file per option, because it is one backend product with no framework split.
Option A: file-based rules, with no MCP server:
| File | Format | For |
|---|---|---|
mobiscroll-connect.mdc | Cursor rule file | Cursor |
copilot-instructions/mobiscroll-connect.instructions.md | Copilot instruction file | GitHub Copilot |
Option B: extended rules with the MCP server:
| File | Format | For |
|---|---|---|
| mobiscroll-connect-skill.mdc | Cursor extended rule | Cursor |
| mobiscroll-connect-skill.instructions.md | Copilot extended instruction | GitHub Copilot |
Routing layer: CLAUDE.md or AGENTS.md
A context file for Claude Code or Codex users who set Connect up without the plugin: CLAUDE.md for Claude Code, AGENTS.md for Codex. It gives the assistant domain detection signals, routing rules, API intent mapping and anti-pattern examples, so it picks the Connect documentation and never mixes Connect API calls with UI component code. With the plugin installed, neither file is needed.
AGENTS.md is the same file as CLAUDE.md, saved under the name Codex reads, so both download links below fetch connect/CLAUDE.md.
Which tool uses which files?
| Tool | Approach | Files used |
|---|---|---|
| Cursor | Option A | mobiscroll-connect.mdc |
| Cursor | Option B | mobiscroll-connect-skill.mdc |
| GitHub Copilot | Option A | mobiscroll-connect.instructions.md |
| GitHub Copilot | Option B | mobiscroll-connect-skill.instructions.md |
| Claude Code | Plugin | mobiscroll@mobiscroll: the mobiscroll-connect skill and the MCP server |
| Claude Code | Without the plugin | CLAUDE.md: manual routing, no MCP server |
| Codex | Plugin | mobiscroll@mobiscroll: the mobiscroll-connect skill and the MCP server |
| Codex | Without the plugin | AGENTS.md: manual routing, no MCP server |
| Claude app | Directory connector | None: connect from Settings → Connectors |
Cursor setup
Step 1: Register the documentation source
Open Cursor Settings → Indexing & Docs and add the Connect documentation source:
| Product | Name | URL |
|---|---|---|
| Connect | Mobiscroll Connect | https://mobiscroll.com/docs/llms-connect-full.txt |
Register only this source in a Connect project. A second source, for example a UI framework's, makes the assistant mix the two.
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
Download mobiscroll-connect.mdc and place it in .cursor/rules/:
your-project/
├── .cursor/
│ └── rules/
│ └── mobiscroll-connect.mdc
├── src/
└── package.json
The .mdc file holds text-based API rules and needs no other setup.
Option B: extended rule file and MCP server
Download mobiscroll-connect-skill.mdc and place it in .cursor/rules/:
your-project/
├── .cursor/
│ ├── mcp.json
│ └── rules/
│ └── mobiscroll-connect-skill.mdc
├── src/
└── package.json
This rule file tells Cursor's assistant to call the MCP server for the current Connect endpoint and SDK schemas on each generation, instead of guessing from memory. Then connect the MCP server in .cursor/mcp.json.
Rule activation
The extended .mdc file uses alwaysApply: false with a description in its frontmatter. Cursor reads the description and activates the rule only when the context is relevant, so it isn't included in every message. You can also trigger it with @mobiscroll-connect-skill. The .mdc format works in all Cursor modes, including Agent mode.
Step 3: Use @docs in queries
Include @docs when you ask Cursor about Connect, so it reads the registered documentation:
@docs How do I authenticate a user with the Mobiscroll Connect OAuth flow?
@docs How do I list all calendars for a connected Google account?
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
Download mobiscroll-connect.instructions.md and place it in .github/instructions/:
your-project/
├── .github/
│ └── instructions/
│ └── mobiscroll-connect.instructions.md
├── src/
└── package.json
The .instructions.md file holds text-based API rules and needs no other setup.
Option B: extended instruction file and MCP server
Download mobiscroll-connect-skill.instructions.md and place it in .github/instructions/:
your-project/
├── .vscode/
│ └── mcp.json
├── .github/
│ └── instructions/
│ └── mobiscroll-connect-skill.instructions.md
├── src/
└── package.json
This instruction file tells Copilot to call the MCP server for the current Connect endpoint and SDK schemas on each generation. Then connect the MCP server in .vscode/mcp.json.
What the instruction file contains
- Documentation URLs: point Copilot to the Connect docs
- API mapping: maps what you ask for to the right Connect APIs
- Rules: correct API usage, authentication flows and webhook handling
- Constraints: keep Connect REST endpoints apart from UI component APIs
The instruction file applies to Copilot Chat queries on its own. With Option B, Copilot can also call the Connect tools of the MCP server instead of relying on the documentation snapshot alone.
Claude Code
Install the mobiscroll plugin as described in Claude Code on the AI Tooling page. It includes the mobiscroll-connect skill, next to the UI skills. The Connect skill activates only for backend Connect work (OAuth, REST, SDKs, webhooks) and never mixes with UI component code, so installing the whole plugin is safe if you use only Connect.
How the Connect skill works
The skill detects Connect work from your dependency manifest (@mobiscroll/connect-sdk and the SDKs for the other languages) and from Connect REST and OAuth usage, then loads the Connect conventions. When you ask for Connect code, the assistant:
- Detects your SDK language and version with
resolveConnectEnvironment - Looks up the endpoint schema (
getConnectEndpointSchema) or SDK method (getConnectSdkMethod) before writing any call - Uses
mapConnectEndpointToSdkwhen it turns a REST endpoint into SDK code, andgetConnectErrorTaxonomywhen it writes error handling
This keeps the assistant on the current Connect API and SDK signatures instead of guessing from memory.
Without the plugin: CLAUDE.md for Claude Code
If you prefer not to install the plugin, download CLAUDE.md and place it in your project root, or copy its contents into your existing CLAUDE.md (see File contents). Claude Code reads it when it opens your project.
your-project/
├── CLAUDE.md
├── src/
└── package.json
The file provides:
- Domain detection: Claude detects Connect usage from
package.json, import patterns and API call signatures - Routing rules: IF/THEN rules that select
llms-connect-full.txtand never route to UI framework docs - API mapping: turns what you ask for into the right Connect REST endpoints and OAuth flows
- Anti-patterns: WRONG → RIGHT examples that keep Connect API calls apart from UI component code
For live schema lookups, also add the MCP server.
Codex
Install the mobiscroll plugin as described in Codex on the AI Tooling page. It is the same plugin as for Claude Code, with the same mobiscroll-connect skill, so the skill works in Codex as described in How the Connect skill works.
Without the plugin: AGENTS.md for Codex
Download AGENTS.md and place it in your project root, or copy its contents into your existing AGENTS.md. It is the CLAUDE.md file above under the name Codex reads. Codex reads it when it opens your project.
your-project/
├── AGENTS.md
├── src/
└── package.json
For live schema lookups, also add the MCP server.
Domain isolation
Mobiscroll Connect is a backend layer: OAuth 2.0, the REST API, webhooks and calendar sync. It has no UI components, no JSX and no frontend framework bindings. Never mix Connect docs with UI framework docs.
Rules:
- Add only the Connect rules file to a Connect project, never a UI framework's.
- Register only one documentation source in Cursor:
llms-connect-full.txt. - If your project uses both Mobiscroll UI and Connect, keep a separate AI context directory for each. See Using UI and Connect together.
- The MCP server serves UI and Connect from one
mobiscrollserver. The Connect tools all haveConnectin their name, so they never collide with the UI tools, and the Connect rules files and skill keep the assistant on them for Connect work. - If the assistant writes UI component code when you asked about Connect, check that
mobiscroll-connect.mdc(Cursor) ormobiscroll-connect.instructions.md(Copilot) is in place.
Example queries
Questions the Connect setup is built to answer correctly:
How do I authenticate a user with the Mobiscroll Connect OAuth flow?
How do I list all calendars for a connected Google account?
How do I create an event in an Outlook calendar via the Connect API?
What's the Python SDK call equivalent to POST /event?
How do I subscribe to webhook notifications for calendar changes?
What scopes are required for read-write calendar access?
Troubleshooting
The assistant writes UI component code instead of Connect API calls
Symptom: you asked about backend calendar sync or OAuth, but the assistant writes JSX components like <Eventcalendar /> instead of Connect REST API calls.
Fix: check that mobiscroll-connect.mdc is in place and that the registered @docs source in Cursor is llms-connect-full.txt, not a UI framework file. The mobiscroll MCP server has both UI and Connect tools, so check that the assistant calls the Connect tools (for example getConnectEndpointSchema), not the UI component tools.
The assistant invents endpoints or parameters
Symptom: the assistant suggests REST endpoints, request parameters, response fields or SDK methods that don't exist in the Connect API.
Fix: the rules files tell the assistant to use only APIs found in the Connect docs. If it still happens, reference @docs in Cursor queries, or check that the plugin is installed, or that CLAUDE.md (Claude Code) or AGENTS.md (Codex) is in the project root. For the most accurate results, enable the MCP server, so the assistant fetches the current endpoint and SDK schemas with the Connect tools.
The assistant mixes 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 with no UI components; the Eventcalendar is a frontend UI component with no REST API. They use separate rules files and documentation sources, and separate tools on the one MCP server. Check that the right rules file is active for the project. 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
Documentation files
| File | URL |
|---|---|
| Connect | https://mobiscroll.com/docs/llms-connect.txt |
| Connect (full) | https://mobiscroll.com/docs/llms-connect-full.txt |
Rules files
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| Connect rules | mobiscroll-connect.mdc | copilot-instructions/mobiscroll-connect.instructions.md |
Extended rule files
| File | Cursor (.mdc) | Copilot (.instructions.md) |
|---|---|---|
| Connect skill | mobiscroll-connect-skill.mdc | copilot-instructions/mobiscroll-connect-skill.instructions.md |
Routing files
| File | URL |
|---|---|
| Claude Code context | connect/CLAUDE.md |
| Codex context | AGENTS.md |
The MCP server's address is on the AI Tooling page.
File contents
The complete contents of each file. Copy from these blocks or use the download links above.
CLAUDE.md and AGENTS.md
View CLAUDE.md (the same file as AGENTS.md)
Loading...Rules file (.mdc)
View mobiscroll-connect.mdc
Loading...Extended rule file
View mobiscroll-connect-skill.mdc
Loading...