AA

apimatic/apimatic-validator-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

7 stars 12 forks 质量 51 趋势 15

APIMatic Validator MCP Server for validating OpenAPI specs via APIMatic's API with MCP

概览

This repository provides a Model Context Protocol (MCP) Server for validating OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API. - Validates OpenAPI 2.0 and 3.0 files - Uses APIMatic’s API for comprehensive validation - Supports both JSON and YAML formats - Implements Model Context Protocol (MCP) for seamless integration To use the server, an APIMatic API key is required. Sign up at APIMatic and obtain the API key. Modify the claude_desktop_config.json file to integrate the MCP server. If the file does not exist, create one in the following location: Once configured, a hammer icon should appear in Claude Desktop. Open it to verify that the validate-openapi-using-apimatic tool is successfully integrated. 1. Add an OpenAPI file. 2. Provide a prompt to validate it. 3. The validation results will be returned. APIMatic MCP Server For OpenAPI Validation.webm

README

APIMatic Validator MCP Server

This repository provides a Model Context Protocol (MCP) Server for validating OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.

Features

  • Validates OpenAPI 2.0 and 3.0 files
  • Uses APIMatic’s API for comprehensive validation
  • Supports both JSON and YAML formats
  • Implements Model Context Protocol (MCP) for seamless integration

Installation

Ensure that Node.js v18+ is installed.

Clone the Repository

git clone https://github.com/apimatic/apimatic-validator-mcp.git
cd apimatic-validator-mcp

Install Dependencies

npm install

Build the Project

npm run build

Configuration

To use the server, an APIMatic API key is required. Sign up at APIMatic and obtain the API key.

Integration with Claude Desktop

Modify the claude_desktop_config.json file to integrate the MCP server. If the file does not exist, create one in the following location:

Windows

code $env:AppData\Claude\claude_desktop_config.json

macOS/Linux

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

Add the MCP Server to the Configuration

{
    "mcpServers": {
        "APIMatic": {
            "command": "node",
            "args": [
                "C:\\PATH\\TO\\PARENT\\FOLDER\\build\\index.js"
            ],
            "env": {
                "APIMATIC_API_KEY": ""
            }
        }
    }
}

Once configured, a hammer icon should appear in Claude Desktop. Open it to verify that the validate-openapi-using-apimatic tool is successfully integrated.

Usage

  1. Add an OpenAPI file.
  2. Provide a prompt to validate it.
  3. The validation results will be returned.

APIMatic MCP Server For OpenAPI Validation.webm

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "APIMatic": { "command": "node", "args": [ "C:\\PATH\\TO\\PARENT\\FOLDER\\build\\index.js" ], "env": { "APIMATIC_API_KEY": "<Add your APIMatic token here>" } } } }