LW MCP Agents
Provides web search capabilities through Brave's search engine, allowing agents to retrieve information from the internet
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
๐ LW MCP Agents
LW MCP Agents is a lightweight, modular framework for building and orchestrating AI agents using the Model Context Protocol (MCP). It empowers you to rapidly design multi-agent systems where each agent can specialize, collaborate, delegate, and reasonโwithout writing complex orchestration logic.
Build scalable, composable AI systems using only configuration files.
๐ Why Use LW MCP Agents?
โ Plug-and-Play Agents: Launch intelligent agents with zero boilerplate using simple JSON configs.
โ Multi-Agent Orchestration: Chain agents together to solve complex tasksโno extra code required.
โ Share & Reuse: Distribute and run agent configurations across environments effortlessly.
โ MCP-Native: Seamlessly integrates with any MCP-compatible platform, including Claude Desktop.
Related MCP server: code-mode-toon
๐ง What Can You Build?
Research agents that summarize documents or search the web
Orchestrators that delegate tasks to domain-specific agents
Systems that scale reasoning recursively and aggregate capabilities dynamically
๐๏ธ Architecture at a Glance
๐ Table of Contents
๐ Getting Started
๐ง Installation
git clone https://github.com/Autumn-AIs/LW-MCP-agents.git
cd LW-MCP-agents
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtโถ๏ธ Run Your First Agent
python src/agent/agent_runner.py --config examples/base_agent/base_agent_config.json๐ค Try a Multi-Agent Setup
Terminal 1 (Research Agent Server):
python src/agent/agent_runner.py --config examples/orchestrator_researcher/research_agent_config.json --server-modeTerminal 2 (Orchestrator Agent):
python src/agent/agent_runner.py --config examples/orchestrator_researcher/master_orchestrator_config.jsonYour orchestrator now intelligently delegates research tasks to the research agent.
๐ฅ๏ธ Claude Desktop Integration
Configure agents to run inside Claude Desktop:
1. Locate your Claude config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
2. Add your agent under mcpServers:
{
"mcpServers": {
"research-agent": {
"command": "/bin/bash",
"args": ["-c", "/path/to/venv/bin/python /path/to/agent_runner.py --config=/path/to/agent_config.json --server-mode"],
"env": {
"PYTHONPATH": "/path/to/project",
"PATH": "/path/to/venv/bin:/usr/local/bin:/usr/bin"
}
}
}
}๐ฆ Example Agents
Base Agent
A minimal agent that connects to tools via MCP.
๐examples/base_agent/Orchestrator + Researcher
Demonstrates hierarchical delegation and capability sharing.
๐examples/orchestrator_researcher/
๐ก Contribute your own example! Submit a PR or reach out to the maintainers.
โ๏ธ Running Agents
๐น Basic Command
python src/agent/agent_runner.py --config <your_config.json>๐ธ Advanced Options
Option | Description |
| Exposes the agent as an MCP server |
| Assigns a custom MCP server name |
๐ ๏ธ Custom Agent Creation
๐งฑ Minimal Config
{
"agent_name": "my-agent",
"llm_provider": "groq",
"llm_api_key": "YOUR_API_KEY",
"server_mode": false
}๐ง Adding Capabilities
Define specialized functions the agent can reason over:
"capabilities": [
{
"name": "summarize_document",
"description": "Summarize a document in a concise way",
"input_schema": {
"type": "object",
"properties": {
"document_text": { "type": "string" },
"max_length": { "type": "integer", "default": 200 }
},
"required": ["document_text"]
},
"prompt_template": "Summarize the following document in {max_length} words:\n\n{document_text}"
}
]๐ Orchestrator Agent
{
"agent_name": "master-orchestrator",
"servers": {
"research-agent": {
"command": "python",
"args": ["src/agent/agent_runner.py", "--config=research_agent_config.json", "--server-mode"]
}
}
}๐งฌ How It Works
๐งฉ Capabilities as Reasoning Units
Each capability:
Fills in a prompt using provided arguments
Executes internal reasoning using LLMs
Uses tools or external agents
Returns the result
๐ Research Example
[INFO] agent:master-orchestrator - Executing tool: research_topic
[INFO] agent:research-agent - Using tool: brave_web_search
[INFO] agent:research-agent - Finished capability: research_topic๐งฑ Technical Architecture
๐ง Key Components
Component | Role |
| Starts, configures, and runs an agent |
| Wraps the agent to expose it over MCP |
| Loads reasoning tasks from config |
| Discovers tools from other agents |
๐ Architecture Highlights
Hierarchical Design: Compose systems of agents with recursive reasoning
Delegated Capabilities: Agents delegate intelligently to peers
Tool Sharing: Tools available in one agent become accessible to others
Code-Free Composition: Create entire systems via configuration
๐ Acknowledgements
This project draws inspiration from the brilliant work on mcp-agents by LastMile AI.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
Build, validate, and deploy multi-agent AI solutions from any AI environment.
The operating system for self-organised AI agent teams.
LLM Orchestration Agent (Mcp)
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseAqualityFmaintenanceA communication framework that enables multiple AI agents to collaborate through asynchronous messaging, agent registration, and discovery. It facilitates complex task coordination and real-time discussion across distributed agent workflows using the Model Context Protocol.911MIT
- AlicenseAqualityDmaintenanceA lightweight Model Context Protocol (MCP) orchestrator designed for efficiency at scale. It features TOON compression (reducing token usage by 30-90%) and Lazy Loading, making it the ideal solution for complex, multi-tool agentic workflows.94 npm13MIT
- AlicenseNot gradedqualityDmaintenanceOrchestrates AI agents through structured markdown documents, enabling multi-agent workflows with automatic context injection and workflow management.14 npm5MIT
- AlicenseNot gradedqualityDmaintenanceLightweight AI agent orchestrator with built-in Architect AI, enabling users to automate tasks by describing them via chat or Claude Code + MCP, with multi-team isolation.72 npm3MIT