Swaggerhub MCP server

Connect Swaggerhub to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Swaggerhub MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the get standardization results tool in Swaggerhub
  • Use the get comments tool in Swaggerhub
  • Use the save domain definition tool in Swaggerhub
  • Use the get api definition tool in Swaggerhub
  • Use the manage integrations tool in Swaggerhub
  • Use the manage projects tool in Swaggerhub

Supported Tools

run_standardization

Get Standardization Results

Retrieve standardization results for an API definition in SwaggerHub. Returns validation issues and their locations to help review compliance before publishing. Standardization requires an eligible organization plan.

get_comments

Get Comments

Retrieve all comments and replies on a specific API or domain version in SwaggerHub. Useful for reviewing team feedback, design discussions, and review workflows around API specifications.

save_domain_definition

Save Domain Definition

Create or update a domain definition in SwaggerHub. Domains are reusable components (models, parameters, responses) that can be shared across multiple API definitions. Provide the definition in YAML format.

get_api_definition

Get API Definition

Inspect an API definition in SwaggerHub, or list its versions. Returns the specification for a given version and the default version when available. Use download_definition to get a downloadable file.

manage_integrations

Manage Integrations

List, inspect, create, update, delete, or execute integrations on an API version in SwaggerHub. Integrations connect SwaggerHub to external tools like GitHub, GitLab, Bitbucket, AWS API Gateway, and more. Use the **action** field to specify the operation.

manage_projects

Manage Projects

List, create, update, or delete projects in SwaggerHub. Projects organize APIs and domains into logical groups for better team-level access control. You can also add APIs or domains to existing projects.

delete_domain

Delete Domain

Delete a domain or a specific domain version from SwaggerHub. When a version is specified, only that version is removed. When no version is specified, the entire domain and all its versions are deleted.

delete_api

Delete API

Delete an API or a specific API version from SwaggerHub. When a version is specified, only that version is removed. When no version is specified, the entire API and all its versions are deleted.

get_collaboration

Get API Collaborators

Retrieve the collaboration settings and list of collaborators for an API in SwaggerHub. Shows who has access to the API and their roles.

search_apis_and_domains

Search APIs & Domains

Search the SwaggerHub catalog for APIs and domains. Supports filtering by type (API or domain), visibility, published state, owner, and free text query. Returns paginated results with metadata including name, owner, description, and links.

update_api_settings

Update API Settings

Update settings for an API in SwaggerHub. Supports changing the default version, publishing/unpublishing a version, setting visibility (public/private), and renaming the API. Multiple settings can be updated in a single call.

get_domain_definition

Get Domain Definition

Retrieve a domain definition from SwaggerHub. Domains contain reusable components (models, parameters, responses) shared across APIs. Returns the definition for a specific version, or lists available versions if no version is specified.

save_api_definition

Save API Definition

Create or update an API definition in SwaggerHub. Provide the full OpenAPI or AsyncAPI specification in YAML format. Optionally set the version, visibility, and OAS version.

download_definition

Download Definition

Download an API or domain definition from SwaggerHub as a YAML or JSON file. API downloads can resolve external references or flatten schemas.

clone_definition_version

Clone Definition Version

Create a new API or domain version by copying an existing SwaggerHub version. Use this to start editing a new version while preserving a published definition.

Connect Swaggerhub to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Swaggerhub in Metorial. In your Metorial portal, enable the Swaggerhub MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Swaggerhub tools.

Run Swaggerhub through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Swaggerhub and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Swaggerhub tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Swaggerhub

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Slack

Slack: connect with bot OAuth or user OAuth to work with messages, conversations, search, files, Canvases, Lists, profiles, reactions, reminders, and workspace productivity settings.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Technical notes for Swaggerhub

Create, retrieve, update, and delete API definitions (OpenAPI and AsyncAPI) and reusable domains in SwaggerHub's centralized registry. Manage API versions, visibility, and publishing status. Search the public and private API catalog for APIs and domains. Retrieve collaboration comments and replies on API specifications. Configure and trigger integrations with external tools like GitHub, GitLab, AWS API Gateway, and CI/CD systems. Organize APIs and domains into projects with team-level access control. Generate client SDKs and server stubs in 30+ languages. Manage organization members, roles, and permissions. Run standardization scans to validate API definitions against style guides and governance rules. Configure webhooks to receive notifications when API versions are saved or published.

Frequently asked questions

Common questions about connecting Swaggerhub to AI agents with Metorial.

  1. How many tools does the Swaggerhub MCP server have?
    The Swaggerhub MCP server exposes 15 tools, including Get Standardization Results, Get Comments, Save Domain Definition. Each one is governed and traced through Metorial.
  2. Swaggerhub exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Swaggerhub MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Swaggerhub and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Swaggerhub MCP server yourself or use the hosted gateway.

Connect Swaggerhub to production AI agents

See how Metorial gives your team governed access to Swaggerhub, with tracing and security controls built in.