Skip to content

Commit 24463b2

Browse files
authored
remove logger configure for now since implementation is not ready (#417)
### TL;DR Removed the `configure_logger` command from the cloud CLI. ### What changed? - Removed the `configure_logger` function import and reference from `src/mcp_agent/cli/cloud/commands/logger/__init__.py` - Removed the `configure_logger` import from `src/mcp_agent/cli/cloud/main.py` - Removed the command registration for `configure` under the cloud logger command group ### How to test? 1. Run `mcp cloud logger --help` and verify that the `configure` subcommand is no longer listed 2. Verify that the `tail` command still works as expected with `mcp cloud logger tail` ### Why make this change? The `configure_logger` command was likely deprecated or is no longer needed in the current implementation of the cloud logging functionality. This change streamlines the CLI interface by removing an unused command.
1 parent c9d24e8 commit 24463b2

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mcp-agent"
3-
version = "0.1.15"
3+
version = "0.1.16"
44
description = "Build effective agents with Model Context Protocol (MCP) using simple, composable patterns."
55
readme = "README.md"
66
license = { file = "LICENSE" }

src/mcp_agent/cli/cloud/commands/logger/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from deployed MCP apps.
55
"""
66

7-
from .configure.main import configure_logger
87
from .tail.main import tail_logs
98

10-
__all__ = ["configure_logger", "tail_logs"]
9+
__all__ = ["tail_logs"]

src/mcp_agent/cli/cloud/main.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from typer.core import TyperGroup
1515

1616
from mcp_agent.cli.cloud.commands import configure_app, deploy_config, login, logout, whoami
17-
from mcp_agent.cli.cloud.commands.logger import configure_logger, tail_logs
17+
from mcp_agent.cli.cloud.commands.logger import tail_logs
1818
from mcp_agent.cli.cloud.commands.app import (
1919
delete_app,
2020
get_app_status,
@@ -166,10 +166,6 @@ def invoke(self, ctx):
166166
cls=HelpfulTyperGroup,
167167
)
168168
# Register logger commands under cloud logger
169-
app_cmd_cloud_logger.command(
170-
name="configure",
171-
help="Configure OTEL endpoint and headers for log collection",
172-
)(configure_logger)
173169
app_cmd_cloud_logger.command(
174170
name="tail",
175171
help="Retrieve and stream logs from deployed MCP apps",

0 commit comments

Comments
 (0)