mcp
v0.7.2Provision Postgres databases + webhooks from AI coding agents in one HTTP call.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_postgres
Provision a fresh Postgres database on instanode.dev. pgvector is pre-installed. Returns a standard postgres:// connection URL that any driver can use directly as DATABASE_URL — no wrapper SDK, no setup. The 'name' field is required (the human label surfaced on the dashboard). Without INSTANODE_TOKEN: free tier — 10 MB, 2 connections, expires in 24h, capped at 5 provisions/day per /24 subnet. With INSTANODE_TOKEN (paid): 500 MB, 5 connections, permanent, no subnet cap. Store the connection_url in an env var (DATABASE_URL); do not hardcode it.
| Parameter | Type | Description |
|---|---|---|
name * | string | Human-readable label for this database (1–64 chars). Example: 'prospector-agent' or 'test-pgpid-123'. |
create_webhook
Provision an inbound webhook receiver URL on instanode.dev. Returns a receive_url that accepts any HTTP method from any sender and stores each request (method, headers, body, received_at). GET the same URL to pull back the stored log. The 'name' field is required. Useful for: testing Stripe/GitHub/Slack webhooks locally, inspecting payloads during development, building integrations without exposing a local port. Without INSTANODE_TOKEN: free tier — up to 100 requests stored, 24h TTL. With INSTANODE_TOKEN (paid): 1000 stored, permanent.
| Parameter | Type | Description |
|---|---|---|
name * | string | Human-readable label for this receiver (1–64 chars). Example: 'stripe-sandbox'. |
list_resources
List resources on the caller's instanode.dev account, newest first. Requires INSTANODE_TOKEN to be set. Mint one at https://instanode.dev/dashboard. Returns each resource's type, token, tier, status, name, and expiry.
claim_token
Attach an anonymous token (returned by create_postgres / create_webhook) to the authenticated caller's account. Idempotent — re-claiming a token you already own returns the same payload. For paid callers, the resource's tier is upgraded to 'paid' and its expiry is cleared. For free callers, the resource stays anonymous-tier but is now visible on the dashboard. Requires INSTANODE_TOKEN.
| Parameter | Type | Description |
|---|---|---|
token * | string | Resource token (UUID) returned by create_postgres or create_webhook. |
delete_resource
Permanently delete one of the caller's resources. Drops the underlying Postgres database (or clears the webhook's request log), then marks the row status='deleted'. Paid tier only. Free-tier resources auto-expire in 24h and cannot be deleted manually — the tool will surface the upgrade URL. Requires INSTANODE_TOKEN.
| Parameter | Type | Description |
|---|---|---|
token * | string | Resource token (UUID) to delete. |
get_api_token
Mint a fresh 30-day bearer JWT for the authenticated caller and return it as plain text. The user should paste the returned token into their MCP server config as INSTANODE_TOKEN (or export it as an env var for CLI use). Requires an existing INSTANODE_TOKEN (or a session cookie, though session cookies aren't available in this transport). This is primarily useful for rotating an expiring token.