rootly-mcp-server 0.0.1__tar.gz → 0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rootly-mcp-server
3
- Version: 0.0.1
3
+ Version: 0.0.3
4
4
  Summary: A Model Context Protocol server for Rootly APIs using OpenAPI spec
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
@@ -29,6 +29,8 @@ A Model Context Protocol (MCP) server for Rootly API. This server dynamically ge
29
29
  ## Features
30
30
 
31
31
  - Dynamically generated MCP tools based on Rootly's OpenAPI specification
32
+ - Swagger specification is bundled with the package
33
+ - Automatic fetching of the latest Swagger spec if not found locally
32
34
  - Authentication via Rootly API token
33
35
  - Default pagination (10 items) for incidents endpoints to prevent context window overflow
34
36
  - Easy integration with Claude and other MCP-compatible LLMs
@@ -77,6 +79,17 @@ Start the server:
77
79
  rootly-mcp-server
78
80
  ```
79
81
 
82
+ The server will automatically:
83
+ 1. Use the bundled Swagger specification that comes with the package
84
+ 2. If not found in the package, look for a local `swagger.json` file in the current and parent directories
85
+ 3. If still not found, download the latest Swagger spec from Rootly's servers
86
+ 4. Cache the downloaded spec to `swagger.json` in the current directory for future use
87
+
88
+ You can also specify a custom Swagger file path:
89
+ ```bash
90
+ rootly-mcp-server --swagger-path=/path/to/your/swagger.json
91
+ ```
92
+
80
93
  ## MCP Configuration
81
94
 
82
95
  The server configuration is defined in `mcp.json`. To use this server with Claude or other MCP clients, add the following configuration to your MCP configuration file:
@@ -5,6 +5,8 @@ A Model Context Protocol (MCP) server for Rootly API. This server dynamically ge
5
5
  ## Features
6
6
 
7
7
  - Dynamically generated MCP tools based on Rootly's OpenAPI specification
8
+ - Swagger specification is bundled with the package
9
+ - Automatic fetching of the latest Swagger spec if not found locally
8
10
  - Authentication via Rootly API token
9
11
  - Default pagination (10 items) for incidents endpoints to prevent context window overflow
10
12
  - Easy integration with Claude and other MCP-compatible LLMs
@@ -53,6 +55,17 @@ Start the server:
53
55
  rootly-mcp-server
54
56
  ```
55
57
 
58
+ The server will automatically:
59
+ 1. Use the bundled Swagger specification that comes with the package
60
+ 2. If not found in the package, look for a local `swagger.json` file in the current and parent directories
61
+ 3. If still not found, download the latest Swagger spec from Rootly's servers
62
+ 4. Cache the downloaded spec to `swagger.json` in the current directory for future use
63
+
64
+ You can also specify a custom Swagger file path:
65
+ ```bash
66
+ rootly-mcp-server --swagger-path=/path/to/your/swagger.json
67
+ ```
68
+
56
69
  ## MCP Configuration
57
70
 
58
71
  The server configuration is defined in `mcp.json`. To use this server with Claude or other MCP clients, add the following configuration to your MCP configuration file:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rootly-mcp-server"
3
- version = "0.0.1"
3
+ version = "0.0.3"
4
4
  description = "A Model Context Protocol server for Rootly APIs using OpenAPI spec"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -35,6 +35,12 @@ packages = ["src/rootly_mcp_server"]
35
35
  [tool.hatch.metadata]
36
36
  allow-direct-references = true
37
37
 
38
+ [tool.hatch.build.targets.wheel.sources]
39
+ "src" = ""
40
+
41
+ [tool.hatch.build.targets.wheel.include]
42
+ "src/rootly_mcp_server/data" = "rootly_mcp_server/data"
43
+
38
44
  [project.scripts]
39
45
  rootly-mcp-server = "rootly_mcp_server.__main__:main"
40
46
 
@@ -0,0 +1,4 @@
1
+ """
2
+ Data package containing resources for Rootly MCP Server.
3
+ This package includes the OpenAPI (Swagger) specification for the Rootly API.
4
+ """