Skip to content

Conversation

@AKKI0511
Copy link
Owner

Description

Introduce a production-ready Typer-based CLI with focused command groups, replace legacy CLI usage across docs, fix MCP base_url override behavior, align server logging with lifespan, streamline examples to run as standalone scripts, and update tests/CI accordingly.

Key Changes

  • CLI
    • New agentconnect/cli/ Typer app with commands: version, config {init|show|validate}, serve registry [--host --port --reload], registry ping, mcp start agent-discovery [--registry-url], doctor.
    • Removed legacy agentconnect/cli.py.
    • Packaging: console script points to agentconnect.cli:app; deps updated.
  • MCP
    • Health checks and tool calls respect injected RegistryAPIClient base_url override.
  • Servers
    • Apply registry server log level during FastAPI lifespan to avoid runtime mismatches.
  • Documentation (CLI-first)
    • Updated root and package READMEs to use CLI; kept a tiny “Developer note” for module-path runs only where relevant.
    • Sphinx docs synced to reference CLI (index/quickstart + CLI API pages).
  • Examples
    • Removed global example runner; run scripts directly via python path/to/script.py.
  • Tests/CI
    • Added CLI tests; removed/simplified unnecessary logging tests.
    • CI and Makefile use pytest -q to reduce noise.
  • Packaging
    • pyproject.toml and lockfile updated.
  • Changelog
    • Unreleased section updated for all above.

Breaking Changes

  • Removed legacy agentconnect --example/--demo flow. Examples now run directly as Python scripts. No backward compatibility provided by design.

Documentation

  • CLI usage: agentconnect/cli/README.md
  • Servers documentation: agentconnect/servers/README.md
  • MCP documentation: agentconnect/mcp/README.md

@AKKI0511 AKKI0511 merged commit 6f3eeec into develop Aug 30, 2025
5 of 6 checks passed
@AKKI0511 AKKI0511 deleted the feature/cli-server-launch branch August 30, 2025 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants