Cursor MCP for Web Monitoring: Set Up AyeWatch in mcp.json
Add AyeWatch to Cursor's mcp.json with your API key, then ask the agent to create, pause and list website and social media monitors. Config, first prompts, approvals and limits.
By AyeWatch Team4 min read
Short answer: To monitor websites from Cursor, add AyeWatch to ~/.cursor/mcp.json, or .cursor/mcp.json in one project, with the URL https://ayewatch.ai/api/mcp and an Authorization header holding your API key. Cursor's agent can then list, create, pause and delete monitors, and by default it asks before it runs a tool. A paid AyeWatch plan is needed.
The mcp.json entry
This is the entry from AyeWatch's MCP docs. Create the key in API access settings and paste it in place of the placeholder.
{
"mcpServers": {
"ayewatch": {
"url": "https://ayewatch.ai/api/mcp",
"headers": { "Authorization": "Bearer aw_live_YOUR_API_KEY" }
}
}
}
Cursor's docs give two places for it. ~/.cursor/mcp.json in your home folder applies to every project you open in the editor or the CLI. .cursor/mcp.json inside a project applies to that project only. The remote server example in Cursor's docs has only url and headers, the shape above.
A project file often ends up in Git. Cursor resolves ${env:NAME} in url and headers, so the committed file can stay free of keys:
"headers": { "Authorization": "Bearer ${env:AYEWATCH_API_KEY}" }
If the header arrives empty, the variable isn't set in the environment Cursor runs in.
First prompts in the agent
Check: List my AyeWatch monitors that are paused. This calls list_topics with is_active set to false and changes nothing.
Create: Create one paused AyeWatch monitor named "Helio Desk pricing and changelog" that reads both pages below. Alert me when a plan price, seat minimum or free tier changes, or when the changelog announces an API deprecation. Check daily.
{
"name": "Helio Desk pricing and changelog",
"web_page_urls": [
"https://heliodesk.example/pricing",
"https://heliodesk.example/changelog"
],
"description": "Alert me when a plan price, seat minimum or free tier changes, or when the changelog announces an API deprecation.",
"interval": "1_day",
"is_active": false
}
One web page monitor reads several pages for 1 credit a check: up to 3 URLs on Pro and 8 on Pro+. Grouping one vendor's pages into one monitor also keeps your count of active monitors down. Your plan must allow the interval, or the tool returns a 400 saying the interval isn't available on your plan.
Approvals and auto-run
Cursor's docs say it asks for approval before it uses an MCP tool, and the arrow next to the tool name shows the arguments. Read them for every create_topic call: the interval, is_active and the URLs are where mistakes hide.
MCP tools follow the same run modes as terminal commands, so you can allowlist tools to run without asking. If you do, allowlist list_topics and get_topic, which only read. Keep create_topic, update_topic and delete_topic on approval, because the first two change what you spend and the third cannot be undone. The webhook tools, set_webhook and rotate_webhook_secret, belong on approval too: rotating the secret breaks a live receiver until it gets the new one.
When it doesn't connect
Cursor's docs point to the Output panel and its MCP Logs channel for connection errors, authentication problems and crashes. The Customize sidebar turns a server on or off. The table below lists the answers AyeWatch sends and what each one means. Tool failures come back as an MCP result with isError set and a message that names the problem, so the agent can read it and fix the call.
What this setup won't do
- No alert history. The tools manage monitors and the webhook. Alerts arrive by email, push in the AyeWatch app, Slack or the webhook.
- No login-only pages. AyeWatch reads public pages and cannot sign in. Some sites block automated readers, and the first check shows it.
- No scheduled jobs. For a script that runs every night, call the REST API instead.
- No secret in chat. The webhook tools never return the signing secret. Read it in Notification settings.
AyeWatch Pro is $9/mo with 50 topics and hourly checks; Pro+ is $19/mo with 200 topics and ASAP mode. Every plan starts with a 7-day free trial. The Helio Desk monitor above, checked daily, uses 30 credits a month. Ten vendors set up the same way use 300 of the 500 credits on Pro.
Connect Cursor in six steps
- Create an API key in API access settings. Use one key for Cursor alone.
- Add the ayewatch entry to ~/.cursor/mcp.json, or to .cursor/mcp.json with ${env:AYEWATCH_API_KEY} for a shared project.
- Check MCP Logs in the Output panel if the server does not connect.
- Ask the agent to list your paused monitors and approve the list_topics call.
- Ask for one paused monitor, expand the create_topic arguments and approve them only if they match what you asked.
- Tell the agent to turn it on, then wait for the first check, which always shows what AyeWatch read or a note that there is nothing yet.
| Answer from AyeWatch | What it means | What to do |
|---|---|---|
| 401 | Key missing, malformed or unknown | Check the header: Bearer, a space, then the aw_live_ key |
| 403 | No active paid plan, a plan limit reached, or no credits left | Check your plan, active monitor count and credits |
| 429 | More than 120 requests in a minute on this key | Wait for the seconds in Retry-After. MCP and REST share the limit. |
| 400 (Send one MCP message per request) | A batch of MCP messages in one POST | Send one message per POST |
| Tool result with isError | The monitor service refused the call | Read the message, for example an interval the plan does not allow |
Start a monitor in under a minute
Describe a topic or paste a URL. Cancel before the trial ends and you pay nothing.
Try it free for 7 daysThe bottom line
Paste the entry into ~/.cursor/mcp.json, ask the agent to list your monitors, then create one paused monitor for a vendor's pricing page. Approve each write by hand until you trust the pattern.
FAQ
Where does Cursor's MCP configuration go?
In ~/.cursor/mcp.json for every project, or .cursor/mcp.json inside one project. AyeWatch's entry needs a url and an Authorization header with your API key.
Can I keep my AyeWatch key out of a committed mcp.json?
Yes. Cursor resolves ${env:NAME} in headers, so write Bearer ${env:AYEWATCH_API_KEY} and set the variable on each machine.
Will Cursor create monitors without asking me?
Not by default. Cursor asks for approval before it uses an MCP tool. Allowlist only list_topics and get_topic if you want reads to run without a prompt.
Can one AyeWatch monitor cover several pages?
Yes. A web page monitor takes up to 3 URLs on Pro and 8 on Pro+, sent as web_page_urls, and costs 1 credit a check however many pages it reads.
Does the Cursor connection count against the API rate limit?
Yes. MCP and the REST API share 120 requests a minute per key, and every MCP POST counts, including initialization and tool discovery.