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 organization.

Instructions

Get list of Jira projects

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the core logic of jira_get_projects: fetches projects from Jira client, formats them into a list with key, name, id, and returns 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) )]
  • Tool registration in list_tools() method, defining the tool name, description, and empty input schema.
    Tool( name="jira_get_projects", description="Get list of Jira projects", inputSchema={ "type": "object", "properties": {} } ) ]
  • Input schema for jira_get_projects tool, which requires no parameters.
    inputSchema={ "type": "object", "properties": {} }
  • Dispatch in the main call_tool handler that routes to the _get_projects implementation.
    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