adapt_rest
Destructive
Universal Adapter: dynamically convert any OpenAPI/Swagger REST API specification into MCP tools and execute them. Use when the API you need has an OpenAPI document but no MCP server. Example arguments: {"spec_url": "https://api.example.org/openapi.json", "action": "list_tools"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | Inline OpenAPI JSON specification object. | |
| tool | No | Tool name to execute when action='call'. | |
| action | No | Action: 'list_tools' to discover executable tools, 'call' to invoke an endpoint. | |
| base_url | No | Optional override for API base URL. | |
| spec_url | No | URL of the OpenAPI/Swagger JSON specification. | |
| arguments | No | Arguments for the tool invocation. | |
| visitor_token | No | Your visitor token (vt_…) so I remember you. Omit on first contact. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| text | Yes | ||
| intent | No | ||
| status | No | ||
| visitor | No | ||
| execution | No | ||
| recommendations | No |