Kiota MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kiota MCPsearch for APIs related to petstore"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kiota MCP Server
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
Related MCP server: mcp-cli-catalog
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-mcpUsage
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 cancellationRuns
kiota infoto determine required dependenciesReturns 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 buildTest
# Run all tests
npm test
# Watch mode (TDD)
npm run test:watch
# Coverage report
npm run test:coverageLint
npm run lint
npm run lint:fixDocumentation
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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that publishes CLI tools on your machine for discoverability by LLMs81MIT
- AlicenseCqualityCmaintenanceMCP server that turns OpenAPI specs into tools and calls API175MIT
- Flicense-qualityDmaintenanceLocal MCP server that exposes fixed tools for GPT, Claude, and Gemini while routing to any OpenAI-compatible chat completions backend with independent configuration per target.1
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for Clipkit โ gives AI agents a video toolbox via the Clipkit schema.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sebastienlevert/kiota-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server