jomasego commited on
Commit
ba88404
Β·
verified Β·
1 Parent(s): aabb49b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +55 -7
README.md CHANGED
@@ -1,12 +1,60 @@
1
  ---
2
- title: Universal Api Agent Tool
3
- emoji: πŸƒ
4
- colorFrom: green
5
- colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 5.32.1
8
- app_file: app.py
9
  pinned: false
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: UniversalAPIAgentTool
3
+ emoji: πŸš€
4
+ colorFrom: blue
5
+ colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 4.44.0
8
+ app_file: app_hf.py
9
  pinned: false
10
+ license: mit
11
+ short_description: Universal MCP tool for AI agents to access any REST API
12
+ tags:
13
+ - mcp
14
+ - hackathon
15
+ - api
16
+ - agent
17
+ - universal-tool
18
+ - rest-api
19
+ - gradio
20
  ---
21
 
22
+ # UniversalAPIAgentTool πŸš€
23
+
24
+ **Universal MCP Tool for Agents & MCP Hackathon**
25
+
26
+ A powerful Gradio-based MCP server that acts as a universal gateway for AI agents to interact with any REST API on the web.
27
+
28
+ ## 🎯 Live Demo
29
+
30
+ Use this interface to test the UniversalAPIAgentTool:
31
+
32
+ 1. **Try Real APIs**: Test with CoinGecko, GitHub, or JSONPlaceholder
33
+ 2. **Explore Features**: Test different HTTP methods and authentication
34
+ 3. **See Error Handling**: Try invalid URLs to see robust error responses
35
+ 4. **MCP Integration**: This same functionality is available as an MCP tool for AI agents
36
+
37
+ ## πŸ€– For AI Agents
38
+
39
+ This tool exposes the `execute_api_call` function via MCP, enabling AI agents to access any REST API:
40
+
41
+ ```json
42
+ {
43
+ "tool_name": "UniversalAPIAgentTool",
44
+ "function_name": "execute_api_call",
45
+ "parameters": {
46
+ "base_url": "https://api.coingecko.com",
47
+ "endpoint": "/api/v3/simple/price",
48
+ "method": "GET",
49
+ "params": {"ids": "bitcoin", "vs_currencies": "usd"}
50
+ }
51
+ }
52
+ ```
53
+
54
+ ## πŸ† Hackathon Impact
55
+
56
+ **Problem Solved**: AI agents were limited to pre-built API integrations
57
+ **Solution**: Universal access to any REST API in real-time
58
+ **Result**: Dramatically expanded AI agent capabilities
59
+
60
+ Built for the **Agents & MCP Hackathon** πŸ†