Getting started
What you are starting
Three pieces (usually cloned from the same monorepo or sibling repos):
- RC-API — Express/TS HTTP API (
/health,/tools/list-all,/tools/execute, rules endpoints, …). Listens on a configured port (often 3001 in dev). - ReCloud_app — MCP server entry (
server_workflow.jsafter build): one MCP tool namedrecloud; each capability is a subcommand matching a catalog tool name. - Tray app — Electron (ReCloudTrayApp_v2) and/or Tauri build: stores RC API key, picks Cursor config dir, writes
mcp.json(RCserver), can write.cursor/rules/recloud-behavior.mdc.
Prerequisites
- Node.js (LTS) for RC-API and MCP.
- Cursor (or another MCP client).
- RC_API_KEY valid for your RC-API deployment (tray stores it; MCP gets it via
mcp.jsonenv).
Gemini (or other model keys) are configured on the RC-API side, not by replacing RC_API_KEY with a Gemini key.
Order of operations
- Configure and start RC-API (see that package’s
.env.example/ README). - Build or copy the MCP bundle your tray expects under its resources (
mcp_server_distpattern). - Start the tray, enter the API key, select the folder that contains
mcp.json(e.g.~/.cursor). - Restart Cursor (or reload MCP) so the
RCserver entry is picked up. - In the agent, call the MCP tool
recloudwith JSON shaped as:
{
"subcommand": "summarizeText",
"parameters": { }
}
Exact parameters depend on the tool; manifest/help resources are exposed by the MCP server (recloud://tool_manifest pattern).
Tray status icon
Tray implementations may show API connectivity (e.g. polling /health). That is independent of MCP stdio—do not infer MCP health from arbitrary TCP ports.
Next
- configuration.md — keys and files on disk
- faq.md — MCP tool shape and common failures