rootly-mcp-server 2.2.0__py3-none-any.whl → 2.2.1__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.
- rootly_mcp_server/server.py +9 -9
- {rootly_mcp_server-2.2.0.dist-info → rootly_mcp_server-2.2.1.dist-info}/METADATA +1 -1
- {rootly_mcp_server-2.2.0.dist-info → rootly_mcp_server-2.2.1.dist-info}/RECORD +6 -6
- {rootly_mcp_server-2.2.0.dist-info → rootly_mcp_server-2.2.1.dist-info}/WHEEL +0 -0
- {rootly_mcp_server-2.2.0.dist-info → rootly_mcp_server-2.2.1.dist-info}/entry_points.txt +0 -0
- {rootly_mcp_server-2.2.0.dist-info → rootly_mcp_server-2.2.1.dist-info}/licenses/LICENSE +0 -0
rootly_mcp_server/server.py
CHANGED
|
@@ -386,15 +386,15 @@ class AuthenticatedHTTPXClient:
|
|
|
386
386
|
if "params" in kwargs:
|
|
387
387
|
kwargs["params"] = self._transform_params(kwargs["params"])
|
|
388
388
|
|
|
389
|
-
#
|
|
390
|
-
# This is critical because
|
|
391
|
-
# (e.g., Content-Type: application/json
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
389
|
+
# ALWAYS ensure Content-Type and Accept headers are set correctly for Rootly API
|
|
390
|
+
# This is critical because:
|
|
391
|
+
# 1. FastMCP may pass headers from the MCP client request (e.g., Content-Type: application/json)
|
|
392
|
+
# 2. Per-request headers override httpx client defaults
|
|
393
|
+
# 3. We must force JSON-API content type regardless of what's passed in
|
|
394
|
+
headers = dict(kwargs.get("headers") or {})
|
|
395
|
+
headers["Content-Type"] = "application/vnd.api+json"
|
|
396
|
+
headers["Accept"] = "application/vnd.api+json"
|
|
397
|
+
kwargs["headers"] = headers
|
|
398
398
|
|
|
399
399
|
# Call the underlying client's request method and let it handle everything
|
|
400
400
|
return await self.client.request(method, url, **kwargs)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rootly-mcp-server
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: Secure Model Context Protocol server for Rootly APIs with AI SRE capabilities, comprehensive error handling, and input validation
|
|
5
5
|
Project-URL: Homepage, https://github.com/Rootly-AI-Labs/Rootly-MCP-server
|
|
6
6
|
Project-URL: Issues, https://github.com/Rootly-AI-Labs/Rootly-MCP-server/issues
|
|
@@ -6,14 +6,14 @@ rootly_mcp_server/monitoring.py,sha256=k1X7vK65FOTrCrOsLUXrFm6AJxKpXt_a0PzL6xdPu
|
|
|
6
6
|
rootly_mcp_server/och_client.py,sha256=6UBP7MLkaDOGcJ78hQgSqTyrtr41XwDTqOOfUnoMJkc,2861
|
|
7
7
|
rootly_mcp_server/pagination.py,sha256=2hZSO4DLUEJZbdF8oDfIt2_7X_XGBG1jIxN8VGmeJBE,2420
|
|
8
8
|
rootly_mcp_server/security.py,sha256=YkMoVALZ3XaKnMu3yF5kVf3SW_jdKHllSMwVLk1OlX0,11556
|
|
9
|
-
rootly_mcp_server/server.py,sha256=
|
|
9
|
+
rootly_mcp_server/server.py,sha256=d6gkBbj0WCAKeYRwoVeeCtsNvCNnEGxXfd9V9ILOxsA,163845
|
|
10
10
|
rootly_mcp_server/smart_utils.py,sha256=c7S-8H151GfmDw6dZBDdLH_cCmR1qiXkKEYSKc0WwUY,23481
|
|
11
11
|
rootly_mcp_server/texttest.json,sha256=KV9m13kWugmW1VEpU80Irp50uCcLgJtV1YT-JzMogQg,154182
|
|
12
12
|
rootly_mcp_server/utils.py,sha256=TWG1MaaFKrU1phRhU6FgHuZAEv91JOe_1w0L2OrPJMY,4406
|
|
13
13
|
rootly_mcp_server/validators.py,sha256=z1Lvel2SpOFLo1cPdQGSrX2ySt6zqR42w0R6QV9c2Cc,4092
|
|
14
14
|
rootly_mcp_server/data/__init__.py,sha256=KdWD6hiRssHXt0Ywgj3wjNHY1sx-XSPEqVHqrTArf54,143
|
|
15
|
-
rootly_mcp_server-2.2.
|
|
16
|
-
rootly_mcp_server-2.2.
|
|
17
|
-
rootly_mcp_server-2.2.
|
|
18
|
-
rootly_mcp_server-2.2.
|
|
19
|
-
rootly_mcp_server-2.2.
|
|
15
|
+
rootly_mcp_server-2.2.1.dist-info/METADATA,sha256=D3P6Yo00zsIAAgbG2mWKTDY3aRPUe4yK8vdfvYICuYE,9907
|
|
16
|
+
rootly_mcp_server-2.2.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
17
|
+
rootly_mcp_server-2.2.1.dist-info/entry_points.txt,sha256=NE33b8VgigVPGBkboyo6pvN1Vz35HZtLybxMO4Q03PI,70
|
|
18
|
+
rootly_mcp_server-2.2.1.dist-info/licenses/LICENSE,sha256=c9w9ZZGl14r54tsP40oaq5adTVX_HMNHozPIH2ymzmw,11341
|
|
19
|
+
rootly_mcp_server-2.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|