Skip to content

docs: add Cursor Cloud dev environment setup instructions - #311

Draft
dodeja wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-ff55
Draft

docs: add Cursor Cloud dev environment setup instructions#311
dodeja wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-ff55

Conversation

@dodeja

@dodeja dodeja commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Sets up and verifies the development environment for this monorepo (docs, MCP server, TypeScript SDK) and records the non-obvious cloud gotchas in AGENTS.md under a new ## Cursor Cloud specific instructions section. No product code was changed.

Environment setup

  • Node 24 installed via nvm (repo pins 24.x / .tool-versions 24.4.1; the VM baseline node is v22). A login-shell hook selects Node 24 for interactive terminals.
  • Root deps installed with npm ci (npm workspaces monorepo).

Verification (all green under Node 24)

Product Commands run Result
SDK (@terminal49/sdk) build, test -- --run, lint build OK · 104 tests pass (1 skipped) · lint OK
MCP (@terminal49/mcp) build, test -- --run, lint build OK · 149 tests pass · lint OK
api/ gateway npx tsc --noEmit -p tsconfig.json typecheck OK
Docs (docs/) npx -y mintlify@latest dev preview serves /home, /api-docs/..., /sdk/... (HTTP 200)

Hello-world actions

  • MCP stdio server boots, completes the initialize handshake, and returns its real 10-tool catalog; invoking get_supported_shipping_lines runs end-to-end (returns the server's generic error since no live T49_API_TOKEN is provisioned).
  • Docs site rendered and navigated in-browser (home → Getting Started → API reference).

Docs home page
Getting started page
API reference - List containers

Key gotcha documented

Running mintlify dev from inside the monorepo fails to parse page metadata for nearly every page (Failed to parse MDX files). The MDX is valid — the root package.json overrides (pinning zod/express inside @mintlify/* deps) break the hoisted mintlify's parser. Workaround: cd docs && npx -y mintlify@latest dev (isolated install). Docs deploy via hosted Mintlify and CI does not run the preview, so this only affects local preview.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api Ready Ready Preview Aug 1, 2026 1:02am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants