1. Conduid
  2. Developer Tools
  3. Openapi MCP Server
MCP server · Developer Tools

Openapi MCP Server

MCP server for OpenAPI

Unclaimed MIT last commit a year ago devtools
49Fair

Scored 4 months ago · breakdown

About Openapi MCP Server

Openapi MCP Server is an MCP server published by oneWalker in the Developer Tools category: mCP server for OpenAPI. It has been installed 0 times through Conduid.

The repository has 2 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx openapi-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Openapi MCP Server

Powered by Claude · Grounded in docs

I know everything about Openapi MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

OpenAPI MCP Server

A Quick Way to Create an MCP Server with StreamableHTTP transport implementation from OpenAPI docs.

Overview

This server provides a standardized way to interact with model services through a RESTful API interface. It implements the Model Context Protocol (MCP) and is designed to be easily configurable. Simply set up your .env file, and the server is ready to run.

It implements the Model Context Protocol (MCP) specification and supports OpenAPI documentation.

Features

  • OpenAPI 3.0.0 compliant API documentation
  • Model service API documentation retrieval
  • Model service invocation with parameter handling
  • TypeScript implementation for type safety

Prerequisites

  • Node.js (v20 or higher)
  • npm (v6 or higher)

Quick Start

  1. Clone the repository:

    git clone https://github.com/oneWalker/openapi-mcp-server.git
    cd openapi-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Configure your environment: Create a .env file in the project root and add your configuration. See the Configuration section for details.

  4. Run the server:

    npm run build
    npm run start
    

Installation

  1. Clone the repository
  2. Install dependencies:
npm install

Development

Building the Project

npm run build

Running in Development Mode

npm run watch

Starting the Server

npm  run start

Configuration

Create a .env file in the root of the project to configure the server.

# The base URL for the original API server
BASE_SERVER_URL= https://api.example.com

# The path to the OpenAPI specification file (can be a local file or a URL).
OPENAPI_PATH=./example.yaml or ./example.json # example.yaml is just for demo

# The port for the MCP server to run on
PORT=8000

API Endpoints

Get Model Service API Documentation

GET /api/model/services/{ID}

Retrieves the API documentation for a specific model service.

Parameters:

  • ID (path, required): Model service ID
  • authorization (header, required): Bearer token for authentication

Call Model Service

POST /api/model/services/

Invokes a specific model service with provided parameters.

Parameters:

  • id (path, required): Model service ID

Request Body:

{
  "id": "123"
}

Project Structure

openapi-mcp-server/
├── src/              # Source code
├── build/            # Compiled JavaScript files
├── example.yaml # OpenAPI specification
├── package.json      # Project configuration
└── tsconfig.json     # TypeScript configuration

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Please see the CONTRIBUTING.md file for details on our code of conduct, and the process for submitting pull requests to us.

Reporting Issues

We use GitHub Issues to track public bugs. Report a bug by opening a new issue; it's that easy!

Dependencies

  • openapi-mcp-generator: OpenAPI specification generator
    • Note: This project requires a pending fix from the openapi-mcp-generator library. See this pull request.
  • @modelcontextprotocol/sdk: MCP SDK for protocol implementation
  • express: Web framework
  • dotenv: Environment variable management
  • got: HTTP client

Development Dependencies

  • TypeScript
  • @types/express
  • @types/node

License

MIT License - See LICENSE file for details

Authors

README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About Openapi MCP Server

How do I install Openapi MCP Server?

Run npx openapi-mcp-server, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Openapi MCP Server safe to use with an AI agent?

Its trust score is 49 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Openapi MCP Server still maintained?

The last commit was a year ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.