Skip to content

chore: add Cloud Agent development environment - #1

Draft
PDI-Puru wants to merge 1 commit into
masterfrom
puru/cloud-agent-env-setup-3f94
Draft

chore: add Cloud Agent development environment#1
PDI-Puru wants to merge 1 commit into
masterfrom
puru/cloud-agent-env-setup-3f94

Conversation

@PDI-Puru

Copy link
Copy Markdown
Owner

Summary

Adds a Cloud Agent development environment for the CloudPi FinOps MCP server so future agents can build and run the project out of the box.

  • Adds .cursor/environment.json with an idempotent install step (npm ci && npm run build).

No start/terminals are needed: this is a stdio-based MCP server launched per-connection by the MCP client, not a persistent network daemon. The external CloudPi API is optional at build/run time (CLOUDPI_BASE_URL / CLOUDPI_JWT_TOKEN default to http://localhost:5001 and empty).

Validation

Performed on the VM:

  • npm ci — installs 110 packages
  • npm run typecheck — passes
  • npm run build — emits dist/
  • npm ci a second time — idempotent
  • End-to-end MCP stdio test: initialize handshake, tools/list (25 tools registered), a real list_workspaces tool call returning data from a mock CloudPi API, and a clean error path (404 surfaced as an MCP error).
Open in Web Open in Cursor 

Co-authored-by: Puru Vangala <PDI-Puru@users.noreply.github.com>
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