TensorRT-LLMs/examples/scaffolding/contrib/mcp
WeiHaocheng cc286687c4
[None][feat] Refactor scaffolding streaming feature and fix openai wo… (#8622)
Signed-off-by: Fred Wei <20514172+WeiHaocheng@users.noreply.github.com>
2025-10-30 16:02:40 +08:00
..
e2b Scaffoldingllm supports MCP (#4410) 2025-05-23 01:54:49 +00:00
weather Scaffoldingllm supports MCP (#4410) 2025-05-23 01:54:49 +00:00
websearch Scaffoldingllm supports MCP (#4410) 2025-05-23 01:54:49 +00:00
mcptest.py [None][feat] Refactor scaffolding streaming feature and fix openai wo… (#8622) 2025-10-30 16:02:40 +08:00
README.md Scaffoldingllm supports MCP (#4410) 2025-05-23 01:54:49 +00:00

MCP USAGE

Step1: Run Servers

Terminal1:

cd weather

pip install uv

uv add "mcp[cli]" httpx openai

uv pip install httpx mcp uv init --no-workspace uv run weather.py

Terminal2:

cd e2b

pip install uv

uv add "mcp[cli]" httpx openai

uv pip install e2b_code_interpreter mcp uv init --no-workspace uv run e2bserver.py

Terminal3:

cd websearch

pip install uv

uv add "mcp[cli]" httpx openai uv pip install brave-search mcp starlette uvicorn uv init --no-workspace uv run websearch.py

Step2: Run Test

python3 mcptest.py --API_KEY YOUR_API_KEY