Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ฐ Finance & Fintech
  3. Rest API MCP
Rest API MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 7:19:19 PM

Rest API MCP

User RatingsBe the first to rate and review this MCP server!
View Repository6 GitHub StarsTotal stargazers on GitHub for the source repository (6 stars).Visit Website
rest-apiauthenticationopenapideveloper-tools

MCP server for authenticated REST API calls with automatic login, token caching, 2FA, Swagger discovery, and endpoint search.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
We couldnโ€™t automatically confirm this listing starts correctly

We ran the install command below but it didn't respond within our test window โ€” this can mean a slow first-time install rather than a real problem.

npx -y rest-api-mcp

No response to initialize.

This is an experimental automated check and can have false negatives โ€” missing environment variables, a slow cold install, etc. It doesnโ€™t necessarily mean somethingโ€™s wrong. Last checked 1mo ago.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "muhammed-abdelghany-rest-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "rest-api-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (5) Directory Badge Claim listing Alternatives๐Ÿ’ฐ More in Finance & Fintech

Overview

This server lets AI agents discover and call endpoints in a REST API without custom authentication code. It can authenticate automatically, cache tokens, support OTP flows, inspect OpenAPI specifications, and search endpoints by keywords. Use it when an API exposes login credentials and optionally an OpenAPI or Swagger JSON document.

Use cases

โ€ขSearch an OpenAPI specification for relevant endpoints
โ€ขInspect endpoint schemas before constructing requests
โ€ขCall authenticated REST endpoints
โ€ขHandle login and OTP verification flows
โ€ขFetch and inspect a full Swagger specification

Key features

โ€ขAutomatic login and token refresh
โ€ข20-second token caching
โ€ขOpenAPI-based login endpoint discovery
โ€ขTwo-factor authentication and OTP support
โ€ขFuzzy endpoint search
โ€ขConfigurable response truncation and SSL bypass

Capabilities & Tool Schemas (5) ~235 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Rest API MCP.

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.**

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โ€ฆ

request

Make an authenticated API call. Handles login automatically โ€” re-logins transparently if the token is expired.

inspect_login

Performs the login flow (and optional 2FA verify) and returns the **raw server responses** without extracting a token. Also returns **heuristic suggestions** for:

fetch_spec

Fetch the full OpenAPI/Swagger JSON spec for schema inspection, DTO discovery, or understanding available endpoints.

Documentation Overview

rest-api-mcp

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

CapabilityDescription
Auto-loginLogs in automatically before every request; re-logins when token expires
Token caching20-second TTL cache โ€” survives rapid sequential calls
Auto-discoveryFinds the login endpoint by scanning the Swagger spec (no config needed)
Auto token detectionTries 9 common token paths (data.access_token, accessToken, token, โ€ฆ)
AI-driven token detectioninspect_login tool exposes raw responses + heuristic suggestions so the AI can pick the exact token path
2FA / OTP supportTwo-step auth: login โ†’ verify-otp, session identifiers forwarded automatically
Custom session fieldsOverride hardcoded session candidates via verify_session_fields in request()
Extra login fieldssource, userRole, channel, device_id โ€” any field, via JSON env var
Fuzzy endpoint searchFind endpoints by keyword across path, summary, description, tags, operationId
Swagger spec fetchRetrieve and inspect the full OpenAPI spec
SSL bypassOptional for staging/dev environments with self-signed certs
Response truncationConfigurable 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:

config.json
{
  "command": "npx",
  "args": ["-y", "rest-api-mcp"]
}

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)

bash
git clone https://github.com/Muhammed-AbdelGhany/rest_api_mcp
cd rest_api_mcp
npm install && npm run build

Then point VS Code at the local build:

config.json
{
  "command": "node",
  "args": ["/path/to/rest_api_mcp/build/index.js"]
}

Quick Start

Add this to your project's .vscode/mcp.json:

config.json
{
  "servers": {
    "my-api": {
      "command": "npx",
      "args": ["-y", "rest-api-mcp"],
      "env": {
        "REST_BASE_URL": "https://api.example.com/api/v1",
        "API_EMAIL": "user@example.com",
        "API_PASSWORD": "yourpassword",
        "API_SWAGGER_URL": "https://api.example.com/docs-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

VariableDescription
REST_BASE_URLBase URL of the API (no trailing slash)
API_EMAILLogin email
API_PASSWORDLogin password

Strongly recommended

VariableDescription
API_SWAGGER_URLOpenAPI/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:

FieldTypeRequiredDescription
querystringโœ…Keywords to search for
limitnumberโŒMax results (default: 10)

Example โ€” Find order-related endpoints:

Code
search_endpoints("orders list customer")

Response:

Code
Found 6 match(es) for "orders list customer", showing top 5:

1. GET /customers/{id}/orders
   Summary: List all orders for a customer
   Tags: Orders, Customers
   Required params: path:id

2. GET /orders
   Summary: List orders with optional filters
   Tags: Orders
   Required params: query:status, query:page

3. POST /orders/search
   Summary: Search orders by multiple criteria
   Tags: Orders
   Required params: body
...

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:

FieldTypeRequiredDescription
methodstringโœ…GET, POST, PUT, PATCH, DELETE
endpointstringโœ…Path relative to REST_BASE_URL, e.g. /inspections

Example โ€” Inspect a POST endpoint before calling it:

Code
describe_endpoint("POST", "/pharmacy/add-manager")

Response:

config.json
{
  "method": "POST",
  "path": "/pharmacy/add-manager",
  "summary": "Add a manager to a pharmacy",
  "parameters": [
    { "name": "pharmacyId", "in": "path", "required": true, "type": "string" }
  ],
  "requestBody": {
    "contentType": "application/json",
    "schema": {
      "type": "object",
      "properties": {
        "first_name": { "type": "string", "required": true },
        "email": { "type": "string", "required": true },
        "gender": { "type": "string", "enum": ["male", "female"], "required": true },
        "start_date": { "type": "string", "format": "date-time", "required": true }
      }
    },
    "example": {
      "first_name": "First name",
      "email": "manager@example.com",
      "gender": "male",
      "start_date": "2026-05-04T12:00:00Z"
    }
  },
  "responses": {
    "201": {
      "description": "Manager added successfully",
      "schema": { "type": "object", "properties": { "id": { "type": "number" } } },
      "example": { "id": 42 }
    }
  }
}

The AI can now call request() with the exact body shape, no guessing required.


request

Make an authenticated API call. Handles login automatically โ€” re-logins transparently if the token is expired.

Input:

FieldTypeRequiredDescription
methodstringโœ…GET, POST, PUT, PATCH, DELETE
endpointstringโœ…Path relative to REST_BASE_URL, e.g. /users/profile
bodyobjectโŒRequest body for POST/PUT/PATCH
headersobjectโŒExtra headers to merge
skip_authbooleanโŒSet true to skip the Authorization header
token_pathstringโŒDot-notation path to the token in the login/verify response (e.g. data.result.accessToken). Overrides auto-detection and is cached for re-logins.
verify_session_fieldsobjectโŒMap of verify-body field names โ†’ dot-notation paths in the step-1 login response. Example: {"sessionId": "data.result.sessionId"}. Overrides hardcoded candidates and is cached for re-logins.

Response shape:

config.json
{
  "status": 200,
  "statusText": "OK",
  "timing_ms": 312,
  "login_data": { ... },
  "response": { ... }
}

login_data contains the full login response โ€” useful for IDs like userId, orgId, tenantId returned at login that you need for subsequent requests.

Example โ€” GET current user profile:

Code
request("GET", "/users/me")

Example โ€” POST with filters:

Code
request("POST", "/orders/search", {
  "status": "pending",
  "from": "2025-01-01",
  "limit": 20
})

Example โ€” PATCH to update a resource:

Code
request("PATCH", "/products/42", {
  "price": 9.99,
  "inStock": true
})

Example โ€” Public endpoint (no auth):

Code
request("GET", "/health", skip_auth=true)

Example โ€” Custom token path (when auto-detection fails):

Code
request("GET", "/orders", token_path="result.data.jwtToken")

Example โ€” Custom 2FA session fields:

Code
request("GET", "/orders",
  token_path="data.result.accessToken",
  verify_session_fields={"sessionId": "data.result.sessionId", "requestToken": "data.result.requestToken"}
)

inspect_login

Performs the login flow (and optional 2FA verify) and returns the raw server responses without extracting a token. Also returns heuristic suggestions for:

  • Token paths (fields that look like JWTs or long auth strings)
  • Session fields (fields that look like session identifiers for 2FA verify)

Use this when auto-detection fails so the AI can identify the correct token_path and verify_session_fields to pass to request().

No input required.

Example โ€” when request() fails with "Could not find token":

Code
inspect_login()

Response:

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • Brazilian Central Bank (BCB) MCP logoBrazilian Central Bank (BCB) MCP
    Verified

    MCP server for the Brazilian Central Bank (Banco Central do Brasil): SGS time series (Selic, IPCA, exchange rates, GDP and 139 curated, source-verified indicators), the Focus market-expectations survey and PTAX official exchange rates. 15 tools, 3 resources and 3 prompts, with provenance metadata on every response. Runs locally via npx (stdio) or through the hosted endpoint at https://bcb.sidneybissoli.com/mcp โ€” no API key or signup required.

    ๐Ÿ’ฐ Finance & Fintech7 views
    Compare vs Brazilian Central Bank (BCB) MCP โ†’
  • MCP Polygon) logoMCP Polygon)

    ) ๐Ÿ โ˜๏ธ - An MCP server that provides access to Polygon.io financial market data APIs for stocks, indices, forex, options, and more.

    ๐Ÿ’ฐ Finance & Fintech3 views
    Compare vs MCP Polygon) โ†’
  • MCP Klever Vm logoMCP Klever Vm

    Klever blockchain MCP server for smart contract development, on-chain data exploration, account and asset queries, transaction analysis, and contract deployment tooling.

    ๐Ÿ’ฐ Finance & Fintech3 views
    Compare vs MCP Klever Vm โ†’
  • Sharplens MCP logoSharplens MCP

    โƒฃ ๐Ÿ  - 58 semantic C/.NET analysis tools via Roslyn. Navigation, refactoring, find usages, and code intelligence for AI agents.

    ๐Ÿ’ฐ Finance & Fintech4 views
    Compare vs Sharplens MCP โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
6
Stargazers on the source repository.
npm downloads
74
Package downloads in the last 30 days.
Last commit
4mo ago
Most recent push to the default branch.
Install check
Inconclusive
Didn't respond in our test window โ€” often a slow first install.
Tools exposed
5
Callable tools this server registers over MCP.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Rest API MCP

Set REST_BASE_URL, API_EMAIL, and API_PASSWORD. API_SWAGGER_URL is strongly recommended for specification features and login endpoint discovery.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRest API MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/muhammed-abdelghany-rest-api-mcp?style=directory)](https://allmcps.com/mcp/muhammed-abdelghany-rest-api-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/muhammed-abdelghany-rest-api-mcp"><img src="https://allmcps.com/api/badge/muhammed-abdelghany-rest-api-mcp?style=directory" alt="Rest API MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ฐFinance & Fintech
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
AuthOther
Last updatedAug 9, 2026
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars6
GitHub Star CountTotal stargazers on GitHub representing community popularity (6 stars).
Last commit4mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on May 4, 2026
npm downloads74/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
56Quality signal: Good ยท 56/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools28/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 27d ago via OSV.dev ยท rest-api-mcp (npm)

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ฐ Finance & Fintech โ†’Best MCP servers for Finance & Fintech โ†’Alternatives to Rest API MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code