Get the FREE Ultimate OpenClaw Setup Guide →

ai-create

ai-create-mcp is a Go-based tool that converts OpenAPI Specification (OAS) files into a Model Context Protocol (MCP) program.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio xxlv-ai-create-mcp go install github.com/xxlv/ai-create-mcp@latest

How to use

AI-Create-MCP is a Go-based command-line tool that converts OpenAPI Specification (OAS) files into MCP (Model Context Protocol) configurations and project scaffolds. After installing the tool, you can generate MCP projects from an OpenAPI file, customize metadata such as project name and version, and choose whether to enable debugging inspector or Claude.app integration. The tool emphasizes a streamlined workflow: supply an OAS file, provide a target directory and project name, and let ai-create-mcp produce an MCP-ready project structure that you can further adapt to your environment. When enabled, the inspector helps you analyze the generated model context and verify mappings, while Claude.app integration enables optional external tooling for enhanced workflows.

How to install

Prerequisites:

  • Go installed on your system (1.18+ recommended)
  • Internet access to fetch the module

Install steps:

  1. Install the AI-Create-MCP tool:
go install github.com/xxlv/ai-create-mcp@latest
  1. Verify installation (the binary should be in your Go binaries directory, typically $GOPATH/bin or $HOME/go/bin):
ai-create-mcp --help
  1. (Optional) Clone and build locally:
git clone https://github.com/xxlv/ai-create-mcp.git
cd ai-create-mcp
go build
  1. Ensure the binary is in your PATH so you can invoke it from any shell.

Additional notes

Tips and common considerations:

  • Provide a valid OAS file via -oaspath to ensure proper conversion.
  • The -path flag should point to a writable directory where the MCP project will be created.
  • -name sets the project name; follow your organization’s naming conventions.
  • -inspector enables a debugging/analysis tool to inspect the generated MCP model; disable with -inspector=false if not needed.
  • -claudeapp toggles integration with Claude.app; disable with -claudeapp=false if you don’t plan to use Claude.app features.
  • -autoyes allows fully automated runs without prompts; useful for CI pipelines.
  • Version defaults to 0.1.0 unless overridden by -version.
  • The generated output typically includes MCP configuration, scaffolding, and mapping templates derived from the OAS structure.

Environment variables you might encounter:

  • CLUDEAPP_API_KEY or similar: used if Claude.app integration is enabled.
  • Any custom GOPATH or GOFLAGS that affect where the go tool installs binaries.

Related MCP Servers

Sponsor this space

Reach thousands of developers