Swaggerhub for AI agents

SwaggerHub is a collaborative platform for designing, documenting, and versioning APIs built on the OpenAPI standard, used by teams to manage API definitions. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Developer toolsAPI keyMCP + RESTswaggerhub.com
AUDIT LOG · SWAGGERHUBPOLICY: acme-support
09:41:07 · claude · u_8f2read
swaggerhub.list_attachments
List Attachments✓ allowed · 212ms
09:41:08 · claude · u_8f2read
swaggerhub.get_portal
Get Portal✓ allowed · 164ms
09:41:09 · claude · u_8f2write
swaggerhub.update_portal
Update Portal✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
swaggerhub.delete_table_of_contents_entry
Delete Table of Contents Entry✕ blocked · policy: deny
EVERY SWAGGERHUB CALL, ON THE RECORD
01 · USE CASES

What agents do in Swaggerhub.

01

Get an API's current definition

Retrieve the current OpenAPI definition for an API as a read-only check before proposing changes.

02

List versions of an API

Pull the list of published versions for an API so a team can confirm which one is live.

03

Add access control for a team

Grant a team access to an API only after the user confirms who should have permission.

02 · ACTIONS

44 Swaggerhub actions, graded by risk.

Every Swaggerhub action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

35

Look things up. Allowed by default.

  • swaggerhub.get_portal
    Get Portal
  • swaggerhub.get_portals
    Get Portals
  • swaggerhub.search_apis
    Search APIs
  • swaggerhub.get_templates
    Get Templates
  • swaggerhub.get_definition
    Get API Definition
  • swaggerhub.get_owner_apis
    Get Owner APIs
  • swaggerhub.get_user_roles
    Get User Roles
  • swaggerhub.search_domains
    Search Domains
  • swaggerhub.get_api_versions
    Get API Versions
  • swaggerhub.list_attachments
    List Attachments
  • swaggerhub.get_organizations
    Get User Organizations
  • swaggerhub.get_owner_domains
    Get owner domains
  • swaggerhub.get_portal_product
    Get Portal Product
  • swaggerhub.get_resource_types
    List Resource Types and Roles
  • swaggerhub.get_domain_versions
    Get Domain Versions
  • swaggerhub.get_org_projects_v2
    Get Organization Projects V2
+ 19 MORE

write

5

Create and change things. Allow, or ask the user first.

  • swaggerhub.update_portal
    Update Portal
  • swaggerhub.add_access_control_for_teams
    Add Access Control for Teams
  • swaggerhub.add_access_control_for_users
    Add Access Control for Users
  • swaggerhub.update_access_control_for_teams
    Update Access Control for Teams
  • swaggerhub.update_access_control_for_users
    Update Access Control for Users

destructive

4

Delete, cancel or archive. Ask first, or deny outright.

  • swaggerhub.remove_members
    Remove Organization Members
  • swaggerhub.delete_table_of_contents_entry
    Delete Table of Contents Entry
  • swaggerhub.remove_access_control_for_teams
    Remove Access Control for Teams
  • swaggerhub.remove_access_control_for_users
    Remove Access Control For Users
03 · HOW IT WORKS

Swaggerhub in three steps.

  1. 01Your users connect SwaggerhubThey add their Swaggerhub api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “update Portal” can wait for the user, and “delete Table of Contents Entry” can be denied outright.
  3. 03Any agent can actYour agent calls Swaggerhub through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('swaggerhub', {
  read: 'allow',
  write: 'ask',        // update_portal
  destructive: 'deny',  // delete_table_of_contents_entry
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Swaggerhub connects.

Users add their Swaggerhub api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Swaggerhub connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Swaggerhub from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Swaggerhub and Arc0, answered.

Q01

Can I use Swaggerhub with Claude, ChatGPT or Cursor?

Yes. Connect Swaggerhub to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Swaggerhub actions you allow.

Q02

How do users connect Swaggerhub?

Users add their Swaggerhub api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Swaggerhub actions can my agent take?

44 in total: 35 read, 5 write and 4 destructive, such as “update Portal”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Swaggerhub?

Yes. Actions like “delete Table of Contents Entry” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Swaggerhub too?

Yes. The same Swaggerhub connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Swaggerhub into your agent.

Your users connect Swaggerhub once, under your brand. Your agent gets 44 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan