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.

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

  • Khalid kalib
  • Write professional emails

  • 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
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: 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.