Skip to main content
Glama

jira_get_project

Retrieve detailed information about a specific Jira project using its unique project key identifier.

Instructions

Get details of a specific Jira project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectKeyYesThe project key

Implementation Reference

  • Handler for the jira_get_project tool: parses input using GetProjectSchema, calls jiraClient.getProject(projectKey), and returns JSON stringified response.
    case "jira_get_project": { const { projectKey } = GetProjectSchema.parse(args); const project = await jiraClient.getProject(projectKey); return { content: [{ type: "text", text: JSON.stringify(project, null, 2) }], }; }
  • Zod schema for validating input parameters of jira_get_project tool (requires projectKey). Used in handler and reflected in tool registration.
    const GetProjectSchema = z.object({ projectKey: z.string().describe("The project key"), });
  • src/index.ts:380-389 (registration)
    Tool registration in ListTools handler, defining name, description, and JSON input schema for jira_get_project.
    name: "jira_get_project", description: "Get details of a specific Jira project", inputSchema: { type: "object", properties: { projectKey: { type: "string", description: "The project key" }, }, required: ["projectKey"], }, },
  • Core implementation in JiraClient: makes REST API call to /rest/api/2/project/{projectKey} via the private request method.
    async getProject(projectKey: string): Promise<JiraProject> { return this.request<JiraProject>(`/project/${projectKey}`); }

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/yogeshhrathod/JiraMCP'

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