knife4j-mcp
Verified Safeby loosheng
Overview
Provides a Model Context Protocol (MCP) server for Knife4j OpenAPI documentation, converting it to Markdown for LLM-driven batch operations and API exploration.
Installation
npx knife4j-mcpEnvironment Variables
- DOCS_URL
- PORT
Security Notes
The server fetches OpenAPI documentation from `DOCS_URL` using `ofetch`. While `DOCS_URL` is an environment variable (reducing direct user injection risk), careful control over this variable during deployment is critical to prevent Server-Side Request Forgery (SSRF) or fetching of malicious/internal content. No `eval` or obvious code obfuscation found in the provided source.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers.
DevDocs
DevDocs is a web crawling and content extraction platform designed to accelerate software development by converting documentation into LLM-ready formats for intelligent data querying and fine-tuning.
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.
mcp-openapi-server
A Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP tools, along with optional support for MCP prompts and resources, enabling Large Language Models to interact with REST APIs.