# apimatic-validator-mcp

> MCP Server

This repository provides an MCP server that validates OpenAPI specifications using the APIMatic API, supporting both JSON and YAML formats, and integrating seamlessly with Claude Desktop for validation summaries.

## Overview

- **Category:** Developer Tools
- **Language:** TypeScript
- **Stars:** 7
- **Forks:** 1
- **Owner:** apimatic
- **GitHub:** https://github.com/apimatic/apimatic-validator-mcp
- **Created:** 2025-03-19T10:35:22+00:00
- **Updated:** 2025-03-19T11:57:28+00:00
- **Source:** https://model-context-protocol.com/servers/openapi-validator-mcp-server-apimatic-api

## Setup

## Setup

Ensure that **Node.js v18+** is installed.

### Clone the Repository
```sh
git clone https://github.com/apimatic/apimatic-validator-mcp.git
cd apimatic-validator-mcp
```

### Install Dependencies
```sh
npm install
```

### Build the Project
```sh
npm run build
```

To use the server, an APIMatic API key is required; sign up at [APIMatic](https://www.apimatic.io/) 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 specified location for Windows or macOS/Linux.

#### Windows
```sh
code $env:AppData\Claude\claude_desktop_config.json
```

#### macOS/Linux
```sh
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
```

### Add the MCP Server to the Configuration
```json
{
    "mcpServers": {
        "APIMatic": {
            "command": "node",
            "args": [
                "C:\\PATH\\TO\\PARENT\\FOLDER\\build\\index.js"
            ],
            "env": {
                "APIMATIC_API_KEY": "<Add your APIMatic token here>"
            }
        }
    }
}
```

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

## Tools

## Available Tools

1.  Validates OpenAPI 2.0 and 3.0 files (Validates OpenAPI specifications).
2.  Uses APIMaticâs API for comprehensive validation (Leverages APIMatic's API for validation).
3.  Supports both JSON and YAML formats (Supports different file formats).
4.  Implements Model Context Protocol (MCP) for seamless integration (Integrates using MCP).
