MCP cover image
See in Github
2025-03-30

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.

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

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

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

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

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

  • 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.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • 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

  • modelcontextprotocol
  • Servidores de protocolo de contexto modelo

  • 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.

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

    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.