Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Quiet mode #36

@g-eoj

Description

@g-eoj

Motivation: avoid console spam that breaks CLI/TUI app rendering.

Running:

from pydantic_ai.mcp import MCPServerStdio

server = MCPServerStdio('uv', args=['run', 'mcp-run-python', 'stdio'], timeout=10)
asyncio.run(server.get_tools(None))

Outputs:

Copying from /Users/joe/projects/mcp-run-python/mcp_run_python/deno to /tmp/tmp348exdtn/mcp-run-python...
Installing dependencies []...
install: Initialize @modelcontextprotocol/[email protected]
install: Initialize [email protected]
install: Initialize [email protected]
install: Initialize @types/[email protected]
install: Initialize [email protected]
install: Initialize [email protected]
install: Initialize [email protected]
install: Initialize [email protected]
install: Initialize [email protected]
install: Initialize [email protected]
install: Initialize [email protected]
install: Initialize [email protected]
...

The verbose argument doesn't affect these outputs, as of now.

Note

I can submit a PR for this but would like to know: should the verbose argument behavior be changed or should I add a new quiet argument/flag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions