Skip to main content
Glama

jira_get_projects

Retrieve a list of all Jira projects to view available workspaces and their details for project management and planning.

Instructions

Get list of Jira projects

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that retrieves the list of Jira projects using the Jira client, formats them into a list of dictionaries with key, name, and id, and returns them as JSON text content.
    async def _get_projects(self) -> List[TextContent]: """Get list of projects""" projects = self.jira_client.projects() project_list = [] for project in projects: project_list.append({ "key": project["key"], "name": project["name"], "id": project["id"] }) return [TextContent( type="text", text=json.dumps(project_list, indent=2) )]
  • Registration of the 'jira_get_projects' tool in the list_tools() function, including its description and empty input schema.
    Tool( name="jira_get_projects", description="Get list of Jira projects", inputSchema={ "type": "object", "properties": {} } ) ]
  • Input schema for the jira_get_projects tool, which requires no parameters.
    inputSchema={ "type": "object", "properties": {} }
  • Dispatch logic in the call_tool handler that invokes the specific _get_projects handler for this tool.
    elif name == "jira_get_projects": return await self._get_projects()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/katsuhirohonda/jira-confluence-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server