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/sdk@1.17.5
install: Initialize zod@3.25.76
install: Initialize pyodide@0.28.2
install: Initialize @types/node@22.12.0
install: Initialize raw-body@3.0.0
install: Initialize pkce-challenge@5.0.0
install: Initialize content-type@1.0.5
install: Initialize express@5.1.0
install: Initialize zod-to-json-schema@3.24.6
install: Initialize cross-spawn@7.0.6
install: Initialize eventsource-parser@3.0.6
install: Initialize cors@2.8.5
...

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions