pcp-mcp 1.0.2__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/PKG-INFO +1 -1
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/pyproject.toml +1 -1
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/tools/system.py +1 -3
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/README.md +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/AGENTS.md +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/__init__.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/client.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/config.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/context.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/errors.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/icons.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/middleware.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/models.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/prompts/__init__.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/py.typed +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/resources/__init__.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/resources/catalog.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/resources/health.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/server.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/tools/AGENTS.md +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/tools/__init__.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/tools/metrics.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/utils/__init__.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/utils/builders.py +0 -0
- {pcp_mcp-1.0.2 → pcp_mcp-1.0.3}/src/pcp_mcp/utils/extractors.py +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"""System health tools for clumped metric queries."""
|
|
2
2
|
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
3
|
from datetime import datetime, timezone
|
|
6
4
|
from typing import TYPE_CHECKING, Annotated, Literal, Optional
|
|
7
5
|
|
|
@@ -149,7 +147,7 @@ async def _fetch_system_snapshot(
|
|
|
149
147
|
return snapshot
|
|
150
148
|
|
|
151
149
|
|
|
152
|
-
def register_system_tools(mcp: FastMCP) -> None:
|
|
150
|
+
def register_system_tools(mcp: "FastMCP") -> None:
|
|
153
151
|
"""Register system health tools with the MCP server."""
|
|
154
152
|
|
|
155
153
|
@mcp.tool(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|