Commit 65093f9d authored by MD. SHAHIDUL ISLAM's avatar MD. SHAHIDUL ISLAM

feat: add `get_jira_context` tool to provide known Jira projects and active users.

parent 3c8b8df8
......@@ -448,6 +448,32 @@ def log_work_on_issue(issue_key: str, time_spent: str) -> str:
except Exception as e:
return f"Error logging work on {issue_key}: {str(e)}"
@mcp.tool()
def get_jira_context() -> str:
"""Returns a hardcoded list of known Project Names -> Project Keys, and known User Names.
Use this to look up a project key if the user only provides the project name, or to see the correct spellings of active users.
"""
return """
Known Projects:
- e-GP Bhutan Phase III (Key: EGPBIII)
- eGPBhutan-RnD (Key: RND)
- Model Analyzer (Key: MA)
- Order Management System (Key: OMS)
- PQCAL INT (Key: PQCI)
- PQCAL Mobile (Key: PCM)
- Project Management Information System (Key: PMIS)
Active Users:
- Shahidul Islam
- Samia Islam
- Md. Sazzadul Islam
- Ruhit Arman
- Sudipta Anupan Datta
- Mehreen Rashid
- Asif Anam
- Ayasha Hossain Jui
"""
if __name__ == "__main__":
# Start the FastMCP server
mcp.run()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment