Skip to content

Commit 00ddb9a

Browse files
committed
chore: Swap MCP server to python mermaid validator
1 parent d07902e commit 00ddb9a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

agents_mcp_usage/multi_mcp/multi_mcp_use/adk_mcp.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ async def get_tools_async():
4141
)
4242

4343
mermaid_server = StdioServerParameters(
44-
command="npx",
44+
command="uv",
4545
args=[
46-
"-y",
47-
"@rtuin/mcp-mermaid-validator@latest",
46+
"run",
47+
"mcp_servers/mermaid_validator.py",
4848
],
4949
)
5050

agents_mcp_usage/multi_mcp/multi_mcp_use/pydantic_mcp.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
],
2626
)
2727
mermaid_server = MCPServerStdio(
28-
command="npx",
28+
command="uv",
2929
args=[
30-
"-y",
31-
"@rtuin/mcp-mermaid-validator@latest",
30+
"run",
31+
"mcp_servers/mermaid_validator.py",
3232
],
3333
)
3434
# Create Agent with MCP servers
@@ -54,7 +54,7 @@ async def main(query: str = "Hi!", request_limit: int = 5) -> None:
5454
# Invoke the agent with the usage limits
5555
async with agent.run_mcp_servers():
5656
result = await agent.run(query, usage_limits=usage_limits)
57-
# print(result.output)
57+
print(result.output)
5858
return result
5959

6060

0 commit comments

Comments
 (0)