You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Several projects address MCP tool sprawl in different ways: [RAG-MCP](https://gi
32
32
33
33
-**No infrastructure.** One Go binary, local SQLite. No Docker, no vector DB service, no cloud account.
34
34
-**IDE auto-import.** Reads your Claude Desktop, Cursor, or VS Code MCP config. No manual YAML unless you want it.
35
-
-**Three modes in one tool.**Search mode (5 meta-tools) for weak models, direct mode (transparent proxy) for strong models, hybrid for both. Switch with a flag.
35
+
-**Three modes in one tool.**Direct mode (transparent proxy) for simple setups and smaller models, search mode (5 meta-tools) for large catalogs with strong models, hybrid for both. Switch with a flag.
36
36
-**Provider-agnostic.** Not tied to Anthropic, OpenAI, or any specific client. Anything that speaks MCP over stdio or HTTP.
37
37
-**Reliability built in.** Circuit breaking, caching, session reuse, and tracing handled at the proxy layer.
38
38
@@ -89,11 +89,11 @@ No IDE config? Write a YAML file manually — see [Configuration](#configuration
89
89
90
90
## When to use which mode
91
91
92
-
-**Search mode**(default) — the agent sees 5 meta-tools and discovers capabilities through search. Reduces prompt size and improves tool selection for smaller/cheaper models (Haiku, GPT-4.1-mini, local Ollama).
92
+
-**Direct mode**— every cataloged tool is exposed by name. The agent sees real schemas, lazy-tool routes transparently. Best for smaller/cheaper models (Haiku, GPT-4.1-mini, local Ollama) that struggle with multi-step reasoning. They get a simple tool list and call tools directly — one step, no search overhead. Also good for strong models that benefit from single-endpoint aggregation, circuit breaking, and caching.
93
93
94
-
-**Direct mode**— every cataloged tool is exposed by name. The agent sees real schemas, lazy-tool routes transparently. For strong models that handle large tool lists fine but benefit from single-endpoint aggregation, circuit breaking, and caching.
94
+
-**Search mode**(default) — the agent sees 5 meta-tools and discovers capabilities through search. Best for strong models (Claude, GPT-4, Llama 70B+) working with large tool catalogs (50+ tools) where dumping every schema into context wastes tokens and degrades selection accuracy. Requires the model to handle a two-step search→invoke pattern.
95
95
96
-
-**Hybrid mode** — both search and direct tools available. Useful for gradual migration.
96
+
-**Hybrid mode** — both search and direct tools available. Useful for gradual migration or mixed workloads.
-Node.js / npx (for the `everything` and `filesystem` MCP servers)
59
+
-Python 3.11+ (for the benchmark harnesses)
60
+
-[uv](https://docs.astral.sh/uv/) (recommended, for `mcp-server-time` via `uvx`)
61
61
- At least one of: `GROQ_API_KEY`, `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`
62
+
- For weak-model benchmarks: [Ollama](https://ollama.com) running locally with at least one model pulled
63
+
64
+
### Setting up MCPJungle
65
+
66
+
The benchmarks use [MCPJungle](https://github.com/mcpjungle/MCPJungle) as the upstream MCP gateway that hosts the test tools. Baseline mode connects directly to MCPJungle; search and direct modes connect through lazy-tool which indexes MCPJungle's catalog.
67
+
68
+
**1. Install MCPJungle:**
69
+
70
+
```bash
71
+
# See https://github.com/mcpjungle/MCPJungle for full install instructions
72
+
go install github.com/mcpjungle/mcpjungle@latest
73
+
```
74
+
75
+
**2. Start MCPJungle:**
76
+
77
+
```bash
78
+
mcpjungle serve
79
+
# Default: http://127.0.0.1:8080/mcp (strong model suite)
80
+
# Or configure a different port and pass --jungle-url to the benchmark scripts
81
+
```
82
+
83
+
**3. Register the sample MCP servers:**
84
+
85
+
```bash
86
+
./benchmark/mcpjungle-dev/register-samples.sh
87
+
```
88
+
89
+
This registers three MCP servers into MCPJungle:
90
+
91
+
| Server | Transport | What it provides | Requires |
0 commit comments