Yapi Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Yapi Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<div align="center">
An enhanced Model Context Protocol (MCP) server for YApi that enables seamless AI integration
Empower Claude, Cursor, and other AI tools with intelligent YApi API management capabilities
🚀 Quick Start • 🔧 Installation • 💻 Platforms • 📖 Documentation • 🤝 Contributing
</div>
| Feature | Description | Status |
|---|---|---|
| 🔍 Smart Search | Advanced API search with flexible filtering options | ✅ |
| ✏️ Interface Management | Create, read, update API interfaces seamlessly | ✅ |
| 🎯 Project Organization | Manage projects and categories efficiently | ✅ |
| 🚀 Enhanced UX | Superior error handling and user feedback | ✅ |
| ⚡ Performance | Intelligent caching and optimized requests | ✅ |
| 🛡️ Reliability | Comprehensive error handling and validation | ✅ |
| 🌐 Multi-Platform | Claude Desktop, Cursor, Continue, and more | ✅ |
| 🔄 Real-time Sync | Live synchronization with YApi changes | 🔄 |
| 📊 Analytics | Usage statistics and performance metrics | 📋 |
# Install globally
npm install -g @kedoupi/yapi-mcp
# Test your connection
npx @kedoupi/yapi-mcp test-connection<details> <summary>📦 NPM Installation</summary>
npm install -g @kedoupi/yapi-mcp</details>
<details> <summary>🧶 Yarn Installation</summary>
yarn global add @kedoupi/yapi-mcp</details>
<details> <summary>🔨 Development Installation</summary>
git clone https://github.com/kedoupi/yapi-mcp.git
cd yapi-mcp
npm install
npm run build</details>
cp .env.example .env# Required
YAPI_BASE_URL=https://your-yapi-domain.com
YAPI_PROJECT_TOKEN=your-project-token
# Optional
LOG_LEVEL=info
CACHE_TTL=300npx @kedoupi/yapi-mcp test-connection<details> <summary>Configure Claude Desktop</summary>
Add to your claude_desktop_config.json:
{
"mcpServers": {
"@kedoupi/yapi-mcp": {
"command": "npx",
"args": ["@kedoupi/yapi-mcp"],
"env": {
"YAPI_BASE_URL": "https://your-yapi-domain.com",
"YAPI_PROJECT_TOKEN": "your-project-token",
"LOG_LEVEL": "info"
}
}
}
}Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json</details>
<details> <summary>Configure Cursor</summary>
{
"name": "@kedoupi/yapi-mcp",
"command": "npx",
"args": ["@kedoupi/yapi-mcp"],
"env": {
"YAPI_BASE_URL": "https://your-yapi-domain.com",
"YAPI_PROJECT_TOKEN": "your-project-token"
}
}</details>
<details> <summary>Configure Continue</summary>
Add to .continue/config.json:
{
"mcpServers": [
{
"name": "@kedoupi/yapi-mcp",
"command": "npx",
"args": ["@kedoupi/yapi-mcp"],
"env": {
"YAPI_BASE_URL": "https://your-yapi-domain.com",
"YAPI_PROJECT_TOKEN": "your-project-token"
}
}
]
}</details>
<details> <summary>Configure Codeium</summary>
Add MCP server configuration in Codeium settings:
{
"mcp_servers": {
"yapi": {
"command": "npx",
"args": ["@kedoupi/yapi-mcp"],
"env": {
"YAPI_BASE_URL": "https://your-yapi-domain.com",
"YAPI_PROJECT_TOKEN": "your-project-token"
}
}
}
}</details>
The server supports any MCP-compatible AI tool. Check our integration guide for more platforms.
The server provides these tools for AI interaction:
| Tool | Description | Parameters |
|---|---|---|
yapi_get_projects | List available YApi projects | - |
yapi_get_categories | Get project categories | project_id |
yapi_get_interface | Get API interface details | interface_id |
yapi_search_interfaces | Search APIs with filters | project_id, catid, q, page, limit |
yapi_create_interface | Create new API interface | title, path, method, project_id, catid, ... |
yapi_update_interface | Update existing interface | id, title, path, method, ... |
yapi_clear_cache | Clear internal cache | - |
<details> <summary>🔍 Tool Details</summary>
yapi_search_interfacesAdvanced search with multiple filters:
yapi_create_interface / yapi_update_interfaceFull interface management with support for:
</details>
graph TD
A[AI Tool] -->|MCP Protocol| B[YApi MCP Server]
B -->|HTTP API| C[YApi Server]
B -->|Cache| D[Memory Cache]
B -->|Logging| E[Logger]
B -->|Config| F[Environment]# Clone repository
git clone https://github.com/kedoupi/yapi-mcp.git
cd yapi-mcp
# Install dependencies
npm install
# Development mode (watch files)
npm run dev
# Build project
npm run build
# Start server
npm start# Run all tests
npm test
# Watch mode
npm run test:watch
# Coverage report
npm run test:coverage
# Unit tests only
npm run test:unit
# Integration tests
npm run test:integration# Lint code
npm run lint
# Fix issues
npm run lint:fix
# Clean build
npm run cleanWe welcome all contributions! Here's how you can help:
Found a bug? Open an issue
Have an idea? Request a feature
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)See our Contributing Guide for detailed information.
| Feature | YApi MCP Enhanced | Original YApi MCP | Manual YApi |
|---|---|---|---|
| AI Integration | ✅ Advanced | ✅ Basic | ❌ None |
| Error Handling | ✅ Comprehensive | ⚠️ Limited | ⚠️ Manual |
| Caching | ✅ Smart TTL | ❌ None | ❌ None |
| Testing | ✅ 80%+ Coverage | ❌ None | ❌ Manual |
| TypeScript | ✅ Full Support | ⚠️ Partial | ❌ None |
| CLI Tools | ✅ Rich CLI | ❌ None | ❌ None |
This project is licensed under the MIT License.
Need help? We're here for you:
Special thanks to:
<div align="center">
If this project helps you, please give us a ⭐️
Made with ❤️ by kedoupi and contributors
🏠 Homepage • 📚 Docs • 🐛 Issues • 💬 Discussions
</div>
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.