Skip to content
Weavz
Menu
SwaggerHub

SwaggerHub MCP integration

Search, import, export, govern, and automate SwaggerHub APIs, domains, projects, comments, integrations, and webhooks

Sign in, add SwaggerHub in Apps, then choose the account your AI can use.

60 tools
2 triggers
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Get started with SwaggerHub

  1. Add SwaggerHub to your Weavz workspace and connect the account you want to use.
  2. Review the available tools below and enable the actions your task needs. Check the account permissions before allowing changes.
  3. Connect a compatible AI client to your workspace, or use the actions API from your application.

Tools

Name

Search Specs

search_specs

Search APIs, domains, and templates in SwaggerHub APIs.json format

Search APIs

search_apis

Search SwaggerHub APIs

Search Domains

search_domains

Search SwaggerHub domains

Owner APIs

list_owner_apis

List owner apis for an owner

Owner Domains

list_owner_domains

List owner domains for an owner

API Versions

list_api_versions

List versions for a SwaggerHub api

Domain Versions

list_domain_versions

List versions for a SwaggerHub domain

Get API Definition

get_api_definition

Get a SwaggerHub api definition as JSON, YAML, or default format

Get Domain Definition

get_domain_definition

Get a SwaggerHub domain definition as JSON, YAML, or default format

Save API Definition

save_api_definition

Create or update a SwaggerHub api definition

Save Domain Definition

save_domain_definition

Create or update a SwaggerHub domain definition

Delete API

delete_api

Delete API in SwaggerHub

Delete API Version

delete_api_version

Delete API Version in SwaggerHub

Clone API Version

clone_api_version

Clone API Version in SwaggerHub

Fork API Version

fork_api_version

Fork API Version in SwaggerHub

Delete Domain

delete_domain

Delete Domain in SwaggerHub

Delete Domain Version

delete_domain_version

Delete Domain Version in SwaggerHub

Clone Domain Version

clone_domain_version

Clone Domain Version in SwaggerHub

Fork Domain Version

fork_domain_version

Fork Domain Version in SwaggerHub

Get API Default Version

get_api_default_version

Get API Default Version for a SwaggerHub api

Set API Default Version

set_api_default_version

Set API Default Version for a SwaggerHub api

Get API Lifecycle

get_api_lifecycle

Get API Lifecycle for a SwaggerHub api

Set API Lifecycle

set_api_lifecycle

Set API Lifecycle for a SwaggerHub api

Get API Visibility

get_api_visibility

Get API Visibility for a SwaggerHub api

Set API Visibility

set_api_visibility

Set API Visibility for a SwaggerHub api

Get Domain Default Version

get_domain_default_version

Get Domain Default Version for a SwaggerHub domain

Set Domain Default Version

set_domain_default_version

Set Domain Default Version for a SwaggerHub domain

Get Domain Lifecycle

get_domain_lifecycle

Get Domain Lifecycle for a SwaggerHub domain

Set Domain Lifecycle

set_domain_lifecycle

Set Domain Lifecycle for a SwaggerHub domain

Get Domain Visibility

get_domain_visibility

Get Domain Visibility for a SwaggerHub domain

Set Domain Visibility

set_domain_visibility

Set Domain Visibility for a SwaggerHub domain

Get Standardization Errors

get_standardization_errors

Retrieve standardization errors for an API definition

List API Comments

list_api_comments

List API Comments for a SwaggerHub api

Add API Comment

add_api_comment

Add API Comment for a SwaggerHub api

Update API Comment

update_api_comment

Update API Comment for a SwaggerHub api

Delete API Comment

delete_api_comment

Delete API Comment for a SwaggerHub api

Set API Comment Status

set_api_comment_status

Set API Comment Status for a SwaggerHub api

Add API Comment Reply

add_api_comment_reply

Add API Comment Reply for a SwaggerHub api

Batch Update API Comments

batch_update_api_comments

Batch Update API Comments for a SwaggerHub api

List Domain Comments

list_domain_comments

List Domain Comments for a SwaggerHub domain

Add Domain Comment

add_domain_comment

Add Domain Comment for a SwaggerHub domain

Update Domain Comment

update_domain_comment

Update Domain Comment for a SwaggerHub domain

Delete Domain Comment

delete_domain_comment

Delete Domain Comment for a SwaggerHub domain

Set Domain Comment Status

set_domain_comment_status

Set Domain Comment Status for a SwaggerHub domain

Add Domain Comment Reply

add_domain_comment_reply

Add Domain Comment Reply for a SwaggerHub domain

Batch Update Domain Comments

batch_update_domain_comments

Batch Update Domain Comments for a SwaggerHub domain

List Integrations

list_integrations

List integrations configured for an API version

Create Integration

create_integration

Create Integration for a SwaggerHub API version

Get Integration

get_integration

Get Integration for a SwaggerHub API version

Update Integration

update_integration

Update Integration for a SwaggerHub API version

Patch Integration

patch_integration

Patch Integration for a SwaggerHub API version

Delete Integration

delete_integration

Delete Integration for a SwaggerHub API version

Execute Integration

execute_integration

Execute Integration for a SwaggerHub API version

List Projects

list_projects

List projects for an organization

Create Project

create_project

Create Project in SwaggerHub

Get Project

get_project

Get Project in SwaggerHub

Update Project

update_project

Update Project in SwaggerHub

Delete Project

delete_project

Delete Project in SwaggerHub

Add Spec To Project

add_spec_to_project

Add Spec To Project in SwaggerHub

Custom API Call

custom_api_call

Call any SwaggerHub Registry API endpoint with the connected API key

Triggers

Name

Spec Changed

spec_changed

Poll SwaggerHub APIs, domains, or specs and emit new or modified metadata after the initial baseline

Webhook Event Received

webhook_event_received

Receive manually configured SwaggerHub webhook integration events

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('swaggerhub', 'search_specs', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'swaggerhub',
  input: { /* ... */ },
})

Related Integrations

Explore integrations in other categories

Frequently Asked Questions

Is there a SwaggerHub MCP server through Weavz?

Yes. Add the SwaggerHub integration to a Weavz workspace, enable the actions you need and connect any required account. Weavz provides the workspace MCP endpoint in Tool Mode or Code Mode. The catalog currently lists 60 SwaggerHub actions.

What can an AI agent do with SwaggerHub?

Available actions include Search Specs, Search APIs, Search Domains, Owner APIs, Owner Domains, and more. Your workspace exposes only the actions you enable. The agent also needs the intended account access and any required input values.

How do I connect SwaggerHub to Claude or ChatGPT?

Use a compatible remote MCP client, add the Weavz connector and choose a workspace. Add SwaggerHub, connect the required account and review the enabled actions. Client availability and account requirements vary; adding the connector does not authorize every app automatically.

Can I use SwaggerHub through an API or SDK?

Yes, supported actions can run through the Weavz REST API, TypeScript SDK or Python SDK. Configure a workspace and the required connections, use scoped access, and pass the intended end-user context when acting for a customer.

What authentication does SwaggerHub require?

The catalog lists custom credentials for SwaggerHub. Use Hosted Connect to authorize the intended account. Required permissions, provider app access and available connection methods depend on the integration.

How do I review sensitive SwaggerHub actions?

Limit enabled actions, scope credentials to the intended user and configure Human Gates for the operations that need review. A matching policy can pause a send, record change or other sensitive action for an approver before execution.

What limits or costs apply to SwaggerHub?

Weavz plan limits apply to the actions and resources you use. The external provider may also require an account, a paid plan, API credits or specific permissions, and may enforce its own rate limits. Check current Weavz pricing and the provider’s terms before rollout.

What SwaggerHub triggers are available?

The catalog lists 2 triggers, including Spec Changed, Webhook Event Received. Configure the trigger and your event handler before using incoming events to start work.

Connect SwaggerHub in minutes

Get 20,000 free action executions every month. No credit card required.