APILinter MCP Server

APILinter MCP Server

zally-mcp-server•byjbovet

An MCP server that enables LLMs to communicate with REST APIs by validating OpenAPI specifications, listing linter rules, and calculating API quality scores via API Linter.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides a tool to validate an API specification (OpenAPI/Swagger) against API Linter rules, with optional rule IDs.
  • •Provides a tool to list available API Linter rules, optionally filtered by active status.
  • •Provides a tool to calculate the quality score of an API specification with a detailed breakdown.
  • •Offers an `api_design_review` prompt that analyzes an API specification and returns structured design feedback.

BEST FOR

  • •Teams wanting to lint OpenAPI/Swagger specifications against API Linter rules through an MCP-enabled LLM.
  • •Developers seeking automated API design review feedback with a focus on areas like security, naming, or consistency.
  • •Users who need to assess API quality scores or explore available linter rule categories.

ABOUT ZALLY-MCP-SERVER

APILinter MCP Server is cataloged as an MCP server attributed to jbovet. An MCP server that enables LLMs to communicate with REST APIs by validating OpenAPI specifications, listing linter rules, and calculating API quality scores via API Linter. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for APILinter MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What MCP transport does this server use?

It uses Streamable HTTP transport and does not support SSE or STDIO transports.

Does this server manage sessions or require authentication?

It is stateless and does not implement session management; MCP authentication is marked as not necessary.

What resilience features does the server offer?

It includes retry logic and circuit breakers to handle transient failures and stop requests when the API Linter service becomes unresponsive.

Upstream README

View this exact version on GitHub

README.md · 63dfc3a2e940 · Fetched 2026-11-13 12:03:06 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

APILinter MCP Server

The OpenAPI MCP Server powers seamless communication between LLM and REST APIs by implementing the Model Context Protocol (MCP).

v2

Features

CapabilityImplementedNotes
Structured Logging✅
Metrics & Monitoring✅
Circuit Breakers✅
Retry Pattern✅
Health Checks✅
API Documentation❌Planning
Rate Limiting❌Planning
Security Controls❌
Error Handling✅
OpenTelemtry❌Planning

MCP Protocol Compliance

FeatureImplementedNotes
Protocol Specification✅v2025-03-26
MCP Authentication❌not necessary
Session Managment❌Stateless
Tools Support✅validate_api_specification list_rules calculate_api_quality_score get_rule_categories get_api_docs get_api_linter_link
Resources Support❌
Prompts Support✅api_design_review
Streamable HTTP Transport✅
SSE Transport❌not planing
STDIO Transport❌not planing
SDK Client✅https://github.com/jbovet/zally-mcp-server.git

Installation

  1. Clone the repository:
   git clone git@github.com:jbovet/zally-mcp-server.git
   cd zally-mcp-server

Project Structure:

  • src/: Contains the TypeScript source code.
    • circuitbreaker/: Circuitr breaker and retry implementation.
    • config/: Configuration files.
    • controllers/: Express controllers, including the StreamableHttp controller.
    • models/: TypeScript interfaces for data models.
    • repositories/: Data access layer for API Linter.
    • services/: Business logic for API Linter and MCP integration.
    • utils/: Utility classes, including HTTP clients and error handling.
    • target/: Compiled JavaScript files.
  • package.json: Project metadata and dependencies.
  • tsconfig.json: TypeScript configuration file.
  • curl-mcp-client.sh: Bash script to test MCP server endpoints via curl.
  • README.md: Project documentation.
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration

Environment variables:

  • PORT: Server port (default: 3000)
  • APILINTER_URL: API Linter service URL (default: http://localhost:3000)
  • RETRY_COUNT: Number of retry attempts for failed requests (default: 3)
  • CIRCUIT_BREAKER_THRESHOLD: Failure threshold to trigger the circuit breaker (default: 5)

Running the Server

NOTE: before, you need run Zally Server, you can check the doc here https://github.com/zalando/zally?tab=readme-ov-file#quick-start-guide

Start the server with:

npm run dev

The MCP Server will run in Streamable HTTP mode on endpoint: http://localhost:3000/mcp

Testing the Server

Run the tests with:

npm run test

Running the Example Client

To run the example interactive client for the MCP server, use the following command:

npx tsx example/simpleStreamableHttp.ts

This will start the interactive client, allowing you to test various commands and features of the MCP server.

> list-rules
> list-rules true
> validate-api ./my-api-spec.yaml
> validate-api-rules ./my-api-spec.json id

Tools

The MCP server provides the following tools for API Linting:

  • validate_api_specification: Validates an API specification (OpenAPI/Swagger) against API Linter rules

    • Parameters: spec (API specification content), ruleIds (optional list of rule IDs to use)
    • Returns: Validation results with violations and formatting
    • Retry Logic: Retries validation requests in case of transient failures
    • Circuit Breaker: Stops validation requests if the API Linter service becomes unresponsive
  • list_rules: Lists all available API Linter rules

    • Parameters: isActive (optional boolean to filter by active status)
    • Returns: List of available linting rules with their details
    • Retry Logic: Retries rule listing requests in case of transient failures
    • Circuit Breaker: Prevents further requests if the API Linter service exceeds failure thresholds
  • calculate_api_quality_score: Calculates the quality score of an API specification

    • Parameters: spec (API specification content)
    • Returns: Quality score with detailed breakdown
  • get_rule_categories: Retrieves the categories of API Linter rules

    • Parameters: None
    • Returns: List of rule categories

Prompts

The MCP server provides the following pre-configured prompts:

  • api_design_review: Analyzes an API specification and provides comprehensive design feedback
    • Parameters:
      • specification (API specification content in JSON or YAML format)
      • focusAreas (optional comma-separated list of areas to focus on, e.g., "security,naming,consistency")
    • Returns: Structured API design feedback including:
      • Executive summary of API purpose and design
      • Strengths identification
      • Areas for improvement (naming, consistency, error handling, security, etc.)
      • Specific recommendations for API enhancement

Security Notes

  • Implements origin validation to prevent DNS rebinding attacks
  • Uses Streamable HTTP transport in stateless mode for security
  • Only processes requests from trusted origins (localhost) in development
  • All API inputs are validated before processing
  • Retry Logic and Circuit Breaker: Enhance resilience and security by handling service failures gracefully

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Install dependencies (npm install)
  4. Make your changes
  5. Run tests to ensure they pass (npm test)
  6. Commit your changes (git commit -m 'Add some amazing feature')
  7. Push to the branch (git push origin feature/amazing-feature)
  8. Open a Pull Request

License

This project is licensed under the MIT License. See the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for APILinter MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/zally-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools