Fake API MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Fake API MCP Server
MCP (Model Context Protocol) Server for FakeRESTApi with Streamable HTTP transport.
Features
Streamable HTTP Transport - Modern MCP transport with session management
Dynamic Tool Generation - Tools are generated at runtime from Swagger/OpenAPI specification
MCP Error Handling - Proper error responses using
McpErrorAzure Container Apps Ready - Containerized deployment with auto-scaling support
Related MCP server: mcp-openapi
Tools
The server exposes 27 tools generated from the FakeRESTApi endpoints:
Activities
list_activities- List all Activitiesget_activity- Get a single Activity by IDcreate_activity- Create a new Activityupdate_activity- Update an existing Activity by IDdelete_activity- Delete a Activity by ID
Authors
list_authors- List all Authorsget_author- Get a single Author by IDget_authors_by_book- Get Authors by book IDcreate_author- Create a new Authorupdate_author- Update an existing Author by IDdelete_author- Delete a Author by ID
Books
list_books- List all Booksget_book- Get a single Book by IDcreate_book- Create a new Bookupdate_book- Update an existing Book by IDdelete_book- Delete a Book by ID
CoverPhotos
list_coverphotos- List all CoverPhotosget_coverphoto- Get a single CoverPhoto by IDget_coverphotos_by_book- Get CoverPhotos by book IDcreate_coverphoto- Create a new CoverPhotoupdate_coverphoto- Update an existing CoverPhoto by IDdelete_coverphoto- Delete a CoverPhoto by ID
Users
list_users- List all Usersget_user- Get a single User by IDcreate_user- Create a new Userupdate_user- Update an existing User by IDdelete_user- Delete a User by ID
Installation
npm installDevelopment
# Build TypeScript
npm run build
# Start server
npm start
# Or build and start
npm run devAPI Endpoints
Method | Path | Description |
GET |
| Server info |
GET |
| Health check |
POST |
| MCP JSON-RPC requests |
GET |
| SSE stream for notifications |
DELETE |
| Terminate session |
MCP Client Configuration
Add to your MCP client configuration:
{
"mcpServers": {
"fake-api": {
"url": "http://localhost:3000/mcp",
"transport": "streamable-http"
}
}
}Azure Deployment
π Γnerilen: Azure Container Apps
MCP Server iΓ§in en uygun deployment seΓ§eneΔi Azure Container Apps'tir:
β Scale to zero (kullanΔ±lmadΔ±ΔΔ±nda maliyet yok)
β WebSocket/SSE desteΔi (MCP iΓ§in kritik)
β Otomatik ΓΆlΓ§eklendirme
1. ACR'a Image Push
# Azure'a giriΕ yap
az login
# ACR'a giriΕ yap
az acr login --name <acr-name>
# Image'Δ± build et ve push et
cd deploy
.\acr-build.ps1 -AcrName "<acr-name>" -ImageTag "latest"2. Container App OluΕturma (Manuel)
# Resource Group oluΕtur (yoksa)
az group create --name mcp-server-rg --location westeurope
# Container Apps Environment oluΕtur
az containerapp env create \
--name mcp-server-env \
--resource-group mcp-server-rg \
--location westeurope
# Container App oluΕtur
az containerapp create \
--name mcp-server \
--resource-group mcp-server-rg \
--environment mcp-server-env \
--image <acr-name>.azurecr.io/fake-api-mcp:latest \
--target-port 3000 \
--ingress external \
--min-replicas 0 \
--max-replicas 10 \
--cpu 0.5 \
--memory 1.0Gi
# ACR'a eriΕim iΓ§in identity ekle
az containerapp registry set \
--name mcp-server \
--resource-group mcp-server-rg \
--server <acr-name>.azurecr.io \
--identity systemDetaylΔ± Kurulum
DetaylΔ± kurulum adΔ±mlarΔ± iΓ§in deploy/README.md dosyasΔ±na bakΔ±n.
Mimari
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Azure Container Apps β
β (MCP Server - Node.js) β
βββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FakeRESTApi (External API) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββEnvironment Variables
Variable | Description | Default |
| Server port | 3000 |
| Environment | production |
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
AI-callable tools for API mocking, testing, monitoring, security, and automation.
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Email inboxes, webhooks, mock APIs, 2FA codes, approvals and 170 tools for AI agents.
Discover, compare, route, and execute machine-accessible capabilities for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides seamless access to the Fake Store API for AI assistants with 18 CRUD tools for managing e-commerce data including products, carts, and users. Perfect for e-commerce demos, testing, and learning MCP development with zero configuration required.1813 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover, search, and call any REST API described by an OpenAPI or Swagger document. Supports multiple API endpoints with authentication and parameter handling.34 npmMIT
- FlicenseAqualityDmaintenanceDynamically fetches and exposes OpenAPI/Swagger documentation as tools for AI assistants, enabling them to explore and interact with any REST API.31-
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to interact with generated REST APIs by discovering and using CRUD tools and read-only data resources.MIT