jomasego
Fix app_file reference and add gradio to requirements
481d18b

A newer version of the Gradio SDK is available: 5.43.1

Upgrade
metadata
title: UniversalAPIAgentTool
emoji: πŸš€
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
short_description: Universal MCP tool for AI agents to access any REST API
tags:
  - mcp
  - hackathon
  - api
  - agent
  - universal-tool
  - rest-api
  - gradio

UniversalAPIAgentTool πŸš€

Universal MCP Tool for Agents & MCP Hackathon

A powerful Gradio-based MCP server that acts as a universal gateway for AI agents to interact with any REST API on the web.

🎯 Live Demo

Use this interface to test the UniversalAPIAgentTool:

  1. Try Real APIs: Test with CoinGecko, GitHub, or JSONPlaceholder
  2. Explore Features: Test different HTTP methods and authentication
  3. See Error Handling: Try invalid URLs to see robust error responses
  4. MCP Integration: This same functionality is available as an MCP tool for AI agents

πŸ€– For AI Agents

This tool exposes the execute_api_call function via MCP, enabling AI agents to access any REST API:

{
  "tool_name": "UniversalAPIAgentTool", 
  "function_name": "execute_api_call",
  "parameters": {
    "base_url": "https://api.coingecko.com",
    "endpoint": "/api/v3/simple/price", 
    "method": "GET",
    "params": {"ids": "bitcoin", "vs_currencies": "usd"}
  }
}

πŸ† Hackathon Impact

Problem Solved: AI agents were limited to pre-built API integrations
Solution: Universal access to any REST API in real-time
Result: Dramatically expanded AI agent capabilities

Built for the Agents & MCP Hackathon πŸ†