Appearance
Cursor (IDE) and MANAGANI MCP
Cursor can use MANAGANI as a shared context store for Agent (Chat) via the Model Context Protocol. Configure three layers so every session follows the same workflow: global User Rules (all repos on your machine), site rules (per repository), and optionally AGENTS.md.
1. Global User Rules (recommended)
User Rules apply to every site in Cursor Agent (Chat). They are not stored in a Git repo; they live in Cursor Settings.
- Open Cursor Settings → Rules, Commands (or General → Rules for AI, depending on your Cursor version).
- Find User Rules (global).
- Paste the block below (or keep it in a file and copy when onboarding a new machine).
Paste this into User Rules
markdown
## MANAGANI MCP (all sites)
When MANAGANI MCP is enabled in Cursor for this profile:
**Before non-trivial work** (features, debugging, multi-file changes): call `search_urls` for saved web sources; use `list_feedback`, `get_roadmap`, or `list_changelog` for product context. Use returned context to inform the approach.
**After completing meaningful product work**: use `create_feedback`, `update_feedback`, `create_changelog_draft`, or `reply_widget_conversation` when MANAGANI should be updated.
**MCP server + endpoint safety**: invoke tools on the server whose name is `managani` (its tool id may appear as `user-managani` in Cursor) and ensure it targets `https://mcp.managani.com/mcp`. Do not write via localhost/127.0.0.1 MCP endpoints. If the `managani` server is not available, stop writes and fix **Cursor Settings → MCP** first.
If MANAGANI MCP is unavailable, continue work and say so in the reply so the user can fix MCP or capture notes manually.
Respect each repository’s own **AGENTS.md** and **`.cursor/rules/`** for stack-specific conventions; this block is only for shared context hygiene.Team rollout
For organization-wide enforcement, Cursor Team Rules (dashboard) can carry the same text so members cannot disable them.
2. Site rules (.cursor/rules/)
For repositories you control, add versioned rules so teammates get the same behavior without touching each laptop:
- Create
.cursor/rules/*.mdcwith YAML frontmatter. - Set
alwaysApply: truewhen the workflow should run on every Agent chat in that repo.
Example for a product monorepo: duplicate the workflow above into .cursor/rules/managani-mcp-workflow.mdc and commit it.
3. AGENTS.md in the repo root
Cursor loads AGENTS.md as a simple alternative to .cursor/rules. Use the template on the Agent configuration page. It matches the User Rules content; keeping both avoids gaps when one source is missing.
4. Connect the MCP server
Follow MCP setup (token, URL or stdio). After adding the server in Cursor Settings → MCP, confirm tools appear for server name managani (often shown with a user- prefix in tool ids) and verify the URL is https://mcp.managani.com/mcp.
5. Related docs
| Topic | Link |
|---|---|
| MCP install & transports | Setup |
| Tool reference | Tools |
AGENTS.md template | Agent configuration |
| MCP overview | MCP home |