This commit is contained in:
ray zhou
2026-05-29 11:21:40 +08:00
parent 5d6d482efe
commit f71a5c59af
447 changed files with 32245 additions and 116 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
The cursor-app-control MCP allows you to control the Cursor application itself. Use it to:
- Move the current agent to a new root workspace directory (move_agent_to_root) — use this after creating a worktree or whenever the conversation should continue from a different workspace root
- Move the current agent to a verbatim clone of the current workspace (move_agent_to_cloned_root) — use this ONLY when the target is a sibling clone already on the agent's branch (for example from cursorfs-clone); skips the migration git fetch / ff-merge that the generic move performs
- Create a new project at a given path (create_project) — creates the directory if missing and initializes a git repository. Use this to bootstrap a new project before moving to it with move_agent_to_root
- Open a resource by URI in Glass (open_resource) — opens files in the right-hand editor panel (workspace paths or anything under ~/.cursor), focuses terminals, opens output channels, opens web links according to the Glass browser setting, or delegates other schemes to the default workbench opener
- Manage personal rules in Cursor Settings (manage_personal_rules) — list, add, update, or delete user rules after asking what the user wants Cursor to remember
Use move_agent_to_root when you want the current conversation to adopt a different root workspace directory. This updates the visible work surface and the default cwd for new terminals.
Use move_agent_to_cloned_root when the target is a freshly-made sibling clone of the current workspace.
Use create_project when you need to create a brand new project directory with an initialized git repository.
Use open_resource when you need to reveal a file, terminal, output channel, or URL for the current agent.
Use manage_personal_rules for onboarding and preference-learning workflows. Always list first to avoid duplicate memories, and only write rules the user has agreed should be remembered.

View File

@@ -0,0 +1,4 @@
{
"serverIdentifier": "cursor-app-control",
"serverName": "cursor-app-control"
}

View File

@@ -0,0 +1,18 @@
{
"name": "create_project",
"description": "Create a new project at the given path. Creates the directory if it does not exist and initializes a git repository. Use this to bootstrap a new project before moving the agent to it with move_agent_to_root.",
"arguments": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"path": {
"description": "Absolute path where the new project should be created (e.g. \"/Users/name/projects/my-new-app\")",
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
}
}

View File

@@ -0,0 +1,41 @@
{
"name": "move_agent_to_cloned_root",
"description": "Move the current agent to a root workspace directory that is a verbatim clone of the current workspace (for example produced by `cursorfs-clone`) and is already on the agent's recorded branch. Skips the migration-path `git fetch` and ff-merge that `move_agent_to_root` performs. Use ONLY when you already know the target is a sibling clone of the current workspace on the same branch; otherwise use `move_agent_to_root`.",
"arguments": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"type": "object",
"properties": {
"rootPath": {
"description": "Absolute path to the directory that should become the agent root workspace (e.g. \"/Users/name/projects/my-app\")",
"type": "string",
"minLength": 1
}
},
"required": [
"rootPath"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"rootPaths": {
"description": "Array of absolute paths used to create/switch to a multi-root workspace.",
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"rootPaths"
],
"additionalProperties": false
}
]
}
}

View File

@@ -0,0 +1,41 @@
{
"name": "move_agent_to_root",
"description": "Move the current agent to a new root workspace directory. Use this after creating a worktree or whenever the conversation should continue from a different workspace root.",
"arguments": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"type": "object",
"properties": {
"rootPath": {
"description": "Absolute path to the directory that should become the agent root workspace (e.g. \"/Users/name/projects/my-app\")",
"type": "string",
"minLength": 1
}
},
"required": [
"rootPath"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"rootPaths": {
"description": "Array of absolute paths used to create/switch to a multi-root workspace.",
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"rootPaths"
],
"additionalProperties": false
}
]
}
}

View File

@@ -0,0 +1,4 @@
{
"serverIdentifier": "plugin-figma-figma",
"serverName": "plugin-figma-figma"
}

View File

@@ -0,0 +1 @@
The MCP server needs authentication. You must call the `mcp_auth` tool for server "plugin-figma-figma" through your MCP tool-calling interface using an empty arguments object `{}` soon so the user can access all of the tools this MCP server offers.

View File

@@ -0,0 +1,9 @@
{
"name": "mcp_auth",
"description": "Authenticate this MCP server so its tools can be used. Call this tool through your MCP tool-calling interface when the server needs authentication.",
"arguments": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}

View File

@@ -0,0 +1,55 @@
---
pid: 2385
cwd: "/private/tmp/hgapi-probe"
command: "cd /Users/ray/Documents/project/pop/hgapi-scrape && python3 scrape_game.py vswaysbufking 2>&1 | tee scrape.log | head -80"
started_at: 2026-05-20T07:46:43.886Z
running_for_ms: 1395516
---
[*] Symbol : vswaysbufking
[*] Base URL : https://hgppdemogamesfree.hgapi.com/gs2c/common/v1/games-html5/games/vs/vswaysbufking/desktop
[*] Output dir : /Users/ray/Documents/project/pop/hgapi-scrape/vswaysbufking
+ bootstrap.js (101920 bytes)
+ build.js (3206753 bytes)
+ style.css (19631 bytes)
+ customizations.info (0 bytes)
+ packages/zh_desktop.json (274146 bytes)
+ packages/zh_GUI_desktop.json (1256731 bytes)
! skip packages/en_desktop.json: GET failed after 3 attempts: https://hgppdemogamesfree.hgapi.com/gs2c/common/v1/games-html5/games/vs/vswaysbufking/desktop/packages/en_desktop.json (HTTP Error 404: Not Found)
! skip packages/en_GUI_desktop.json: GET failed after 3 attempts: https://hgppdemogamesfree.hgapi.com/gs2c/common/v1/games-html5/games/vs/vswaysbufking/desktop/packages/en_GUI_desktop.json (HTTP Error 404: Not Found)
+ client/resources.json (133798 bytes)
+ client/game.json (28393 bytes)
[*] game/GUI* -> 7 chunks
[*] game/GUI_resources* -> 2 chunks
[*] game/game* -> 8 chunks
[*] game/main_resources* -> 23 chunks
[*] game/other_resources* -> 1 chunks
game/GUI: chunks=7 merged=5985211B inline_decoded=0 external_refs=65
game/GUI_resources: chunks=2 merged=963833B inline_decoded=18 external_refs=11
game/game: chunks=8 merged=5729809B inline_decoded=0 external_refs=238
game/main_resources: chunks=23 merged=23471664B inline_decoded=55 external_refs=27
game/other_resources: chunks=1 merged=327406B inline_decoded=13 external_refs=3
client/resources.json: inline_decoded=6 external_refs=1
client/game.json: inline_decoded=0 external_refs=7
[*] Total unique external resource ids: 336
progress: 50/336 ok=0 miss=50
progress: 100/336 ok=0 miss=100
progress: 150/336 ok=0 miss=150
progress: 200/336 ok=0 miss=200
progress: 250/336 ok=0 miss=250
progress: 300/336 ok=6 miss=294
progress: 336/336 ok=6 miss=330
[*] Report: /Users/ray/Documents/project/pop/hgapi-scrape/vswaysbufking/_scrape_report.json
[*] Done.
Exception ignored while finalizing file <http.client.HTTPResponse object at 0x106f04f40>:
Traceback (most recent call last):
File "/opt/homebrew/Cellar/python@3.14/3.14.0_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/client.py", line 432, in close
super().close() # set "closed" flag
File "/opt/homebrew/Cellar/python@3.14/3.14.0_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/client.py", line 445, in flush
self.fp.flush()
ValueError: I/O operation on closed file.
---
exit_code: 0
elapsed_ms: 1399432
ended_at: 2026-05-20T08:10:03.318Z
---

View File

@@ -0,0 +1,14 @@
---
pid: 21016
cwd: "/Users/ray/Documents/project/pop/hgapi-scrape"
command: "cd /Users/ray/Documents/project/pop/hgapi-scrape && \\\nrm -rf vswaysbufking scrape.log && \\\npython3 -u scrape_game.py vswaysbufking > scrape.log 2>&1 &\necho \"started pid=$!\""
started_at: 2026-05-20T08:08:13.189Z
running_for_ms: 2003
---
started pid=21069
---
exit_code: 0
elapsed_ms: 6543
ended_at: 2026-05-20T08:08:19.732Z
---

View File

@@ -0,0 +1,14 @@
---
pid: 15814
cwd: "/Users/ray/Documents/project/pop/hgapi-scrape"
command: "cd /Users/ray/Documents/project/pop/hgapi-scrape && \\\nrm -rf vswaysbufking scrape.log && \\\npython3 -u scrape_game.py vswaysbufking > scrape.log 2>&1 &\necho \"started pid=$!\""
started_at: 2026-05-20T08:03:55.186Z
running_for_ms: 3817
---
started pid=15841
---
exit_code: 0
elapsed_ms: 7427
ended_at: 2026-05-20T08:04:02.613Z
---

View File

@@ -0,0 +1,14 @@
---
pid: 26608
cwd: "/Users/ray/Documents/project/pop/hgapi-scrape/vswaysbufking"
command: "cd /Users/ray/Documents/project/pop/hgapi-scrape && \\\nrm -rf vswaysbufking scrape.log && \\\npython3 -u scrape_game.py vswaysbufking > scrape.log 2>&1 &\necho \"started pid=$!\""
started_at: 2026-05-20T08:14:45.353Z
running_for_ms: 2819
---
started pid=26635
---
exit_code: 0
elapsed_ms: 7319
ended_at: 2026-05-20T08:14:52.672Z
---

View File

@@ -0,0 +1,14 @@
---
pid: 29106
cwd: "/Users/ray/Documents/project/pop/hgapi-scrape"
command: "export PATH=\"/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/bin:$PATH\"\ncd /Users/ray/Documents/project/pop/hgapi-scrape && \\\npython3 -u scrape_game.py vswaysbufking > scrape.log 2>&1 &\necho \"started pid=$!\""
started_at: 2026-05-20T08:17:06.381Z
running_for_ms: 2014
---
started pid=29122
---
exit_code: 0
elapsed_ms: 6442
ended_at: 2026-05-20T08:17:12.823Z
---