
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
@alpacacloud/mcp
Advanced tools
MCP server for Alpaca Cloud — AI agents connect to your project (Postgres, Auth, Storage), plus account-wide Sandboxes (code execution) and Workflows (automation).
Model Context Protocol (MCP) server for Alpaca Cloud.
Connect an AI agent (Claude, Cursor, Windsurf, etc.) to an Alpaca Cloud project — run SQL, manage schema, auth users, and storage, with no manual token plumbing.
Alpaca Cloud is an all-in-one platform: Postgres + Auth + Storage + Realtime + Edge Functions, plus static-site hosting and Docker app hosting — one platform, SDK, CLI, and MCP server.
npx @alpacacloud/mcp@latest --project-url=https://<project>.alpaca-cloud.com --apikey=<service_role_key>
Claude Code (one line):
claude mcp add alpacacloud -- npx -y @alpacacloud/mcp@latest
Or in a Claude Desktop / Cursor MCP config:
{
"mcpServers": {
"alpacacloud": {
"command": "npx",
"args": ["@alpacacloud/mcp", "--project-url=https://<project>.alpaca-cloud.com", "--apikey=<service_role_key>"]
}
}
}
Env vars also work (legacy ALPACABASE_* names still accepted as a fallback):
| Var | Purpose |
|---|---|
ALPACACLOUD_URL | Your project URL (project-scoped DB/Auth/Storage tools) |
ALPACACLOUD_SERVICE_KEY | Project service_role key |
ALPACACLOUD_ACCOUNT_TOKEN | Your personal access token (alp_pat_…) — unlocks the account-wide Sandboxes + Workflows tools. One token grants full account access; no separate sandbox permission. |
ALPACACLOUD_API_URL | Account API base. Defaults to https://api.alpaca-cloud.com |
ALPACACLOUD_SANDBOX_TEMPLATE | Default sandbox image (python/node/base). Defaults to python |
ALPACACLOUD_SANDBOX_NETWORK | true to allow outbound network (pip/npm installs) in new sandboxes. Defaults to false |
HTTP transport (--http) requires MCP_AUTH_TOKEN unless bound to localhost.
The server advertises tools, resources, and prompts so any MCP-capable AI
discovers the whole platform on connect — no prior knowledge needed:
alpacacloud://overview, …/database,
…/auth, …/storage, …/realtime, …/edge-functions, …/frontend-hosting,
…/app-hosting, …/branching, …/backups-pitr, …/sandboxes (beta),
…/management-api. Read alpacacloud://overview first.explore-project, build-backend,
add-vector-search, setup-auth, deploy-site, deploy-docker-app.platform_capabilities (machine-readable catalog).Discovery
platform_capabilities — the full catalog of everything Alpaca Cloud can do, and
which parts are managed here vs via the account Management API. Call this first.get_project_info — REST / auth / realtime endpoints + S3 details.Database (Postgres 16)
run_sql — any SQL via the service_role run_sql RPC (rows for SELECT, {ok} for DDL/DML)list_tables · get_table_schema · create_table · list_extensions (pgvector-ready)Auth (per-project end users)
list_auth_users · create_auth_user · delete_auth_userStorage
list_buckets · create_bucket · list_objects
(upload/download/signed URLs via the SDK or the S3 API)Sandboxes — code execution (E2B / Fly Machines style) · needs ALPACACLOUD_ACCOUNT_TOKEN
run_code — one-off: spin up an ephemeral sandbox, run code, tear downcreate_sandbox · run_in_sandbox · list_sandboxes · delete_sandbox — persistent sandboxes (exec commands/code, files)Workflows — automation (n8n style, 400+ nodes) · needs ALPACACLOUD_ACCOUNT_TOKEN
list_workflows · create_workflow · run_workflowlist_workflow_node_types (discover nodes before building) · list_workflow_templatesTwo scopes:
ALPACACLOUD_ACCOUNT_TOKEN = a personal access token from the
dashboard → API Tokens): Sandboxes (code execution) and Workflows (automation).
Set it via --account-token= or the ALPACACLOUD_ACCOUNT_TOKEN env var.Other account-wide actions — create projects, deploy frontends/apps, scaling, templates,
alerting, billing — are exposed through the Management API (OAuth2) at
api.alpaca-cloud.com/mgmt/v1 or the dashboard. platform_capabilities lists all of it.
The service_role key has full access and bypasses RLS — treat all results as
privileged. Tool errors are returned as { "error": "…" } (not thrown). For the
HTTP transport, always set MCP_AUTH_TOKEN and keep the bind localhost-only
unless you intend otherwise.
FAQs
MCP server for Alpaca Cloud — AI agents connect to your project (Postgres, Auth, Storage), plus account-wide Sandboxes (code execution) and Workflows (automation).
We found that @alpacacloud/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.