Openapi Hurl
БесплатноНе проверенSuper charge your LLM for API testing with OpenAPI and Hurl.
Описание
Super charge your LLM for API testing with OpenAPI and Hurl.
README
A powerful Model Context Protocol (MCP) server that provides tools for working with OpenAPI specifications and Hurl documentation. This server enables AI models and tools to interact with OpenAPI schemas and generate Hurl test files based on API specifications.
Table of Contents
Overview
This project is an MCP (Model Context Protocol) server built with Bun that bridges OpenAPI specifications with Hurl (HTTP scripting language), allowing for automated API testing, documentation generation, and schema inspection. It enables AI tools to dynamically load, inspect, and work with OpenAPI schemas to generate appropriate Hurl test scripts.
Features
- OpenAPI Specification Management: Load, store, and retrieve OpenAPI schemas from local files or URLs
- API Schema Inspection: List and retrieve detailed information about API schemas, routes, parameters, and security schemes
- Hurl Documentation Access: Retrieve Hurl documentation for learning and reference
- Route Inspection: List and retrieve detailed information about API endpoints, including request and response schemas
- Security Scheme Information: Access security definitions from OpenAPI specs
- Request/Response Schema Retrieval: Get specific schema information for API endpoints
- MCP Compliance: Full Model Context Protocol implementation for AI integration
Installation
Prerequisites
- Bun v1.3.0 or higher
Setup
- Clone the repository:
git clone <repository-url>
cd hurl-openapi-mcp
- Install dependencies:
bun install
Usage
To use directly with bun without compilation.
{
"mcpServers": {
"openapi-hurl": {
"command": "bun",
"args": [
"run",
"/home/oung/Projects/bun/hurl-openapi-mcp/src/index.ts"
]
}
},
}
For better testing experience, you can use hurl-test-planner custom agent or you can tweak it on your own.
Or build with bun run build, and use the output from build/index.js. Default target is bun. You can change it to node by manually edit the package.json.
The server runs over stdio by default. You can connect it to any MCP-compatible client.
Available Tools
The server provides the following MCP tools:
OpenAPI Specification Management
openapi_hurl:specifications:add- Load OpenAPI specifications from JSON or YAML files (local or remote)openapi_hurl:specifications:list- List all loaded OpenAPI specifications
Schema Operations
openapi_hurl:schemas:list- Get all schema names from a specified OpenAPI specopenapi_hurl:schemas:retrieve- Retrieve details of a specific schema from an OpenAPI spec
Security Operations
openapi_hurl:security:list- Get all security schemes from a specified OpenAPI specopenapi_hurl:security:retrieve- Retrieve details of a specific security scheme
Route Operations
openapi_hurl:routes:list- List all available routes with their HTTP methods from a specified OpenAPI specopenapi_hurl:routes:retrieve- Retrieve detailed information about a specific route/endpoint
Request/Response Schema Operations
openapi_hurl:requests:retrieve- Retrieve the request schema for a specific endpoint from an OpenAPI 3.x specificationopenapi_hurl:responses:retrieve- Retrieve the response schema for a specific endpoint from an OpenAPI 3.x specification
Hurl Documentation
openapi_hurl:hurl_document:retrieve- Retrieve Hurl documentation sections including:hurl_file: Hurl file structure and syntaxentry: Entry definitionsrequest: Request structureresponse: Response structurecapturing_response: Response capturing techniquesasserting_response: Response assertionsfilters: Available filtersgrammar: Grammar reference
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -am 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Support
For support, please open an issue in the repository.
Установка Openapi Hurl
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Oungseik/openapi-hurl-mcpFAQ
Openapi Hurl MCP бесплатный?
Да, Openapi Hurl MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Openapi Hurl?
Нет, Openapi Hurl работает без API-ключей и переменных окружения.
Openapi Hurl — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Openapi Hurl в Claude Desktop, Claude Code или Cursor?
Открой Openapi Hurl на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Openapi Hurl with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
