IBHack MCP Server
Uses Google Gemini AI to provide intelligent tool discovery and recommendation capabilities, analyzing user queries to suggest the most relevant Python tools from scanned directories
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@IBHack MCP Serverrecommend tools for data visualization"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
IBHack MCP Server
A Model Context Protocol (MCP) server that provides intelligent tool discovery and recommendation capabilities using Google Gemini AI. The server can scan Python directories for tool classes and recommend the most relevant tools based on user queries.
Features
Tool Discovery: Automatically scans Python directories to discover tool classes
AI-Powered Recommendations: Uses Google Gemini to recommend the most relevant tools based on user queries
HTTP Transport: Runs as an HTTP server for easy integration
Complete Code Generation: Returns full Python code for recommended tools
Related MCP server: Hermes Atlas MCP Server
Environment Variables
The following environment variables need to be set to run the MCP server:
Required
GEMINI_API_KEY: Your Google AI API key for Gemini integrationExample:
export GEMINI_API_KEY="your-api-key-here"
Optional
SCAN_DIRECTORY: Directory path to scan for tools during startupExample:
export SCAN_DIRECTORY="/path/to/your/tools"
Installation
Install Poetry (if not already installed):
curl -sSL https://install.python-poetry.org | python3 -Install dependencies:
poetry installSet environment variables:
export GEMINI_API_KEY="your-api-key-here" export SCAN_DIRECTORY="/path/to/your/tools" # Optional
Running the Server
Method 1: Direct Python execution
python server.pyMethod 2: Using Poetry
poetry run python server.pyMethod 3: Using the Poetry script
poetry run mcp-serverThe server will start on http://127.0.0.1:8000/mcp by default.
Configuration
Server Configuration
The server runs with the following default settings:
Host:
127.0.0.1Port:
8000Path:
/mcpTransport: HTTP
To modify these settings, edit the mcp.run() call in server.py:
mcp.run(transport="http", host="127.0.0.1", port=8000, path="/mcp")Tool Discovery
The server looks for Python classes that:
Have methods:
get_name(),get_description(), andexecute()Are located in
.pyfiles within the specified directoryCan optionally have
get_input_schema()andget_output_schema()methods
Available Tools
recommend_tools
Finds the most relevant tools for a given description using Gemini AI.
Parameters:
query_description(string): Description of what the user wants to dotop_k(integer, optional): Number of top tools to return (default: 2)
Returns:
Dictionary containing recommended tools with complete Python code
Success status and error information
Tool metadata (name, description, file path, class name)
Example Usage
Using the Client
import asyncio
from client import MCPClientInterface
async def main():
client = MCPClientInterface("http://127.0.0.1:8000/mcp")
# Connect to server
await client.connect()
# Get tool recommendations
result = await client.execute_tool(
"recommend_tools",
query_description="I need to process CSV data",
top_k=3
)
print(result)
await client.disconnect()
asyncio.run(main())Direct HTTP Request
curl -X POST http://127.0.0.1:8000/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "recommend_tools",
"arguments": {
"query_description": "I need to analyze data",
"top_k": 2
}
}
}'This server cannot be deployed
Maintenance
Related MCP Connectors
Independent directory of agentic AI tools — search, compare & recommend via MCP. Read-only.
Search, inspect, recommend, and explain rated AI tools through Agent Radar.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Discover, inspect and run 63,000+ agent tools from one balance. Pay per call, no subscriptions.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI-powered generation of production-ready CTP (ConveniencePro Tool Protocol) tools from natural language descriptions, including tool definitions, implementations, tests, and TypeScript validation.58 npmMIT
- AlicenseAqualityDmaintenanceEnables AI agents to search, browse, and recommend tools from the Hermes Agent ecosystem directory with zero configuration.85 npmMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to query Google AI (Gemini models) via Vertex AI or Google AI Studio with automatic tool selection, multi-turn reasoning, and multimodal input support.1065 npmApache 2.0
- FlicenseAqualityDmaintenanceEnables autonomous task execution by dynamically searching APIs, generating Python tools, and running them on-demand, with built-in web search, scraping, and file operations.3-