Skip to main content
Glama

Swiftcode MCP Server

by hongaah

generate_api_client

Create TypeScript API clients automatically from Swagger/OpenAPI specifications. Simplify integration by generating code directly from URLs or local JSON files. Ideal for web development workflows.

Instructions

Generate TypeScript API client from Swagger/OpenAPI specification

Input Schema

NameRequiredDescriptionDefault
dirYesworkspace dir
sourceYes使用本地文件路径或 swagger URL 生成 API 和类型文件 / URL or JSON file path. Examples: For full path: '//user/file.json', For file only: 'file.json' returns 'file json'. URLs should start with '/' for proper routing.

Input Schema (JSON Schema)

{ "properties": { "dir": { "description": "workspace dir", "type": "string" }, "source": { "description": "使用本地文件路径或 swagger URL 生成 API 和类型文件 / URL or JSON file path. Examples: For full path: '//user/file.json', For file only: 'file.json' returns 'file json'. URLs should start with '/' for proper routing.", "type": "string" } }, "required": [ "source", "dir" ], "type": "object" }

Other Tools from Swiftcode MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hongaah/swiftcode-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server