docs: add Cursor Cloud environment setup notes - #6
Draft
VirusPC wants to merge 1 commit into
Draft
Conversation
Document the new-note MCP server run/build/test caveats, the unreachable private npm registry pinned in the lockfile, and safe sandboxing for the new_note tool for future cloud agents. Co-authored-by: Cursor Cloud Agent <cloud-agent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up the Cloud Agent development environment for this repo and documents durable, non-obvious caveats for future agents. The only code change is an addition to
AGENTS.md(a new## Cursor Cloud specific instructionssection); no application code, lockfiles, or scripts were modified.This repo contains two independent projects (the root
README.mdhas a committed merge conflict describing both):new-noteMCP server (extensions/mcp-servers/new-note).claude-agent-sdk-test— secondary Python starter.What was installed
pnpm install(workspace). Note:pnpm-lock.yamlpins a private registry (artifactory.devops.xiaohongshu.com) that is unreachable from Cloud for a few packages; those tarballs were seeded from public npm so the snapshot'snode_modulesis complete.pnpm installis now a no-op on future boots.pip install --user -e ..Verification (all green)
new-noteMCP serverpnpm -r run build(tsc) ✓node --test --import tsx test/*.test.ts→ 9/9 ✓pnpm dev:note-server(tsx, HTTP :3000); callednew_notevia MCP client → created + committed a note ✓claude-agent-sdk-test(Python)python3 -m unittest discover -s tests→ 2/2 ✓The hello-world exercised the server's core purpose: an MCP client called the
new_notetool over Streamable HTTP, which ran the ingest script and created/committedknowledge/notes/…md— sandboxed to a scratch repo withEDGES_DRY_RUN=trueso the real repo was untouched.Environment setup evidence log
Update script
pnpm install --prefer-offlinepip install --user -e .To show artifacts inline, enable in settings.