技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
Muhammed-AbdelGhany/rest_api_mcp

Muhammed-AbdelGhany/rest_api_mcp

在 GitHub 查看 ↗直链 · 无中转页
官方说明📇 🏠 🍎 🪟 🐧 - Authenticated ca
配置模板(请按你的客户端调整)
claude mcp add rest-api-mcp -- npx -y rest_api_mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
6 ★ · Muhammed-AbdelGhany/rest_api_mcp · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 6 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 Muhammed-AbdelGhany/rest_api_mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

rest-api-mcp

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

> A Model Context Protocol (MCP) server for authenticated REST APIs.
> Drop it into any project, point it at your API, and let AI agents call endpoints — with **auto-login**, **2FA support**, **Swagger spec fetch**, and **fuzzy endpoint search** — all without writing a single line of auth code.
---
Table of Contents
- Features
- Installation
- Quick Start
- Configuration
- Tools
- search_endpoints
- describe_endpoint
- request
- fetch_spec
- inspect_login
- Authentication Flows
- Standard login
- Login with extra credentials
- Two-factor authentication (2FA)
- Multi-API Setup
- VS Code mcp.json Examples
- How It Works
- Environment Variables Reference
- Troubleshooting
---
Features
| Capability | Description |
|---|---|
| **Auto-login** | Logs in automatically before every request; re-logins when token expires |
| **Token caching** | 20-second TTL cache — survives rapid sequential calls |
| **Auto-discovery** | Finds the login endpoint by scanning the Swagger spec (no config needed) |
| **Auto token detection** | Tries 9 common token paths (data.access_token, accessToken, token, …) |
| **AI-driven token detection** | inspect_login tool exposes raw responses + heuristic suggestions so the AI can pick the exact token path |
| **2FA / OTP support** | Two-step auth: login → verify-otp, session identifiers forwarded automatically |
| **Custom session fields** | Override hardcoded session candidates via verify_session_fields in request() |
| **Extra login fields** | source, userRole, channel, device_id — any field, via JSON env var |
| **Fuzzy endpoint search** | Find endpoints by keyword across path, summary, description, tags, operationId |
| **Swagger spec fetch** | Retrieve and inspect the full OpenAPI spec |
| **SSL bypass** | Optional for staging/dev environments with self-signed certs |
| **Response truncation** | Configurable size limit to keep responses in context |
---
Installation
Option A — Use via npx (recommended)
No installation needed. Add this to your project's .vscode/mcp.json and VS Code will download and run the package automatically:
This always uses the latest published version from npm. See VS Code mcp.json Examples for a full config.
Option B — Use locally (for development / offline)
Then point VS Code at the local build:
---
Quick Start
Add this to your project's .vscode/mcp.json:
That's it. The agent can now:
1. Search for endpoints by keyword
2. Call any endpoint with automatic authentication
3. Fetch the full OpenAPI spec for schema inspection
---
Configuration
All configuration is done via environment variables in mcp.json. No code changes required.
Minimum required
| Variable | Description |
|---|---|
| REST_BASE_URL | Base URL of the API (no trailing slash) |
| API_EMAIL | Login email |
| API_PASSWORD | Login password |
Strongly recommended
| Variable | Description |
|---|---|
| API_SWAGGER_URL | OpenAPI/Swagger JSON URL — enables fetch_spec, search_endpoints, and auto-login-endpoint discovery |
Optional
See Environment Variables Reference for the full list.
---
Tools
search_endpoints
Fuzzy-search the API spec by keyword. Returns matching endpoints with method, path, summary, tags, and required parameters. **Use this before request when you don't know the exact path.**
**Input:**
| Field | Type | Required | Description |
|---|---|---|---|
| query | string | ✅ | Keywords to search for |
| limit | number | ❌ | Max results (default: 10) |
**Example — Find order-related endpoints:**
**Response:**
---
describe_endpoint
Returns the full OpenAPI schema for a **single endpoint**: parameters, request body schema (with types, required flags, enums, examples), response schemas, and a **generated example request body**. Use this before request() when you need to know exactly what fields to include in the body or what response shape to expect.
**Input:**
| Field | Type | Required | Description |
来源
awesome · https://github.com/Muhammed-AbdelGhany/rest_api_mcp
按领域浏览
MCP 服务
Traction
6 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引