You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/mcp_github/issues_pr_analyser.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@
32
32
33
33
classPRIssueAnalyser:
34
34
"""
35
-
PRIssueAnalyser is a class that provides an interface for analyzing GitHub Pull Requests (PRs) and managing GitHub Issues, Tags, and Releases, as well as retrieving IP information. It integrates with GitHub and an MCP (Multi-Component Platform) server to expose a set of tools for PR and issue management, and can be run as an MCP server using either SSE or stdio transport.
35
+
PRIssueAnalyser is a class that provides an interface for analyzing GitHub Pull Requests (PRs) and managing GitHub Issues, Tags, and Releases, as well as retrieving IP information. It integrates with GitHub and an MCP (Multi-Component Platform) server to expose a set of tools for PR and issue management, and can be run as an MCP server using either MCP_ENABLE_REMOTE or stdio transport.
36
36
Methods
37
37
-------
38
38
__init__():
@@ -47,7 +47,7 @@ class PRIssueAnalyser:
47
47
- Fetching IPv4 and IPv6 information
48
48
Each tool handles its own exceptions, logging errors and returning appropriate error messages or empty results.
49
49
run():
50
-
Runs the MCP server for GitHub PR analysis, selecting the transport mechanism based on the 'ENABLE_SSE' environment variable.
50
+
Runs the MCP server for GitHub PR analysis, selecting the transport mechanism based on the 'MCP_ENABLE_REMOTE' environment variable.
51
51
Logs and prints any exceptions that occur during server execution, including a fatal error message and traceback.
0 commit comments