kubectl-mcp-server 1.13.0__py3-none-any.whl → 1.14.0__py3-none-any.whl
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.
- {kubectl_mcp_server-1.13.0.dist-info → kubectl_mcp_server-1.14.0.dist-info}/METADATA +1 -1
- {kubectl_mcp_server-1.13.0.dist-info → kubectl_mcp_server-1.14.0.dist-info}/RECORD +14 -11
- kubectl_mcp_tool/__init__.py +1 -1
- kubectl_mcp_tool/cli/__init__.py +53 -1
- kubectl_mcp_tool/cli/cli.py +476 -17
- kubectl_mcp_tool/cli/errors.py +262 -0
- kubectl_mcp_tool/cli/output.py +377 -0
- kubectl_mcp_tool/tools/browser.py +316 -28
- tests/test_browser.py +167 -5
- tests/test_cli.py +299 -0
- {kubectl_mcp_server-1.13.0.dist-info → kubectl_mcp_server-1.14.0.dist-info}/WHEEL +0 -0
- {kubectl_mcp_server-1.13.0.dist-info → kubectl_mcp_server-1.14.0.dist-info}/entry_points.txt +0 -0
- {kubectl_mcp_server-1.13.0.dist-info → kubectl_mcp_server-1.14.0.dist-info}/licenses/LICENSE +0 -0
- {kubectl_mcp_server-1.13.0.dist-info → kubectl_mcp_server-1.14.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kubectl-mcp-server
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.14.0
|
|
4
4
|
Summary: A Model Context Protocol (MCP) server for Kubernetes with 127+ tools, 8 resources, and 8 prompts
|
|
5
5
|
Home-page: https://github.com/rohitg00/kubectl-mcp-server
|
|
6
6
|
Author: Rohit Ghumare
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
kubectl_mcp_server-1.
|
|
2
|
-
kubectl_mcp_tool/__init__.py,sha256=
|
|
1
|
+
kubectl_mcp_server-1.14.0.dist-info/licenses/LICENSE,sha256=nH9Z0W0WNH2oQ4cPrBAU8ldDcHfeI6NUbkSGiazYWgQ,1070
|
|
2
|
+
kubectl_mcp_tool/__init__.py,sha256=sUwu5dWZy1VsmRKLskjwLAExO0aqoS_FEmOIi-oy2GU,580
|
|
3
3
|
kubectl_mcp_tool/__main__.py,sha256=CE6cTD6PA71Ap0i5_gE17Pb9FcedOJmtGRNzZ5-TFSc,1490
|
|
4
4
|
kubectl_mcp_tool/diagnostics.py,sha256=uwolSoHadRkB-J8PAsabbexfj6sTNCIIRRrABBRXoTU,11776
|
|
5
5
|
kubectl_mcp_tool/k8s_config.py,sha256=StM6Bb1SAVbFgNg5wKRmb_9aQ1wxEHtriCTIjvEFc5U,7853
|
|
@@ -8,15 +8,17 @@ kubectl_mcp_tool/auth/__init__.py,sha256=ot8ivZZkDtV8Rg0y1UYruwobKCPyxX1svqh35wW
|
|
|
8
8
|
kubectl_mcp_tool/auth/config.py,sha256=wi3wuJNMyDqMeluDHL0MaJyedIFv5CFVxiUaEVaTvzk,2267
|
|
9
9
|
kubectl_mcp_tool/auth/scopes.py,sha256=KPmuGO0SrTkjzlElWFOV29ie9apTdMklOCkiA-965lI,6147
|
|
10
10
|
kubectl_mcp_tool/auth/verifier.py,sha256=ChZM-UsZJgZc3LjSfw8VfSydkKqKBZ1s8es71LlB_A0,2431
|
|
11
|
-
kubectl_mcp_tool/cli/__init__.py,sha256=
|
|
11
|
+
kubectl_mcp_tool/cli/__init__.py,sha256=NDd1-7_Ira9vx0uNVOUqhkK7S53IOTu0WUBWOKCtap8,1348
|
|
12
12
|
kubectl_mcp_tool/cli/__main__.py,sha256=OxhHqW8YsTd565acTDlZknljPAw6FN9JW7pNtgWIcFE,196
|
|
13
|
-
kubectl_mcp_tool/cli/cli.py,sha256=
|
|
13
|
+
kubectl_mcp_tool/cli/cli.py,sha256=qy2mQ0uDrQ9qzv5LP_w9sJ2y_yt3Qzx5m2pzh1i-u4o,19694
|
|
14
|
+
kubectl_mcp_tool/cli/errors.py,sha256=nCvopWH9bt8wGRt6RTDoXo7IsKwsdwzRMvJ5OM2a1Eg,9018
|
|
15
|
+
kubectl_mcp_tool/cli/output.py,sha256=N1AUoRDiBe3lA27l96ZSdIA7pa4GqXLOP3PBdyoLHsQ,10060
|
|
14
16
|
kubectl_mcp_tool/prompts/__init__.py,sha256=BacBNfoVxow6aci8Zzcfam3m1oM7yYzM0IRT1L3uCOQ,77
|
|
15
17
|
kubectl_mcp_tool/prompts/prompts.py,sha256=ZfmTCio8NqOYYxF8VVo9f6VWGCS34J8tvmBfhNblr58,22942
|
|
16
18
|
kubectl_mcp_tool/resources/__init__.py,sha256=ERkn0ErlaGi9-dybv4wrAaT8WretvNp6K002h7Agjno,83
|
|
17
19
|
kubectl_mcp_tool/resources/resources.py,sha256=kvK4OM3Ox5cFvWDqJBTXOfBgnRYdoqdvvjsdCg0PJfY,12713
|
|
18
20
|
kubectl_mcp_tool/tools/__init__.py,sha256=tlm6TtwzHbGqQhIAQNAByLjgpDiim3eqdP89Y3JZfiA,1057
|
|
19
|
-
kubectl_mcp_tool/tools/browser.py,sha256=
|
|
21
|
+
kubectl_mcp_tool/tools/browser.py,sha256=OvXUHzEuciRQInnwLLC16iObOOdniu09b9RT81y7sdc,25338
|
|
20
22
|
kubectl_mcp_tool/tools/cluster.py,sha256=qQh6bET3-KQ8nkB2GnB8A7gohbJLrx6_K11TPYR6AII,11956
|
|
21
23
|
kubectl_mcp_tool/tools/core.py,sha256=zL0bGCxPGocH34ueZlSsBVsNp_tUL0C2gqyjlJljMXY,15009
|
|
22
24
|
kubectl_mcp_tool/tools/cost.py,sha256=OMiNopWvi5TTY-HX-3JSekelgReTEn88wAFddhui--M,27065
|
|
@@ -34,13 +36,14 @@ kubectl_mcp_tool/utils/helpers.py,sha256=W--wiVSKKqmjpxxdLT0J6rmhOQcp1OFk9jLrtQU
|
|
|
34
36
|
tests/__init__.py,sha256=qZPXYXv3whkkWhi61Ngzj09GHnIFlVSZrajE0XRk55o,290
|
|
35
37
|
tests/conftest.py,sha256=6054YlpuGleV3Wg8BnVj4lnKWhGk-Eqc9JYTXxOmsXs,10782
|
|
36
38
|
tests/test_auth.py,sha256=PoESfWiN92wSGUdVwLL3Z1AP6C1zUsVmgTI7Q8ZdlxM,11074
|
|
37
|
-
tests/test_browser.py,sha256=
|
|
39
|
+
tests/test_browser.py,sha256=KDttM-VJQEkU353gOwVP_UqtR1v-evgz2Zm8nJrsJEE,20621
|
|
40
|
+
tests/test_cli.py,sha256=G-f9uByWooe-yUOH0ahBdoft4uz8TC0R0OzDs1Lom-4,10014
|
|
38
41
|
tests/test_prompts.py,sha256=3TcJUvSNxhTqfySW6DCrW9MwiMDumciLQRjjbucwqlA,17803
|
|
39
42
|
tests/test_resources.py,sha256=Z0Ex8WdRz-B3VZa1s0eAaDDGbhy7dRdqy1uFVOe2Qbo,12689
|
|
40
43
|
tests/test_server.py,sha256=lLvgbqutnivSgQMNrki0O48whBQt0UXjdwT047nf0nw,14415
|
|
41
44
|
tests/test_tools.py,sha256=bQMcVrXvWh1PpchcEI1aMkIFXlHmF_trJDI3Lg8kKIk,30516
|
|
42
|
-
kubectl_mcp_server-1.
|
|
43
|
-
kubectl_mcp_server-1.
|
|
44
|
-
kubectl_mcp_server-1.
|
|
45
|
-
kubectl_mcp_server-1.
|
|
46
|
-
kubectl_mcp_server-1.
|
|
45
|
+
kubectl_mcp_server-1.14.0.dist-info/METADATA,sha256=45EsGvrPGVSIBGn9enUgmN1kMoE-NpbvmLjFHYT-gWE,26011
|
|
46
|
+
kubectl_mcp_server-1.14.0.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
47
|
+
kubectl_mcp_server-1.14.0.dist-info/entry_points.txt,sha256=zeOxQGaNC4r58deEmqsLCU5hfMjF0VqFUt9P5wWsKEM,109
|
|
48
|
+
kubectl_mcp_server-1.14.0.dist-info/top_level.txt,sha256=o5IpfOGG-lqU8rVWJeK9aYC0r4f6qEX09QiBhZlYbkQ,23
|
|
49
|
+
kubectl_mcp_server-1.14.0.dist-info/RECORD,,
|
kubectl_mcp_tool/__init__.py
CHANGED
|
@@ -7,7 +7,7 @@ with Kubernetes clusters through natural language commands.
|
|
|
7
7
|
For more information, see: https://github.com/rohitg00/kubectl-mcp-server
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
__version__ = "1.
|
|
10
|
+
__version__ = "1.14.0"
|
|
11
11
|
|
|
12
12
|
from .mcp_server import MCPServer
|
|
13
13
|
from .diagnostics import run_diagnostics, check_kubectl_installation, check_cluster_connection
|
kubectl_mcp_tool/cli/__init__.py
CHANGED
|
@@ -5,5 +5,57 @@ Provides command-line interface for managing the MCP server.
|
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from .cli import main
|
|
8
|
+
from .errors import (
|
|
9
|
+
CliError,
|
|
10
|
+
ErrorCode,
|
|
11
|
+
format_cli_error,
|
|
12
|
+
tool_not_found_error,
|
|
13
|
+
tool_execution_error,
|
|
14
|
+
k8s_connection_error,
|
|
15
|
+
k8s_context_error,
|
|
16
|
+
browser_not_found_error,
|
|
17
|
+
browser_connection_error,
|
|
18
|
+
invalid_json_error,
|
|
19
|
+
missing_argument_error,
|
|
20
|
+
unknown_subcommand_error,
|
|
21
|
+
)
|
|
22
|
+
from .output import (
|
|
23
|
+
format_tools_list,
|
|
24
|
+
format_tool_schema,
|
|
25
|
+
format_tools_search,
|
|
26
|
+
format_resources_list,
|
|
27
|
+
format_prompts_list,
|
|
28
|
+
format_call_result,
|
|
29
|
+
format_server_info,
|
|
30
|
+
format_context_info,
|
|
31
|
+
format_doctor_results,
|
|
32
|
+
should_colorize,
|
|
33
|
+
)
|
|
8
34
|
|
|
9
|
-
__all__ = [
|
|
35
|
+
__all__ = [
|
|
36
|
+
"main",
|
|
37
|
+
# Errors
|
|
38
|
+
"CliError",
|
|
39
|
+
"ErrorCode",
|
|
40
|
+
"format_cli_error",
|
|
41
|
+
"tool_not_found_error",
|
|
42
|
+
"tool_execution_error",
|
|
43
|
+
"k8s_connection_error",
|
|
44
|
+
"k8s_context_error",
|
|
45
|
+
"browser_not_found_error",
|
|
46
|
+
"browser_connection_error",
|
|
47
|
+
"invalid_json_error",
|
|
48
|
+
"missing_argument_error",
|
|
49
|
+
"unknown_subcommand_error",
|
|
50
|
+
# Output
|
|
51
|
+
"format_tools_list",
|
|
52
|
+
"format_tool_schema",
|
|
53
|
+
"format_tools_search",
|
|
54
|
+
"format_resources_list",
|
|
55
|
+
"format_prompts_list",
|
|
56
|
+
"format_call_result",
|
|
57
|
+
"format_server_info",
|
|
58
|
+
"format_context_info",
|
|
59
|
+
"format_doctor_results",
|
|
60
|
+
"should_colorize",
|
|
61
|
+
]
|