π MCP-AI: Self-Learning API-to-cURL Model
Description
# π MCP-AI: Self-Learning API-to-cURL Model This project builds an **autonomous AI system** to convert API documentation into cURL commands. ## π Features: β **Automated Dataset Generation** β **Self-Improving Model** with Reinforcement Learning β **MCP Server for API-basedβ¦
About
# π MCP-AI: Self-Learning API-to-cURL Model This project builds an **autonomous AI system** to convert API documentation into cURL commands. ## π Features: β **Automated Dataset Generation** β **Self-Improving Model** with Reinforcement Learning β **MCP Server for API-based Execution** β **Continuous Deployment withβ¦
Details
- Author
- S-Umasankar
- GitHub stars
- 1
- Downloads
- 198
- Categories
- Developer Tools
Jump to
- Automated dataset generation from API documentation
- Self-improving model with reinforcement learning
- MCP server for API-based execution
- Continuous deployment with GitHub Actions
- Packaged as an SDK via setup.py
- Includes pre- and post-training scripts (pre_train.py, post_train.py)
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
π MCP-AI: Self-Learning API-to-cURL ModelCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install dependencies with pip install -r requirements.txt, then start the MCP server by running bash scripts/start_mcp.sh. Launch the AI automation with python src/ai_autonomous_dev.py, and test the system with pytest tests/.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"\ud83d\ude80 mcp-ai: self-learning api-to-curl model": {
"api-to-curl-mcp-server": {
"command": "python",
"args": [
"src/ai_autonomous_dev.py"
]
}
}
}
}
McpServers
{
"api-to-curl-mcp-server": {
"command": "python",
"args": [
"src/ai_autonomous_dev.py"
]
}
}
π MCP-AI: Self-Learning API-to-cURL Model
This project builds an autonomous AI system to convert API documentation into cURL commands.
π Features:
β Automated Dataset Generation β Self-Improving Model with Reinforcement Learning β MCP Server for API-based Execution β Continuous Deployment with GitHub Actions---
π Quick Start:
1οΈβ£ Install dependencies:
pip install -r requirements.txt
2οΈβ£ Start MCP Server:
bash scripts/start_mcp.sh
3οΈβ£ Start AI Automation:
python src/ai_autonomous_dev.py
4οΈβ£ Test System:
pytest tests/
---
π setup.py (For Packaging SDK)
from setuptools import setup, find_packages
setup(
name="mcp_sdk",
version="1.0",
packages=find_packages(),
install_requires=[
"fastapi",
"uvicorn",
"torch",
"transformers",
"sacrebleu",
"requests",
"pytest",
"gitpython",
],
author="Your Name",
description="MCP SDK for API-to-cURL Model Automation",
license="MIT"
)
---
β Final Steps
1οΈβ£ Install dependencies
pip install -r requirements.txt
2οΈβ£ Start MCP Server
bash scripts/start_mcp.sh
3οΈβ£ Run AI Automation
python src/ai_autonomous_dev.py
4οΈβ£ Test System
pytest tests/
Fix uvicorn: command not found
The error indicates that uvicorn is not installed or not in the system path.β Solution 1: Install Uvicorn
pip install uvicorn
β Solution 2: Ensure Virtual Environment is Activated
source /Users/umasankars/PycharmProjects/CapstoneMCPserver/venv/bin/activate
pip install -r requirements.txt
β Solution 3: Explicitly Call Python for Uvicorn
Modify scripts/start_mcp.sh to:
#!/bin/bash
echo "π Starting MCP Server..."
/Users/umasankars/PycharmProjects/CapstoneMCPserver/venv/bin/python -m uvicorn src.mcp_server:app --reload
Final Steps
After applying the fixes, restart everything:
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
bash scripts/start_mcp.sh
π Now the system is fully organized and self-learning! π―Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





