mcpField
A
AI-Create-MCP (WIP)

AI-Create-MCP (WIP)

Local
github.com/xxlvDeveloper Tools8Updated 83w ago

About AI-Create-MCP (WIP)

AI-Create-MCP is a Go command-line tool that generates an MCP project from an OpenAPI Specification file. It is intended for developers and supports project settings plus optional Inspector and Claude.app integration; the project is marked as a work in progress.

Key features

  1. 01Generate MCP projects from OAS files
  2. 02Set project name, directory, and version
  3. 03Optional Inspector integration
  4. 04Optional Claude.app integration
  5. 05Automate confirmation prompts

Use cases

  1. 01Scaffold an MCP server from an OpenAPI definition
  2. 02Set up a named project with a chosen version
  3. 03Generate a project without interactive prompts

MCP support

It converts OAS files into MCP programs. The generated MCP server can be configured with optional Inspector and Claude.app integration.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

AI-Create-MCP (WIP)

This project is a work in progress and not yet complete.

ai-create-mcp is a Go-based tool that converts OpenAPI Specification (OAS) files into a Model Context Protocol (MCP) program. It provides a simple and efficient way to generate MCP-compliant code or configurations from OAS files, with customizable options for project setup and integrations.

中文

Features

  • Convert OAS files to MCP protocol.
  • Customizable project name, directory, and version.
  • Optional integration with Claude.app.
  • Inspector tool for debugging and analysis.

Installation

To install the ai-create-mcp, ensure you have Go installed on your system. Then, run the following command:

go install github.com/xxlv/ai-create-mcp

Alternatively, clone the repository and build it manually:

git clone https://github.com/xxlv/ai-create-mcp.git
cd ai-create-mcp
go build

Usage

The tool is configured via command-line flags. Below is the list of available flags and their descriptions:

FlagTypeDefault ValueDescription
-pathstring""Directory to create the project in
-namestring""Project name
-oaspathstring""Path to the OAS file
-versionstring"0.1.0"Server version
-inspectorbooltrueEnable/disable the inspector tool
-descriptionstring"Simple mcp"Project description
-claudeappbooltrueEnable/disable Claude.app integration
-autoyesbooltrueEnable/disable auto-confirmation
Example

To generate an MCP project from an OAS file, run:

ai-create-mcp -path ./myproject -name my-mcp-app -oaspath ./openapi.yaml -version 1.0.0

This command will:

  • Create a project in the ./myproject directory.
  • Name the project my-mcp-app.
  • Use the OAS file located at ./openapi.yaml.
  • Set the server version to 1.0.0.

./testdata/openapi.yml will be converted into the following tools🔧

inspector

To disable the inspector and Claude.app integration, use:

ai-create-mcp -path ./myproject -name my-mcp-app -oaspath ./openapi.yaml -inspector=false -claudeapp=false

For a fully automated run (no prompts), enable -autoyes:

ai-create-mcp -path ./myproject -name my-mcp-app -oaspath ./openapi.yaml -autoyes

Configuration

The tool relies on the provided command-line flags for configuration. Ensure that:

  • The -oaspath points to a valid OAS file (e.g., .yaml).
  • The -path directory is writable.
  • The -name adheres to valid naming conventions for your use case.

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make your changes and commit them (git commit -m "Add your feature").
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or support, please open an issue on the GitHub repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.