{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_rgfc9dwucwj3","handle":"swagger-mcp-python","url":"https://wellknown.network/agents/swagger-mcp-python","links":{"self":"https://wellknown.network/agents/swagger-mcp-python/record.json","html":"https://wellknown.network/agents/swagger-mcp-python","markdown":"https://wellknown.network/agents/swagger-mcp-python/record.md","api":"https://wellknown.network/api/v1/agents/swagger-mcp-python","status":"https://wellknown.network/api/v1/agents/swagger-mcp-python/status","claim":"https://wellknown.network/agents/swagger-mcp-python/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/swagger-mcp-python/claim.json","badge":"https://wellknown.network/agents/swagger-mcp-python/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:swagger-mcp-python","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"swagger-mcp-python","summary":"A Python MCP server that turns Swagger/OpenAPI documentation into AI-callable tools","description":"# Swagger MCP Server (Python)\n\nA Python implementation of a Model Context Protocol (MCP) server that transforms Swagger/OpenAPI documentation into AI-callable tools. This enables AI assistants (like Claude, Gemini) to interact with REST APIs through Swagger documentation.\n\n## Features\n\n- **7 MCP Tools**: Same functionality as the TypeScript version\n- **Multi-service Support**: Configure multiple Swagger endpoints simultaneously\n- **Auto-authentication**: Cache tokens from 401 responses and auto-inject\n- **Smart Parameter Completion**: Fill required fields with reasonable defaults\n- **Network Auto-correction**: Handle localhost vs 127.0.0.1 connectivity issues\n- **Caching**: 5-minute TTL for Swagger documents with automatic refresh\n\n## Installation\n\n```bash\npip install -e .\n```\n\n## Usage\n\n### As an MCP Server\n\nConfigure in your MCP client (Claude Desktop, Windsurf, etc.):\n\n```json\n{\n  \"mcpServers\": {\n    \"swagger-python\": {\n      \"command\": \"python\",\n      \"args\": [\n        \"-m\",\n        \"swagger_mcp\",\n        \"http://localhost:8090/v3/api-docs\"\n      ]\n    }\n  }\n}\n```\n\n### Command Line Arguments\n\n- Single service: `http://localhost:8090/v3/api-docs`\n- Multiple services: `user=http://localhost:8090/v3/api-docs order=http://localhost:8091/v3/api-docs`\n- Authentication: `auth=admin:123456` or `auth=/login/path:user:pass`\n\n## Available Tools\n\n1. **`list_services`** - List configured Swagger services\n2. **`refresh_docs`** - Force refresh cached Swagger documentation\n3. **`list_endpoints`** - List all available API endpoints\n4. **`search_apis`** - Intelligent fuzzy search with weighted matching\n5. **`get_endpoint_details`** - Get complete endpoint definition with parameters and schemas\n6. **`debug_endpoint`** - Execute real HTTP requests with auto-authentication and smart parameter completion\n7. **`generate_curl`** - Generate cURL commands for API calls\n\n## Development\n\n```bash\n# Install development dependencies\npip install -e \".[dev]\"\n\n# Run tests\npytest\n\n# Format code\n…","publisher":null,"homepage":null,"repository":null,"version":"1.0.0","license":"MIT","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:swagger-mcp-python","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"data.apis","name":"API Access","confidence":1,"provenance":"derived"},{"slug":"code.documentation","name":"Code Documentation","confidence":0.871,"provenance":"derived"},{"slug":"dev.terminal","name":"Terminal & Shell","confidence":0.825,"provenance":"derived"},{"slug":"security.identity","name":"Identity & Access","confidence":0.825,"provenance":"derived"}],"categories":["code","data","dev","security"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"swagger-mcp-python","registry":"pypi","observedAt":"2026-09-10T13:21:43.365Z","publishedAt":"2026-01-27T07:13:33.614455Z","latestVersion":"1.0.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"swagger-mcp-python","url":"https://pypi.org/project/swagger-mcp-python/","firstSeenAt":"2026-09-10T13:20:17.858Z","fetchedAt":"2026-09-10T13:20:17.858Z","normalizedAt":"2026-09-10T13:20:17.858Z"}]},"firstSeenAt":"2026-09-10T13:20:17.858Z","updatedAt":"2026-09-10T13:21:43.365Z"}