Skip to content

Commit 4ff7192

Browse files
authored
fix: package setup and install (#18)
1 parent f617fb5 commit 4ff7192

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

issues_pr_analyser.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,10 @@ def run(self):
268268
logging.error(f"Fatal Error in MCP Server: {str(e)}")
269269
traceback.print_exc(file=sys.stderr)
270270

271-
272-
if __name__ == "__main__":
271+
def main():
272+
"""Entry point for the application."""
273273
review = PRIssueAnalyser()
274274
review.run()
275+
276+
if __name__ == "__main__":
277+
main()

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
long_description = fh.read()
55

66
setup(
7-
name="mcp-saidsef-resume",
7+
name="mcp-github-pr-issue-analyser",
88
version="1.0.1",
99
author="saidsef",
10-
description="MCP Said Sef Resume and Socials",
10+
description="MCP GitHub PR Analyser and Issue Manager",
1111
long_description=long_description,
1212
long_description_content_type="text/markdown",
13-
url="https://saidsef.co.uk/saidsef/mcp-said-sef-resume",
13+
url="https://github.com/saidsef/mcp-github-pr-issue-analyser",
1414
packages=find_packages(),
1515
py_modules=["github_integration", "issues_pr_analyser"],
1616
classifiers=[

smithery.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ startCommand:
1111
description: The GitHub token to use for authentication.
1212
default: "foo"
1313
commandFunction: |-
14-
(config) => ({
15-
command: 'python',
16-
args: ['issues_pr_analyser.py'],
17-
env: {
18-
GITHUB_TOKEN: config.githubToken,
14+
(config) => ({
15+
"command": "python3",
16+
"args": ["issues_pr_analyser.py"],
17+
"env": {
18+
"GITHUB_TOKEN": config.githubToken,
1919
},
2020
})
21-
exampleConfig: {}

0 commit comments

Comments
 (0)