Cover image
Try Now
2025-03-27

Ai-Create-MCP ist ein GO-basiertes Tool, das OpenAPI-Spezifikationsdateien (OAS-Programme) in ein MCP-Programm (Modell Context Protocol) umwandelt.

3 years

Works with Finder

1

Github Watches

1

Github Forks

4

Github Stars

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:

Flag Type Default Value Description
-path string "" Directory to create the project in
-name string "" Project name
-oaspath string "" Path to the OAS file
-version string "0.1.0" Server version
-inspector bool true Enable/disable the inspector tool
-description string "Simple mcp" Project description
-claudeapp bool true Enable/disable Claude.app integration
-autoyes bool true Enable/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.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • OffchainLabs
  • GO -Umsetzung des Ethereum -Beweises des Anteils

  • huahuayu
  • Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.

  • deemkeen
  • Steuern Sie Ihren MBOT2 mit einer Power Combo: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Message Connector Protocol )服务 , 提供了与钉钉企业应用交互的 api 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • Die Cursor & Windsurf -Community finden Regeln und MCPs

    Reviews

    2 (1)
    Avatar
    user_WGM7ByBa
    2025-04-16

    I have been using the ai-create-mcp by xxlv for several months now, and it has significantly boosted my productivity. The user interface is intuitive, and the features are robust and reliable. It's evident that a lot of thought and expertise went into its development. Highly recommended for anyone looking to enhance their workflow with a powerful AI tool! Check it out here: https://github.com/xxlv/ai-create-mcp