Use Numerous from AI coding agents (MCP)
Numerous runs a Model Context Protocol (opens in a new tab) (MCP) server. Connect your coding agent to it, and the agent can deploy your app, read its logs and status, and run tasks, without installing the Numerous CLI.
It works with any MCP client that supports remote servers over HTTP, such as Claude Code, Cursor, VS Code and Windsurf.
- Server URL:
https://api.numerous.com/mcp - Authentication: a personal access token, sent as a bearer token.
Apps you deploy through MCP are private by default, exactly as with the CLI: only logged-in members of your organization can open them.
Connect your agent
Create a personal access token
Install the CLI once, log in, and create a token:
numerous login
numerous token create --name my-agent --description "Token for my coding agent"Copy the token (it starts with num_) and store it like a password. Keep it in
an environment variable rather than in a file you commit:
export NUMEROUS_ACCESS_TOKEN=num_...A personal access token can do everything your user can do, in every
organization you are a member of, and it does not expire. Create a separate
token for each agent, never paste it into a chat, and revoke it with
numerous token revoke when you no longer need it.
Add the server to your client
Claude Code
claude mcp add --transport http numerous https://api.numerous.com/mcp \
--header "Authorization: Bearer $NUMEROUS_ACCESS_TOKEN"Cursor (~/.cursor/mcp.json, or .cursor/mcp.json in your project)
{
"mcpServers": {
"numerous": {
"url": "https://api.numerous.com/mcp",
"headers": {
"Authorization": "Bearer ${env:NUMEROUS_ACCESS_TOKEN}"
}
}
}
}VS Code (.vscode/mcp.json)
{
"inputs": [
{
"type": "promptString",
"id": "numerous-token",
"description": "Numerous personal access token",
"password": true
}
],
"servers": {
"numerous": {
"type": "http",
"url": "https://api.numerous.com/mcp",
"headers": {
"Authorization": "Bearer ${input:numerous-token}"
}
}
}
}Other clients: configure a remote (Streamable HTTP) server with the URL
above and the header Authorization: Bearer <your token>.
Check the connection
Ask your agent: "Which Numerous organizations am I in?" It calls whoami or
organization_list and answers with your organizations.
What the agent can do
| Tool | What it does | CLI equivalent |
|---|---|---|
whoami | Shows the user and the organizations the token belongs to. | numerous login |
organization_list | Lists your organizations and their slugs. | numerous organization list |
organization_create | Creates an organization. | numerous organization create |
app_list | Lists the apps of an organization with their status. | numerous app list |
app_status | Shows deployment status, version, URLs, CPU and memory. | numerous status |
app_logs | Returns the latest log lines of an app. | numerous logs --tail |
app_update | Updates an app's display name or description (admin only). | Web app |
app_api_key_list, app_api_key_create, app_api_key_rename, app_api_key_revoke | Manage API keys and inspect HTTP API / MCP URLs for an app's deployment. | Web app |
app_sessions_list | Lists organization app usage sessions with filters and pagination (admin only). | Web app |
deploy_prepare | Validates numerous.toml and returns an upload command. | numerous deploy |
deploy_start | Builds and starts the uploaded version. | numerous deploy |
deploy_status | Reports build and deployment progress. | numerous deploy |
deploy_from_github | Deploys a public GitHub repository. | Web app |
app_share | Creates a share link that anyone can open. | numerous app share |
app_unshare | Removes the share link. | numerous app unshare |
app_source_download | Downloads the deployed source. | numerous download |
task_list, task_instance_list, task_start, task_instance_get, task_instance_logs, task_stop | Run and inspect background tasks. | numerous task ... |
The agent cannot create or revoke tokens, manage members or roles, or change
billing. Do those in the web app or with the CLI. Deleting apps is not
available through MCP; use numerous delete or the web app.
Example: deploy an app
Ask your agent, in the folder of your app:
Deploy this Streamlit app to my Numerous organization as
sales-dashboard.
The agent then:
-
Writes or reads
numerous.toml, for example:numerous.tomlname = "Sales dashboard" description = "Weekly sales by region" port = 8501 exclude = ["*venv", "venv*", ".git", ".env", ".env.*", ".envrc"] [python] library = "streamlit" version = "3.11" app_file = "app.py" requirements_file = "requirements.txt" -
Calls
deploy_preparewith the text ofnumerous.toml. The server checks the file and returns a shell command that packs the folder and uploads it. -
Runs that command in your terminal. Your files go directly to Numerous storage, not through the model.
-
Calls
deploy_start, thendeploy_statusuntil the app runs, and gives you the app's URL. If the build fails, it reads the build output, fixes the problem and deploys again.
Afterwards you can ask "Show me the last 50 log lines of sales-dashboard" or "Is sales-dashboard healthy?".
numerous.toml must exclude .env, .env.* and .envrc. The upload never
includes environment files, .git or virtual environments, and a deployment
is refused if the uploaded archive contains an environment file. This keeps
secrets out of the image of your app.
Secrets
Your app reads secrets from environment variables. With MCP, the agent passes
them in the secrets argument of deploy_start. They are stored encrypted and
are never shown again, but the values pass through the agent's conversation,
because the agent writes the tool call.
- Use this for development values, or when you are fine with the agent seeing the value.
- For production secrets, deploy where no model sees them: with
numerous deploy, which reads.envon your machine, or from GitHub Actions. - Every deployment replaces all secrets of the app. If the agent deploys without secrets, the app runs without them.
Sharing
Sharing creates a link that anyone who has it can open, without logging in.
The agent only shares when you ask it to, and has to confirm that explicitly.
The tool is marked as destructive, so clients that ask before risky actions
ask you first.
Remove the link at any time with "Unshare sales-dashboard", numerous app unshare, or in the web app.
Safety
- Logs and build output are written by apps, so they are treated as data. A well-behaved agent does not follow instructions that appear in them; still review what your agent does before you approve destructive actions.
- Deploying replaces the running version, and there is no rollback.
Troubleshooting
| Problem | Fix |
|---|---|
401 Unauthorized | The token is missing, mistyped or revoked. Check the Authorization: Bearer num_... header. |
| "was not found, or you do not have access to it" | Check the organization slug with organization_list. You only see organizations you are a member of. |
exclude must cover ".env" ... | Add exclude = ["*venv", "venv*", ".git", ".env", ".env.*", ".envrc"] to numerous.toml. |
| "the uploaded archive contains files which hold secrets" | Upload with the command the agent got from deploy_prepare, which leaves environment files out. |
429 Too Many Requests | Wait a few seconds; the agent is calling too often. |