Cover image
Try Now
2025-03-30

3 years

Works with Finder

1

Github Watches

1

Github Forks

1

Github Stars

🚀 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! 🎯

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

    Reviews

    3 (1)
    Avatar
    user_NfrsdOEC
    2025-04-16

    I've been using the api-to-curl-mcp-server created by S-Umasankar, and it has been a game-changer for converting API calls to CURL commands effortlessly. The repository on GitHub is well-documented, making it easy to integrate and get started. The tool's efficiency and reliability are remarkable, significantly improving my development workflow. Highly recommended for developers looking for seamless API to CURL conversion.