Back to Home
rahgadda icon

restapi_mcp_server

by rahgadda

Overview

Enable LLMs to perform REST API calls by providing a Model Context Protocol (MCP) server that orchestrates HTTP requests and manages session/environment variables.

Installation

Run Command
docker run --name restapi-mcp-server -p 9090:9090 -p 8765:8765 -v "./storage:/app/storage" -v "./logs:/app/logs" ghcr.io/rahgadda/restapi_mcp_server:0.0.1

Environment Variables

  • DEBUG
  • HOST
  • API_PORT
  • MCP_API_PORT
  • LOG_LEVEL
  • STORAGE
  • HTTP_PROXY
  • HTTPS_PROXY
  • NO_PROXY
  • DEFAULT_HTTP_TIMEOUT
  • UVICORN_RELOAD
  • ENABLE_ERROR_LOG_MW

Security Notes

The `createRestAPICall` tool allows an LLM to specify an arbitrary URL (via the `url` parameter) for an HTTP request without any explicit URL validation, allow-listing, or sanitization. This is a significant Server-Side Request Forgery (SSRF) vulnerability. If the server is deployed in an environment with access to internal networks, a malicious or confused LLM prompt could lead to unauthorized access to internal services. Additionally, data is persisted to local CSV files (`environment.csv`, `transaction.csv`), which is not robust against concurrent access, data corruption, or secure storage requirements. No hardcoded secrets were found in the application source code.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2026-01-19

Tags

LLMREST APIOrchestrationAI ToolingMCP Server