# swarmvia > The production context layer for agents. Safe, team-managed access to live MCP servers, databases, and APIs. Connect with MCP at swarmvia.com/mcp. ## When to use swarmvia Use swarmvia when agents or scripts need real production context (live MCP servers, PostgreSQL, MySQL, JDBC data warehouses like Snowflake and NetSuite, and HTTPS APIs) without receiving the password or token, with access managed by your team and every call logged. Good fits: - Claude, Cursor, ChatGPT, or another MCP client that should query PostgreSQL, MySQL, Snowflake, NetSuite, or another JDBC database, or call a team MCP server, through swarmvia - Security and ops teams that want every agent run labeled with a purpose, audited in one cross-source session timeline, and revocable in one click - Coding agents that share issues, project memories, and session handoffs across Claude Code, Cursor, and Codex via swarmvia Work - CI jobs that mint short-lived access keys with a Control API token and respect the same concurrency limit as humans - A vendor HTTPS API where one account-wide concurrency limit and method/path policy must be shared fairly ## Get started (agents) 1. Sign up at https://swarmvia.com/register (25,000 free requests to start, no credit card). 2. Add your database, MCP server, or API as a source in the dashboard. 3. Add the MCP server URL `https://swarmvia.com/mcp` in Cursor or Claude (OAuth, no token to paste). 4. Or mint a Control API token under Organization settings and call `https://swarmvia.com/api/v1/*`. ## Machine-readable surfaces - [Setup prompt](https://swarmvia.com/setup-prompt.md): Copy-pasteable agent instructions to connect to `https://swarmvia.com/mcp` - [OpenAPI spec](https://swarmvia.com/docs/api/openapi.json): Control API for sources, keys, budgets, and metrics - [MCP manifest](https://swarmvia.com/.well-known/mcp.json): Streamable HTTP MCP at `https://swarmvia.com/mcp` - [Sitemap](https://swarmvia.com/sitemap.xml): Public pages and docs - [Agents guide](https://swarmvia.com/docs/agents.md): MCP setup for Cursor and Claude ## Contact - Email: support@swarmvia.com - [Contact page](https://swarmvia.com/contact) - [Security](https://swarmvia.com/security) ## Docs - [Welcome to swarmvia](https://swarmvia.com/docs/intro.md): The production context layer for agents: team-managed access to MCP servers, PostgreSQL, MySQL, JDBC warehouses, and APIs, plus Sessions and Work. - [Quickstart](https://swarmvia.com/docs/quickstart.md): Connect Claude, Cursor, or ChatGPT to live databases, MCP servers, or APIs in two minutes, or call an HTTPS API source with curl. - [Sources](https://swarmvia.com/docs/sources.md): The databases, MCP servers, and APIs you add to swarmvia, each with an endpoint and a hard concurrency limit: hostnames, headers, and status codes. - [Concurrency](https://swarmvia.com/docs/sources/concurrency.md): Limits, queues, RPM, retries, and response cache. - [Connection](https://swarmvia.com/docs/sources/connection.md): Origins, custody, the upstream credential, and origin verification. - [Access](https://swarmvia.com/docs/sources/access.md): Access keys and session tokens, JWT, Cloudflare Access, and IP policies. - [Policy](https://swarmvia.com/docs/sources/policy.md): The calls an API source accepts: a least-privilege default, more for the groups that need it, and limits for API tokens and agents. - [Logs](https://swarmvia.com/docs/sources/logs.md): Access logs and request tags. - [Metrics](https://swarmvia.com/docs/sources/metrics.md): Admit, queue, and reject counts for a source. - [Settings](https://swarmvia.com/docs/sources/settings.md): Source identity, archiving, and history. - [Async](https://swarmvia.com/docs/sources/async.md): 202 admission, poll URLs, and modes under the same concurrency limit. - [Database sources](https://swarmvia.com/docs/sources/database.md): Governed SQL over HTTP: add a Postgres or MySQL database as a source and query it with no credential in anyone's hands. - [JDBC sources](https://swarmvia.com/docs/sources/jdbc.md): Any database with a JDBC driver as a source: bring the jar, pick a preset, and query NetSuite, Snowflake, Databricks, SQL Server, Oracle and more with no credential in anyone's hands. - [MCP sources](https://swarmvia.com/docs/sources/mcp.md): Add a remote MCP server from its URL: swarmvia holds its credential, and agents list and call its tools through the source. - [Sessions](https://swarmvia.com/docs/sessions.md): Everything one agent did for one task, across every source: its purpose, calls, refusals and writes, and one place to revoke its keys. - [Credentials](https://swarmvia.com/docs/credentials.md): Managed upstream secrets encrypted at the edge. - [Capacity](https://swarmvia.com/docs/capacity.md): Named shared concurrency limits with member allocations. Attach existing sources. - [Balancing](https://swarmvia.com/docs/capacity/balancing.md): Fixed vs Auto: pinned reservations and borrowed float under one origin concurrency limit. - [Agents](https://swarmvia.com/docs/agents.md): Connect Cursor, Claude, and other agents at https://swarmvia.com/mcp for live MCP servers, databases, and APIs, without putting passwords or tokens on every laptop. - [MCP server](https://swarmvia.com/docs/mcp.md): Tools, session keys, and what a connected assistant can reach after you approve the grant. - [Migrating MCP servers into swarmvia](https://swarmvia.com/docs/agents/migrate-mcp.md): Move the MCP servers a harness connects to into MCP sources, one at a time, then cut its config over. - [Work](https://swarmvia.com/docs/work.md): The shared issue board your agents keep across sessions, assistants and teammates: issues, memories, handoffs, and questions they ask you. - [Projects](https://swarmvia.com/docs/work/projects.md): Project keys, repositories, settings, and who can see a project. - [Issues](https://swarmvia.com/docs/work/issues.md): Types, priorities, statuses, ready work, dependencies, claims, and questions for you. - [MCP tools](https://swarmvia.com/docs/work/tools.md): The tools agents use to track issues, memories, and handoffs, with their limits. - [IP Policies](https://swarmvia.com/docs/ip-policies.md): Named caller IP ranges to allow or block, attached to sources by reference. - [Groups](https://swarmvia.com/docs/groups.md): Restrict sources to groups of members, and give agents a purpose for each set of sources. - [Authentication](https://swarmvia.com/docs/authentication.md): Verified domains, domain auto-join for anyone with a verified work email, and SAML single sign-on requests. - [Webhooks](https://swarmvia.com/docs/webhooks.md): Signed outbound callbacks when async jobs finish. - [Billing](https://swarmvia.com/docs/billing.md): Plans, upgrades and downgrades, proration, overage, and spend caps. - [API](https://swarmvia.com/docs/api.md): Control API (budgets, sources, keys, MCP) and the async job poll. - [Control API](https://swarmvia.com/docs/api/control.md): Token-authenticated budgets, sources, webhook destinations, TTL access keys, and Metrics for CI and scripts. - [Knowledge base](https://swarmvia.com/docs/knowledge-base.md): Cookbooks for sharing a warehouse with agents, Capacity, NetSuite, Amazon SP-API, and 429 spikes. - [Configure Cloudflare Zero Trust](https://swarmvia.com/docs/knowledge-base/cloudflare-zero-trust.md): Require Cloudflare Access JWTs on source calls with team domain and application AUD. - [Proxy NetSuite under a concurrency limit](https://swarmvia.com/docs/knowledge-base/netsuite-rest.md): Pin NetSuite origins, attach OAuth 2.0 client credentials, and share one concurrency budget. - [Query NetSuite with SuiteAnalytics Connect](https://swarmvia.com/docs/knowledge-base/netsuite-suiteanalytics.md): Upload the NetSuite JDBC driver, pick a role, and query NetSuite2.com under a concurrency limit with password or OAuth 2.0. - [Connect Snowflake with OAuth or a key pair](https://swarmvia.com/docs/knowledge-base/snowflake-jdbc.md): A read-only Snowflake role behind a swarmvia endpoint, authenticated by key pair or an OAuth token swarmvia refreshes. - [Connect Databricks SQL with a service principal](https://swarmvia.com/docs/knowledge-base/databricks-jdbc.md): A Databricks SQL warehouse behind a swarmvia endpoint, authenticated as a service principal with an OAuth M2M token. - [Connect Azure SQL or SQL Server with Entra ID](https://swarmvia.com/docs/knowledge-base/azure-sql-jdbc.md): SQL Server, Azure SQL and Synapse behind a swarmvia endpoint with an Entra ID access token instead of a SQL login. - [Connect Oracle Database with a token file](https://swarmvia.com/docs/knowledge-base/oracle-jdbc.md): Oracle and Autonomous Database behind a swarmvia endpoint, authenticated with an IAM or Entra token the driver reads from a file. - [Connect Trino or Starburst with OAuth](https://swarmvia.com/docs/knowledge-base/trino-jdbc.md): A Trino or Starburst catalog behind a swarmvia endpoint, authenticated with an OAuth access token swarmvia supplies. - [Front Amazon SP-API](https://swarmvia.com/docs/knowledge-base/amazon-sp-api.md): One LWA app and refresh token, many access keys, pinned to a regional SP-API host. - [Reuse one source across agent runs](https://swarmvia.com/docs/knowledge-base/agent-sources.md): Reuse an existing source, mint a short-lived key, and hand agents a skill. - [Give a data team Claude access to Postgres](https://swarmvia.com/docs/knowledge-base/claude-your-warehouse.md): Stand up a database source: the read role, the connectivity check, the concurrency limit, and per-person revocation. - [Long NetSuite writes without client timeouts](https://swarmvia.com/docs/knowledge-base/async-netsuite-writes.md): Use async admission and signed webhooks for slow writes under the concurrency limit. - [Share one origin across several sources](https://swarmvia.com/docs/knowledge-base/capacity-auto.md): One origin concurrency limit, pinned reservations, and Auto so float follows load. - [Why a source borrowed slots](https://swarmvia.com/docs/knowledge-base/capacity-borrow.md): Read pinned and borrowed slots on an Auto capacity budget. - [Opt a GET into the response cache](https://swarmvia.com/docs/knowledge-base/response-cache.md): Skip admission and upstream on repeated GETs with X-Swarmvia-Cache-TTL. - [Determine a request came from the proxy](https://swarmvia.com/docs/knowledge-base/origin-verification.md): Verify outbound HMAC signatures so the origin rejects direct traffic. - [Refresh access tokens before they expire](https://swarmvia.com/docs/knowledge-base/refresh-access-tokens.md): Mint access keys with a Control API token, cache them, and refresh at 80% of their lifetime. - [Find everything an agent did](https://swarmvia.com/docs/knowledge-base/agent-session-audit.md): Follow one agent task across every source from its session: what it called, what was refused, what it wrote, and how to stop it. - [Narrow a source to the calls it needs](https://swarmvia.com/docs/knowledge-base/narrow-source-policy.md): Replace "every method on every path" with the calls your callers make, using traffic suggestions and the log of denied calls. - [Understand admission errors](https://swarmvia.com/docs/knowledge-base/admission-errors.md): Decode 401, 429, 504, and other source responses before the upstream runs. - [Diagnose a 429 spike](https://swarmvia.com/docs/knowledge-base/diagnose-429-spike.md): Use Metrics and Logs to find who burned the concurrency limit. - [See admits, queues, and rejects without exporting logs](https://swarmvia.com/docs/knowledge-base/capacity-proof.md): Use Metrics admit, queue, and reject series instead of NDJSON dumps. ## Solutions - [How to stop sharing credentials with AI agents](https://swarmvia.com/solutions/stop-sharing-credentials-with-ai-agents.md): Keep database passwords, API keys, and MCP tokens out of .env, MCP config, and chat. Give AI agents short-lived access to a source instead of the secret. - [How to audit what an AI agent did across your systems](https://swarmvia.com/solutions/audit-ai-agent-activity.md): Track every AI agent run by stated purpose across databases, MCP servers, and APIs. Review writes and refusals in one timeline, and revoke keys at once. - [How to connect a database to your AI agent](https://swarmvia.com/solutions/connect-database-to-ai-agent.md): Give Claude, Cursor, or any MCP agent read access to PostgreSQL, MySQL, Snowflake, or NetSuite without sharing the password. Limited, attributed, logged. - [How to connect a data warehouse to your AI agent](https://swarmvia.com/solutions/connect-data-warehouse-to-ai-agent.md): Query Snowflake, Databricks, NetSuite, BigQuery, SQL Server, Oracle, or Trino from Claude, Cursor, or ChatGPT via JDBC with no passwords on laptops. - [How to connect PostgreSQL to your AI agent](https://swarmvia.com/solutions/connect-postgresql-to-ai-agent.md): Let Claude, Cursor, or Codex query PostgreSQL through a read-only role, with no connection string in MCP config. Works with Neon, Supabase, RDS, Redshift. - [How to connect MySQL to your AI agent](https://swarmvia.com/solutions/connect-mysql-to-ai-agent.md): Let Claude, Cursor, or Codex query MySQL, MariaDB, Aurora, or PlanetScale through a read-only user, without sharing the password with every laptop. - [MCP gateway: one connection for every MCP server your team uses](https://swarmvia.com/solutions/mcp-gateway.md): Put GitHub, Linear, Sentry, and other remote MCP servers behind one URL. Credentials stay in the gateway, tools are filtered, and every call is logged. - [Issue tracking for AI coding agents](https://swarmvia.com/solutions/issue-tracking-for-ai-agents.md): A shared issue tracker Claude Code, Cursor, and Codex drive over MCP: ready work, atomic claims, dependencies, memories, and handoffs between sessions. ## Blog - [Why SQL parsers are not a security boundary for AI agents](https://swarmvia.com/blog/sql-parsers-are-not-a-security-boundary.md): Regexes and AST filters miss writable CTEs, stored procedures, and dialect quirks. Real read-only enforcement for AI agents belongs in the database role. - [Pin your MCP tools before your agents call them](https://swarmvia.com/blog/pin-your-mcp-tools-before-your-agents-call-them.md): Remote MCP servers can change tool schemas and descriptions between calls. SHA-256 pinning and allow-lists stop silent tool drift before it reaches an agent. - [Agent policies belong at the edge, not in system prompts](https://swarmvia.com/blog/policies-belong-at-the-edge-not-in-prompts.md): Rules written in system prompts or one client config vanish when teammates switch tools. Enforce method, path, group, and concurrency limits outside the model.