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

Openapi Slice MCP

MCP server that extracts relevant portions of OpenAPI specs for specific endpoints, reducing context size when working with large API specifications

Unclaimed MIT last commit a year ago devtools
47Fair

Scored 7 days ago · breakdown

About Openapi Slice MCP

Openapi Slice MCP is an MCP server published by vvarp in the Developer Tools category: mCP server that extracts relevant portions of OpenAPI specs for specific endpoints, reducing context size when working with large API specifications.

The repository has 2 stars and 1 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 before depending on it in production.

Install

From source
git clone https://github.com/vvarp/openapi-slice-mcp

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 Slice MCP

Powered by Claude · Grounded in docs

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

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.2.1Release v0.2.1 · 24 Oct 2025Full Changelog: https://github.com/vvarp/openapi-slice-mcp/compare/v0.2.0...v0.2.1
v0.2.0Release v0.2.0 · 24 Oct 2025Full Changelog: https://github.com/vvarp/openapi-slice-mcp/compare/v0.1.1...v0.2.0
v0.1.1Release v0.1.1 · 29 Jul 2025Full Changelog: https://github.com/vvarp/openapi-slice-mcp/compare/v0.1.0...v0.1.1
v0.1.0v0.1.0 · 29 Jul 2025Initial release

README

OpenAPI Slice MCP Server

An MCP (Model Context Protocol) server that helps you work with large OpenAPI specifications by extracting only the relevant portions for specific endpoints. This is particularly useful when working with LLMs that have context limitations - instead of loading an entire large OpenAPI spec, you can extract just the parts you need for a specific endpoint.

Features

  • Endpoint-specific extraction: Get minimal OpenAPI specs containing only the requested endpoint and its dependencies
  • Automatic dependency resolution: Recursively finds and includes all referenced components (schemas, parameters, etc.)
  • Multiple formats: Output in YAML or JSON format
  • File support: Load OpenAPI specs from local YAML or JSON files
  • Remote support: Fetch OpenAPI specs directly from URLs (HTTP/HTTPS)
  • Discovery tools: List all available endpoints in a loaded specification

Tools

The server provides the following MCP tools:

  • load_openapi_spec(file_path: str) - Load an OpenAPI specification from a local YAML or JSON file
  • load_openapi_spec_from_url(url: str, timeout: int = 30) - Load an OpenAPI specification from a remote URL
  • list_endpoints() - List all available endpoints in the currently loaded specification
  • extract_endpoint_slice(path: str, method: str, output_format: str = "yaml") - Extract a minimal spec slice for a specific endpoint
  • get_server_status() - Get the current status of the server

Usage

Running the Server

Stdio Mode (Default)

For local development and Claude Desktop integration:

uvx openapi-slice-mcp

The server runs using the STDIO transport and can be integrated with any MCP client.

HTTP Mode

For Smithery deployment or remote access:

# Using the dedicated HTTP entry point (runs on port 8000 by default)
uvx openapi-slice-mcp-http

# Or using the main entry point with --transport flag
uvx openapi-slice-mcp --transport http --host 0.0.0.0 --port 8000

The HTTP server exposes the MCP protocol at http://host:port/mcp.

README fetched from the repository 7 days ago. The original is authoritative.

Questions

About Openapi Slice MCP

How do I install Openapi Slice MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

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

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

Is Openapi Slice MCP still maintained?

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