Connect an AI tool (MCP)
Add DASTER's MCP server to Claude Code, Cursor, VS Code or Codex, approve the connection and control what the tool may change.
Last updated
DASTER runs an MCP server at https://app.daster.io/mcp. It uses the Streamable HTTP transport and OAuth 2.1 with PKCE. Your AI tool registers itself, opens the DASTER sign-in page in your browser and receives its own tokens. You never paste a key into the tool.
The Dashboard shows the same setup under Developer access › Connect an AI tool, and in the PostgreSQL Connect panel under MCP.
Claude Code
- In a terminal, in your project folder, run:
claude mcp add --transport http daster https://app.daster.io/mcp- In Claude Code, type
/mcp, choose daster, then Authenticate. - Approve the connection in your browser (see Approve the connection).
Cursor
- Add the server to
.cursor/mcp.jsonin your project. You can let the command write it:npx @dasterhq/daster setup cursor --write.
{
"mcpServers": {
"daster": { "url": "https://app.daster.io/mcp" }
}
}- Open Cursor Settings › MCP and choose Connect next to daster.
- Approve the connection in your browser.
The Add to Cursor button under Developer access adds the same entry.
VS Code and Codex
| Tool | Add the server | Sign in |
|---|---|---|
| VS Code (GitHub Copilot) | npx @dasterhq/daster setup vscode --write writes .vscode/mcp.json | Start the server from mcp.json; VS Code asks you to sign in |
| OpenAI Codex CLI | codex mcp add daster --url https://app.daster.io/mcp | codex mcp login daster |
daster setup <client> without --write prints the configuration and commands for that tool. With --write it merges the entry into the project's JSON file and keeps your other servers. It does not write files in your home folder, such as Codex's ~/.codex/config.toml.
Tools that start only local servers
Some tools, or company policies, allow only MCP servers that run as a local process. For those, sign in once with the command and let the tool start daster mcp, a bridge that forwards every call to the hosted server with your connection:
daster login --write
daster setup claude-code --stdioThe printed configuration runs daster mcp. For Claude Code that is claude mcp add daster -- daster mcp.
Approve the connection
When the tool opens the DASTER page, sign in if you are asked to, then:
- Choose the Organization, Project and Environment the tool may use. A connection always covers one project and one environment.
- Reading the project, websites, databases and logs is always allowed. Tick Upload, deploy websites and connect databases if the tool may make changes. Leave it off for read-only access.
- Choose Allow.
Only organization Owners and Admins can allow changes outside Development, and they need a sign-in within the last 10 minutes to do so.
What the tool can do
The tool sees only the tools its connection allows. A few of them:
| Tool | What it does |
|---|---|
project_overview | Read the project, its environment and services |
app_status, app_build_logs, app_runtime_logs | Read a website's state, address, deployments and logs |
hosting_upload_files, hosting_upload_link | Upload a site's files, or get a one-use link for a .zip of up to 100 MB |
app_create, app_deploy | Create a website on Hosting, or deploy a new version |
database_create | Create a PostgreSQL, MySQL-compatible or MongoDB-compatible database |
database_connect_app | Give a website its database settings (DATABASE_URL, DASTER_URL, DASTER_SERVER_KEY) |
Run daster tools to list all tools of your connection. The MCP server cannot delete anything, send email, change domains or change your team.
Approvals
Some calls wait for you instead of running:
- Every call that can charge your wallet (
app_create,app_deploy,database_create,database_connect_app). - Every change on a connection to an environment other than Development.
- Suspending an environment.
The tool then receives approval_required with an approvalId. Open Developer access › Approvals in the Dashboard. Each request shows the tool, the request and when it expires. Choose Approve once or Deny. Approving needs a sign-in within the last 10 minutes. The tool then repeats the same call with the approvalId. An approval covers exactly that request, once. Reads never need an approval.
Manage connections
Developer access › Connections lists the AI tools connected under your account, with the project, the access (Read only or Read and deploy), when each was last used and its status. Check tests a connection; Disconnect ends it at once.
Tools that sign in from their own servers
claude.ai, Claude Desktop, ChatGPT and Cursor's web agents sign in from their vendor's servers, not from your machine. They can connect only when DASTER accepts that vendor's sign-in address. Under Developer access › Connect an AI tool, each of these shows Ready when it works, or Waiting for DASTER to turn on when it does not yet. The steps on this page cover tools that run on your own computer.