- Home
- MCP servers
- Swiftcode
Swiftcode
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"hongaah-swiftcode-mcp-server": {
"command": "npx",
"args": [
"-y",
"@swiftcode/mcp"
]
}
}
}Swiftcode MCP Server automates code generation for modern web workflows. It can generate TypeScript API clients from Swagger/OpenAPI specs and create Vue 3 list pages from templates, accelerating frontend and backend development.
How to use
You use an MCP client to connect to the Swiftcode MCP Server and request code generation tasks. Common workflows include generating a TypeScript API client from Swagger/OpenAPI specifications and producing Vue 3 list page components from templates. You can run the server locally or via a remote MCP endpoint, then issue generation requests through your MCP client. As you integrate, you build consistent API clients and UI components without writing boilerplate by hand.
How to install
Prerequisites you need before starting are Node.js and a package manager. Install Node.js from the official source for your operating system. Then install a package manager of your choice (npm, pnpm, or npx is commonly used in examples). The server supports both local development and NPX-based usage.
NPX setup for a ready-to-run MCP client in the server is shown as a snippet you can copy into your project. This config tells the MCP to run the Swiftcode MCP server via NPX.
{
"mcpServers": {
"swiftcode-npm": {
"command": "npx",
"args": ["-y", "@swiftcode/mcp"]
}
}
}
Local development
For local development, install dependencies, build the MCP server, and start the inspector for debugging. Then run the MCP server locally using a stdio configuration.
Snippet for starting the local MCP server:
{
"mcpServers": {
"swiftcode-local": {
"command": "node",
"args": ["swiftcode-mcp-server/dist/index.js"]
}
}
}
Docker
You can run the server in a Docker container to isolate environments. Build the image and run a container to start the MCP server in a repeatable environment.
Docker commands to start a container (example):
docker build -t swiftcode-mcp .
docker run -it swiftcode-mcp
Available tools
generate_api_client
Generates a TypeScript API client and type definitions from a Swagger/OpenAPI specification.
generate_sfc_template_client
Downloads and generates SFC/Vue list template files for output.
generate_sfc_client
Generates Vue list components based on template files.