Skip to content

🚀 swagger-mcp v1.0.7

Choose a tag to compare

@github-actions github-actions released this 10 Jun 18:51
· 0 commits to 3eddb9f5238486561439c6d08f03be741bdd791d since this release

🚀 What's New in v1.0.7

Changes

  • Bump version to 1.0.7
  • Fix npm publishing for manual releases

📦 Installation

Global Installation (Recommended):

npm install -g swagger-mcp@1.0.7

Or use with npx (no installation required):

npx swagger-mcp@1.0.7

⚙️ Configuration Examples

VS Code (.vscode/mcp.json):

{
  "swagger-mcp": {
    "command": "npx",
    "args": ["-y", "swagger-mcp@1.0.7"],
    "env": {
      "API_BASE_URL": "https://api.example.com",
      "API_DOCS_URL": "https://api.example.com/swagger.json",
      "API_KEY": "your-api-key-here"
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "swagger-mcp": {
    "command": "npx",
    "args": ["-y", "swagger-mcp@1.0.7"],
    "env": {
      "API_BASE_URL": "https://api.example.com",
      "API_DOCS_URL": "https://api.example.com/swagger.json"
    }
  }
}

Windsurf (.windsurf/mcp.json):

{
  "swagger-mcp": {
    "command": "npx",
    "args": ["-y", "swagger-mcp@1.0.7"],
    "env": {
      "API_BASE_URL": "https://api.example.com",
      "API_DOCS_URL": "https://api.example.com/swagger.json"
    }
  }
}

🔧 Available Tools

  • fetch_swagger_info - Get API overview and authentication requirements
  • list_endpoints - List all available API endpoints with filtering
  • get_endpoint_details - Get detailed information about specific endpoints
  • execute_api_request - Execute API requests with authentication
  • validate_api_response - Validate API responses against schema

🔑 Authentication Support

  • API Keys (Header, Query Parameter)
  • Bearer Tokens with auto-refresh
  • Basic Authentication (Username/Password)
  • Custom headers and dynamic token management

For detailed documentation, visit: https://github.com/amrsa1/swagger-mcp