MCP Hub Project
About
A multi-agent AI-powered research and code assistant. Requires external API keys for LLM providers, web search, and secure code execution.
Details
- Author
- CodeHalwell
- Downloads
- 317
- Categories
- Developer Tools, AI, Other
Jump to
- 5-step deep research workflow (enhancement, search, summarization, citation, combination)
- Multi-agent architecture for interconnected agent services
- Real-time web search via Tavily API
- LLM processing using Nebius (OpenAI-compatible) models
- Automatic APA-style citation generation from web sources
- MCP server implementation built on Gradio
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Hub ProjectCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install Python 3.12+, set up a virtual environment, install dependencies with pip install -r requirements.txt, create a .env file with your Nebius and Tavily API keys, then run python main.py to launch the Gradio interface at http://127.0.0.1:7860/. The MCP schema is available at /gradio_api/mcp/schema.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp hub project": {
"gradio-mcp-agent-hack": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
}
McpServers
{
"gradio-mcp-agent-hack": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
A multi-agent AI-powered research and code assistant. Requires external API keys for LLM providers, web search, and secure code execution.
title: ShallowCodeResearch emoji: π colorFrom: red colorTo: pink sdk: gradio sdk_version: 5.33.1 app_file: app.py pinned: false short_description: Coding research assistant that generates code and tests it tags:
- mcp
- multi-agent
- research
- code-generation
- ai-assistant
- gradio
- python
- web-search
- llm
- modal
- mcp-server-track python_version: '3.12'
Shallow Research Code Assistant - Multi-Agent AI Code Assistant
This is part of the MCP track for the Hackathon (with a smidge of Agents)
- Gradio for the UI and MCP logic
- Modal AI for spinning up sandboxes for code execution
- Nebius, OpenAI, Anthropic and Hugging Face can be used for LLM calls
- Nebius set by default for inference, with a priority on token speed that can be found on the platform
β€οΈA very big thank you to the sponsors for the generous credits for this hackathon and Hugging Face and Gradio for putting this event togetherπ₯
Special thanks to Yuvi for putting up with us in the Discord asking for credits π
πMulti-agent system for AI-powered search and code generation
What is the Shallow Research MCP Hub for Code Assistance?
Shallow Research Code Assistant is a sophisticated multi-agent research and code assistant built using Gradio's Model Context Protocol (MCP) server functionality. It orchestrates specialized AI agents to provide comprehensive research capabilities and generate executable Python code. This "shallow" research tool (Its definitely not deep research) augments the initial user query to broaden scope before performing web searches for grounding.
The coding agent then generates the code to answer the user question and checks for errors. To ensure the code is valid, the code is executed in a remote sandbox using the Modal infrustructure. These sandboxes are spawned when needed with a small footprint (only pandas, numpy, request and scikit-learn are installed).
However, if additional packages are required, this will be installed prior to execution (some delays expected here depending on the request).
Once executed the whole process is summarised and returned to the user.
Click the badge above to watch the complete demonstration of the MCP Demo Shallow Research Code Assistant in action
I've found that whilst using VS Code for the MCP interaction, its useful to type the main agent function name to ensure the right tool is picked.
For example "agent research request: How do you write a python script to perform scaling of features in a dataframe"
This is the JSON script required to set up the MCP in VS Code
{ "mcp": { "inputs": [], "servers": { "gradiocodeassist": { "command": "npx", "args": [ "mcp-remote", "https://agents-mcp-hackathon-shallowcoderesearch.hf.space/gradio_api/mcp/sse", ] } } }
This is the JSON script required to set up the MCP Via Cline in VS Code
{ "mcpServers": { "gradiocodeassist": { "autoApprove": [], "disabled": false, "timeout": 300, "type": "sse", "url": "https://agents-mcp-hackathon-shallowcoderesearch.hf.space/gradio_api/mcp/sse", "headers": {} } } }
- π§ Multi-Agent Architecture: Specialized agents working in orchestrated workflows
- πIntelligent Research: Web search with automatic summarization and citation formatting
- π»Code Generation: Context-aware Python code creation with secure execution
- πMCP Server: Built-in MCP server for seamless agent communication
- π―Multiple LLM Support: Compatible with Nebius, OpenAI, Anthropic, and HuggingFace (Currently set to Nebius Inference)
- π‘οΈSecure Execution: Modal sandbox environment for safe code execution
- πPerformance Monitoring: Advanced metrics collection and health monitoring
The diagram above illustrates the complete Multi-Agent workflow architecture, showing how different agents communicate through the MCP (Model Context Protocol) server to deliver comprehensive research and code generation capabilities.
- Configure your environmentby setting up API keys in the Settings tab
- Choose your LLM providerNebius Set By Default in the Space
- Input your research queryin the Orchestrator Flow tab
- Watch the magic happenas agents collaborate to research and generate code
- Question Enhancer: Breaks down complex queries into focused sub-questions
- Web Search Agent: Performs targeted searches using Tavily API
- LLM Processor: Handles text processing, summarization, and analysis
- Citation Formatter: Manages academic citation formatting (APA style)
- Code Generator: Creates contextually-aware Python code
- Code Runner: Executes code in secure Modal sandboxes
- Orchestrator: Coordinates the complete workflow
User Query: "Create Python code to analyze Twitter sentiment" β Question Enhancement: Split into focused sub-questions β Web Research: Search for Twitter APIs, sentiment libraries, examples β Context Integration: Combine research into comprehensive context β Code Generation: Create executable Python script β Secure Execution: Run code in Modal sandbox β Results: Code + output + research summary + citations
- LLM Provider(choose one):
- Nebius API (recommended)
- OpenAI API
- Anthropic API
- HuggingFace Inference API
Set these environment variables or configure in the app:
LLM_PROVIDER=nebius # Your chosen provider NEBIUS_API_KEY=your_key_here TAVILY_API_KEY=your_key_here MODAL_ID=your-id-here MODEL_SECRET_TOKEN=your-token-here
- Prototype Development: Rapidly create functional code based on requirements
- IDE Integration: Add this to your IDE for grounded LLM support
- Code Examples: Generate educational code samples with explanations
- Concept Exploration: Research and understand complex programming concepts
- Best Practices: Learn current industry standards and methodologies
- Real-time metrics collection
- Response time tracking
- Success rate monitoring
- Resource usage analytics
- Reduces redundant API calls
- Improves response times
- Configurable TTL settings
- Circuit breaker protection
- Rate limiting management
- Graceful error handling
- Automatic retry mechanisms
- Pre-warmed execution environments
- Optimized performance
- Resource pooling
- Automatic scaling
- Orchestrator Flow: Complete end-to-end workflow
- Individual Agents: Access each agent separately for specific tasks
- Advanced Features: System monitoring and performance analytics
This application demonstrates advanced MCP (Model Context Protocol) implementation:
- Server Architecture: Full MCP server with schema generation
- Function Registry: Proper MCP function definitions with typing
- Multi-Agent Communication: Structured data flow between agents
- Error Handling: Robust error management across agent interactions
- Response Times: Optimized for sub-second agent responses
- Scalability: Handles concurrent requests efficiently
- Reliability: Built-in fault tolerance and monitoring
- Resource Management: Intelligent caching and pooling
- Python: 3.12+ required
- Framework: Gradio with MCP server capabilities
- Execution: Modal for secure sandboxed code execution
- Search: Tavily API for real-time web research
- Monitoring: Comprehensive performance and health tracking
Ready to experience the future of AI-assisted research and development?
Start by configuring your API keys and dive into the world of multi-agent AI collaboration! π
This project is licensed under theMIT License.
You are free to use, modify, and distribute this software with proper attribution. See theLICENSEfile for details.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Blocker-aware decision layer for AI coding agents. Adds source-linked, time-sensitive blockers to AI technical choices β breaking changes, EOLs, lock-in, pricing shifts, and migration risk.
An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .
Instead of direct calling MCP tools, mcpcode server transforms MCP tool calls into TypeScript programs, enabling smarter, lower-latency orchestration by LLMs.
Search and evaluate MCP servers from your AI agent: quality grades, live verification status, install commands and client compatibility for 5,000+ servers.
Supercharge your Agent with Semantic Code Intelligence and save π° in the process!
AI-to-AI code review platform β Claude, Codex, and Gemini cross-check each other via MCP, REST API, and CLI for consensus-based results.
A code sandbox for AI assistants to safely execute arbitrary code. Requires a 302AI API key for authentication.
Agent-native developer Q&A API with MCP + A2A endpoints for citations, job pickup, and answer submission.
MCP server to dynamically load Claude Code skills into AI agents
MCP bridge that lets Claude Code delegate heavy tasks to the Antigravity CLI (agy) β purpose-built tools, model routing with fallback, session continuity, and output truncation to save Claude's context and tokens.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





