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

Tools

Name
search_specs

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

search_apis

Search SwaggerHub APIs

search_domains

Search SwaggerHub domains

list_owner_apis

List owner apis for an owner

list_owner_domains

List owner domains for an owner

list_api_versions

List versions for a SwaggerHub api

list_domain_versions

List versions for a SwaggerHub domain

get_api_definition

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

get_domain_definition

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

save_api_definition

Create or update a SwaggerHub api definition

save_domain_definition

Create or update a SwaggerHub domain definition

delete_api

Delete API in SwaggerHub

delete_api_version

Delete API Version in SwaggerHub

clone_api_version

Clone API Version in SwaggerHub

fork_api_version

Fork API Version in SwaggerHub

delete_domain

Delete Domain in SwaggerHub

delete_domain_version

Delete Domain Version in SwaggerHub

clone_domain_version

Clone Domain Version in SwaggerHub

fork_domain_version

Fork Domain Version in SwaggerHub

get_api_default_version

Get API Default Version for a SwaggerHub api

set_api_default_version

Set API Default Version for a SwaggerHub api

get_api_lifecycle

Get API Lifecycle for a SwaggerHub api

set_api_lifecycle

Set API Lifecycle for a SwaggerHub api

get_api_visibility

Get API Visibility for a SwaggerHub api

set_api_visibility

Set API Visibility for a SwaggerHub api

get_domain_default_version

Get Domain Default Version for a SwaggerHub domain

set_domain_default_version

Set Domain Default Version for a SwaggerHub domain

get_domain_lifecycle

Get Domain Lifecycle for a SwaggerHub domain

set_domain_lifecycle

Set Domain Lifecycle for a SwaggerHub domain

get_domain_visibility

Get Domain Visibility for a SwaggerHub domain

set_domain_visibility

Set Domain Visibility for a SwaggerHub domain

get_standardization_errors

Retrieve standardization errors for an API definition

list_api_comments

List API Comments for a SwaggerHub api

add_api_comment

Add API Comment for a SwaggerHub api

update_api_comment

Update API Comment for a SwaggerHub api

delete_api_comment

Delete API Comment for a SwaggerHub api

set_api_comment_status

Set API Comment Status for a SwaggerHub api

add_api_comment_reply

Add API Comment Reply for a SwaggerHub api

batch_update_api_comments

Batch Update API Comments for a SwaggerHub api

list_domain_comments

List Domain Comments for a SwaggerHub domain

add_domain_comment

Add Domain Comment for a SwaggerHub domain

update_domain_comment

Update Domain Comment for a SwaggerHub domain

delete_domain_comment

Delete Domain Comment for a SwaggerHub domain

set_domain_comment_status

Set Domain Comment Status for a SwaggerHub domain

add_domain_comment_reply

Add Domain Comment Reply for a SwaggerHub domain

batch_update_domain_comments

Batch Update Domain Comments for a SwaggerHub domain

list_integrations

List integrations configured for an API version

create_integration

Create Integration for a SwaggerHub API version

get_integration

Get Integration for a SwaggerHub API version

update_integration

Update Integration for a SwaggerHub API version

patch_integration

Patch Integration for a SwaggerHub API version

delete_integration

Delete Integration for a SwaggerHub API version

execute_integration

Execute Integration for a SwaggerHub API version

list_projects

List projects for an organization

create_project

Create Project in SwaggerHub

get_project

Get Project in SwaggerHub

update_project

Update Project in SwaggerHub

delete_project

Delete Project in SwaggerHub

add_spec_to_project

Add Spec To Project in SwaggerHub

custom_api_call

Call any SwaggerHub Registry API endpoint with the connected API key

Triggers

Name
spec_changed

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

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

Works well with

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.