@camposcloud/mcp server locally over standard input and output (stdio). The server calls the CamposCloud API with your token.
Use Node.js 22.12 or later with npm. This guide covers @camposcloud/mcp version 0.1.1.
Create a token
- In the CamposCloud dashboard, open Perfil → Desenvolvedor.
- Create a token just for the assistant, give it a recognizable name, and set an expiration date. Your account can have several tokens, each with its own expiration.
- Copy the token, which starts with
cc_pat_, and use it asCAMPOS_TOKENin your client’s configuration. The token uses your account’s permissions.
Connect your assistant
ReplaceSEU_TOKEN with your token wherever it appears. The server uses the public CamposCloud API by default. To connect to a local API, set CAMPOS_API_URL to its base URL without the /v1 suffix.
Claude Code
camposcloud before -e so the option does not consume it as another environment value. The default scope applies to the current project. Add -s user after camposcloud to use the server in any project.
On Windows, use -- cmd /c npx -y @camposcloud/mcp at the end of the command. If you use Git Bash, prefix the command with MSYS_NO_PATHCONV=1 to keep Git Bash from rewriting /c.
Claude Desktop, Cursor, and Windsurf
Open the configuration file for your client:
Add
camposcloud under mcpServers, keeping any existing servers, and restart the client.
VS Code
Run MCP: Open User Configuration from the Command Palette and add the following configuration. When the server starts, VS Code prompts for the token in a password field and keeps the value out of the configuration file.Windows JSON configuration
If your client cannot findnpx on Windows, set command to cmd and start args with "/c", "npx":
What to ask
Start with “Which CamposCloud account is connected?” Then try a request like one of these:- “Show the last 100 console lines for
store-apithat containERROR.” - “Restart
store-apiin theShopteam.” - “Create a Node.js app called
store-apifrom/home/dev/projects/store-apiwith 512 MB of memory and the start commandnpm start.” - “Create a PostgreSQL database called
store-dbwith 512 MB of memory, userstore, and database namestore. Ask for the password before creating it.” - “Set
LOG_LEVELtoinfoinstore-apiand list the variable names.”
Confirm irreversible actions
Six actions require confirmation: delete an application and its files, delete selected files or folders, delete a database and its data, change a database password and invalidate the old one, remove a team member, and delete a team. If your client shows a form, review the action and type the exact name shown. For file deletion, type the application name. For member removal, type the member’s name. If your client does not support the form, the assistant must show you the action and ask for approval. After you approve, it repeats the request with a single-use confirmation code. The code expires after two minutes and only applies to the original action and target.Limits and data access
The database API provides connection details such as host, port, and username. The password stays out of API responses. Use the password you set when you created the database or last changed its credentials.
Tools by group
Tool names start withcampos_. You can ask for the task in plain language.