AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Mcp Rest Adapter

mcp-deepwissen-mcp-rest-adapter Β· by deepwissen

πŸš€ MCP REST Adapter - Bridge any REST API to AI agents (Claude, GPT-4) without code changes. Auto-generates AI tools from OpenAPI specs. Zero-config microservice integration for Model Context Protocol.

β€” No reviews yet
0 installs
4 views
0.0% view→install

Install

$ agentstack add mcp-deepwissen-mcp-rest-adapter

βœ“ scanned Β· βœ“ verified, works with Claude Code, Cursor, and more.

Security review

βœ“ Passed

No issues found. Passed automated security review. Β· v0.1.0 How review works β†’

  • βœ“ Prompt-injection patterns
  • βœ“ Secret / credential exfiltration
  • βœ“ Dangerous shell & filesystem operations
  • βœ“ Untrusted network calls
  • βœ“ Known-malicious package signatures

What it can access

  • ● Network access Used
  • βœ“ Filesystem access No
  • βœ“ Shell / process execution No
  • βœ“ Environment & secrets No
  • βœ“ Dynamic code execution No

From automated source analysis of v0.1.0. β€œUsed” means the capability is present in the source β€” more access means more to trust, not that it’s unsafe.

View the full security report β†’

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-deepwissen-mcp-rest-adapter)

Reliability & compatibility

βœ“ Security review passed
0 installs to date
β€” no reviews yet
β—‹ stale Β· 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work β†’
Are you the author of Mcp Rest Adapter? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MCP β†’ REST Adapter

Make your existing REST APIs instantly accessible to AI agents (Claude, GPT-4, etc.) without changing a single line of code.

πŸš€ Quick Start (5 minutes)

# Clone the repository
git clone https://github.com/deepwissen/mcp_rest_adapter.git
cd mcp_rest_adapter

# Start everything with one command
./quick_start.sh

That's it! Your REST APIs are now AI-accessible. Test it:

curl -X POST http://localhost:8000/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "tools/list", "params": {}, "id": 1}'

🎯 What This Does

The MCP Adapter acts as a bridge between AI agents and your existing microservices:

AI Agent (Claude/GPT) β†’ MCP Protocol β†’ MCP Adapter β†’ Your REST APIs

Before: Months of custom AI integration code After: 5 minutes to AI-enable your entire API ecosystem

πŸ› οΈ Manual Setup

Prerequisites

  • Docker & Docker Compose
  • Python 3.11+
  • Your REST APIs with OpenAPI/Swagger specs

Step 1: Configure Your Services

Edit docker-compose.yml to point to your services:

environment:
  - CUSTOMER_SERVICE_URL=http://your-customer-api:8080
  - ORDER_SERVICE_URL=http://your-order-api:8080
  - INVENTORY_SERVICE_URL=http://your-inventory-api:8080

Step 2: Start the Adapter

# Start with Docker Compose
docker-compose up -d

# Or run directly with Python
pip install -r requirements.txt
python -m uvicorn mcp_adapter.server:app --port 8000

Step 3: Verify It's Working

# Check health
curl http://localhost:8000/health

# List available tools (auto-generated from your APIs)
curl -X POST http://localhost:8000/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "tools/list", "params": {}, "id": 1}'

πŸ“‹ Requirements for Your APIs

Your REST APIs need:

  1. Health endpoint (/health) that returns 200 OK
  2. OpenAPI spec (/openapi.json or /swagger.json)
  3. Standard REST patterns (GET, POST, PUT, DELETE)

That's it. No code changes required.

πŸ”§ Configuration

Create a config.py file:

SERVICE_CONFIGS = {
    "customer": {
        "base_url": "http://customer-service:8001",
        "health_endpoint": "/health",
        "openapi_endpoint": "/openapi.json"
    },
    "order": {
        "base_url": "http://order-service:8002",
        "health_endpoint": "/health",
        "openapi_endpoint": "/openapi.json"
    }
}

πŸ§ͺ Testing

Run the test suite:

# Run all tests
./run_tests.py

# Run with Docker
docker-compose -f docker-compose.test.yml up

πŸ“Š What You Get

Once running, AI agents can:

  • Discover all your API endpoints automatically
  • Call any endpoint with proper parameters
  • Handle complex workflows across multiple services
  • Get structured responses in MCP format

Example: An AI agent can now say "Show me all orders for customer John Doe" and automatically:

  1. Search for the customer
  2. Get their customer ID
  3. Fetch all orders
  4. Return formatted results

🚨 Troubleshooting

Services not discovered?

  • Check your services have /health endpoints returning 200 OK
  • Verify /openapi.json is accessible

No tools generated?

  • Ensure your OpenAPI spec is valid
  • Check logs: docker-compose logs mcp-adapter

Connection errors?

  • Verify network connectivity between adapter and your services
  • Check service URLs in configuration

🀝 Contributing

We welcome contributions! Please check out our [Contributing Guide](CONTRIBUTING.md).

πŸ“ License

MIT License - see [LICENSE](LICENSE) file for details.

πŸ”— Links


Built with ❀️ to make AI integration simple

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source β€” we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.