RestAPI MCP Server
Overview
- This project will install
MCP - Model Context Protocol Server, that provides configured REST API's as context to LLM's. - Using this we can enable LLMs to do RestAPI's using prompts.
- Currently we support HTTP API Call's
GET/PUT/POST/PATCH/DELETE.
Installation
- Install package
source start.sh
Claud Desktop
- Configuration details for Claud Desktop
{ "mcpServers": { "restapi_mcp_server":{ "command": "npx", "args": ["mcp-remote","<<IP:765/sse>>","--allow-http"] } } }
- Cline
"DEMO": { "autoApprove": [ "createSession", "createEnviromentVariables", "listAllEnviromentVariables", "listSpecificEnvironmentVariable", "createRestAPICall" ], "disabled": false, "timeout": 60, "type": "stdio", "command": "npx", "args": [ "mcp-remote", "http://<<IP>>:8765/sse", "--allow-http" ] }
Configuration
- List of available environment variables
DEBUG: Enable debug logging (optional default is False)
Contributing
Contributions are welcome.
Please feel free to submit a Pull Request.
License
This project is licensed under the terms of the MIT license.
Github Stars
Appendix
UV
mkdir -m777 restapi_mcp_server
cd restapi_mcp_server
uv init
uv add mcp[cli] pydantic python-dotenv requests
uv add --dev twine setuptools
uv sync
uv run restapi_mcp_server
uv build
pip install --force-reinstall --no-deps .\dist\restapi_mcp_server-*fileversion*.whl
export TWINE_USERNAME="rahgadda"
export TWINE_USERNAME="<<API Key>>"
uv run twine upload --verbose dist/*
Reference
Metadata
Release files for restapi-mcp-server 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| restapi_mcp_server-0.0.1.tar.gz | 52.5 kB | Without provenance | Details for restapi_mcp_server-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| restapi_mcp_server-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for restapi_mcp_server-0.0.1-py3-none-any.whl |
Total release size: 125.9 kB
Release files / restapi_mcp_server-0.0.1.tar.gz
| Download URL | restapi_mcp_server-0.0.1.tar.gz |
|---|---|
| Size | 52.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aef805026aa0cc117a59d0e7510f9737a1549ab1dc8de7943157afab4fbeb3d5
|
|
BLAKE2b-256 checksum How to use checksums |
8a64343ba71b52fec06608e354b223286d5569fd3653038f0ee259a00c0148b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.12
|
Release files / restapi_mcp_server-0.0.1-py3-none-any.whl
| Download URL | restapi_mcp_server-0.0.1-py3-none-any.whl |
|---|---|
| Size | 73.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c79a92940e6ad766ad30da58a4d01c4eeef3a50ba8580d478b0d4f5fafd88cc5
|
|
BLAKE2b-256 checksum How to use checksums |
0052ed579c66267954a04cbddb05430af073f85d95f16a8278dfa7efc94fdedf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.12
|
Security for restapi-mcp-server 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.