Kiota
БесплатноНе проверенMCP server that exposes all Kiota CLI commands as MCP tools for API client generation.
Описание
MCP server that exposes all Kiota CLI commands as MCP tools for API client generation.
README
MCP server that exposes all Kiota CLI commands as MCP tools for API client generation.
Overview
The Kiota MCP Server provides a Model Context Protocol interface to the Kiota CLI, enabling AI assistants and MCP clients to:
- 🔍 Search for API descriptions
- ⬇️ Download OpenAPI specifications
- ⚙️ Manage client configurations (add, edit, remove)
- 🚀 Generate type-safe API client code with automatic dependency detection
- ℹ️ Query language support and dependency information
Prerequisites
Before using the Kiota MCP Server, ensure you have:
- Node.js v20 LTS or higher
- MCP-compatible client (e.g., Claude Desktop, MCP Inspector)
Note: Kiota CLI is bundled as a dependency and will be installed automatically. No separate installation required.
Installation
npm install kiota-mcp
Usage
As MCP Server
Configure in your MCP client settings (e.g., Claude Desktop):
{
"mcpServers": {
"kiota": {
"command": "npx",
"args": ["kiota-mcp"]
}
}
}
Available Tools
The server exposes 7 MCP tools corresponding to Kiota CLI commands:
kiota_search- Search for API descriptionskiota_download- Download OpenAPI specificationskiota_client_add- Add new client configurationkiota_client_edit- Update existing client configurationkiota_client_generate- Generate API client code (with automatic--ebcflag)kiota_client_remove- Remove client configurationkiota_info- Query language support and dependencies
Quick Start
1. Search for an API
{
"tool": "kiota_search",
"params": {
"searchTerm": "GitHub"
}
}
2. Download OpenAPI Specification
{
"tool": "kiota_download",
"params": {
"openApiUrl": "https://api.github.com/openapi.json",
"outputPath": "./github-api-spec.json"
}
}
3. Add Client Configuration
{
"tool": "kiota_client_add",
"params": {
"clientName": "github-api",
"openApiPath": "./github-api-spec.json",
"language": "typescript",
"outputPath": "./generated/github"
}
}
4. Generate Client Code
{
"tool": "kiota_client_generate",
"params": {
"clientName": "github-api"
}
}
The tool automatically:
- Uses
--ebcflag for error-based cancellation - Runs
kiota infoto determine required dependencies - Returns installation commands for dependencies
OpenAPI Requirements
The Kiota MCP Server works with:
- ✅ OpenAPI 3.0.x and 3.1.x specifications
- ✅ JSON and YAML formats
- ✅ Local file paths or HTTPS URLs
- ⚠️ Maximum file size: 10MB
Supported Languages
- TypeScript
- JavaScript
- C#
- Java
- Python
- Go
- PHP
- Ruby
- Swift
Query available languages with:
{
"tool": "kiota_info",
"params": {}
}
Environment
The server automatically sets KIOTA_CONFIG_PREVIEW=true for all Kiota CLI operations, enabling preview features.
Development
Build
npm run build
Test
# Run all tests
npm test
# Watch mode (TDD)
npm run test:watch
# Coverage report
npm run test:coverage
Lint
npm run lint
npm run lint:fix
Documentation
Architecture
- TypeScript 5.7+ with strict mode
- Vitest for testing (TDD workflow)
- MCP SDK for protocol implementation
- Kiota CLI delegation (no reimplementation)
License
MIT
Contributing
See CONTRIBUTING.md for development guidelines.
Constitution
This project follows strict development principles documented in .specify/memory/constitution.md:
- 🎯 OpenAPI-First Architecture
- 📘 TypeScript & Modern Tooling
- 🧪 Test-Driven Development (TDD) - NON-NEGOTIABLE
- 📚 Documentation Excellence
- 👤 User-Provided Specifications
- 💻 Local MVP Server
Установка Kiota
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/sebastienlevert/kiota-mcpFAQ
Kiota MCP бесплатный?
Да, Kiota MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Kiota?
Нет, Kiota работает без API-ключей и переменных окружения.
Kiota — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Kiota в Claude Desktop, Claude Code или Cursor?
Открой Kiota на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Kiota with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
