Registry / devops / rootly-mcp-server

rootly-mcp-server

JSON →
library2.3.9pypypi✓ verified 86d ago

Secure Model Context Protocol (MCP) server for Rootly APIs, enabling AI SRE capabilities such as incident management, service catalog operations, and status page integrations. Current version 2.3.9, actively maintained with a release cadence of monthly minor updates and weekly patches.

pip install rootly-mcp-server
INSTALL
IMPORT
SIG · ROOTLY-MCP-SERVER
R
rootly-mcp-server
devopspythonv2.3.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RootlyMCPServer
from rootly_mcp_server import RootlyMCPServer
rootly-mcp-server import RootlyMCPServer
Hyphen in package name becomes underscore in module name
run_server
from rootly_mcp_server import run_server
Entry point for starting the server

Starts the Rootly MCP server, which connects to Rootly APIs using the ROOTLY_API_KEY environment variable. Ensure the key is set before running.

import os from rootly_mcp_server import run_server # Set required environment variables os.environ['ROOTLY_API_KEY'] = os.environ.get('ROOTLY_API_KEY', '') if __name__ == '__main__': run_server()
Debug
Known issues
breakingPython 3.12 minimum — code will fail with SyntaxError on older versions due to use of new typing syntax and match statements.
fix
Upgrade to Python >=3.12. Use pyenv or conda to create a compatible environment.
affects: all versions
deprecatedIn v2.x, environment variable ROOTLY_API_KEY is required; previous v1.x accepted a config file path. v1.x is no longer supported.
fix
Set ROOTLY_API_KEY environment variable. Remove any --config or config file usage.
affects: >=2.0
gotchaThe server does not validate the API key at startup — errors only appear when a tool is invoked. This can mislead users into thinking the server is working when it's not authenticated.
fix
Always test with a known valid key. Use the rootly_mcp_server.cli_test function if available.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'rootly_mcp_server'
Installed package rootly-mcp-server but tried to import with hyphen instead of underscore.
fix
Use 'import rootly_mcp_server' (underscore) matching the module name.
RuntimeError: ROOTLY_API_KEY environment variable not set
Required environment variable missing.
fix
Set ROOTLY_API_KEY=<your_key> in your shell or code.
Upgrade
Version history
2.3.9latest on PyPI · released May 21, 2026
Audit
Dependencies
mcprequiredCore MCP protocol library for server implementation
rootly-api-clientrequiredOfficial Rootly API client (may be bundled), check documentation
Agent activity
4 hits · last 30 days
node
4
Resources
rootly-mcp-server — pip install rootly-mcp-server · libregistry