Skip to main content
Glama

linear_getProjects

Retrieve a list of projects from Linear to manage and track development workflows, enabling users to view project details and monitor progress.

Instructions

Get a list of projects from Linear

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the linear_getProjects tool. It wraps the call to linearService.getProjects() with error handling.
    export function handleGetProjects(linearService: LinearService) { return async (args: unknown) => { try { return await linearService.getProjects(); } catch (error) { logError('Error getting projects', error); throw error; } }; }
  • The schema definition (input/output) for the linear_getProjects tool.
    export const getProjectsToolDefinition: MCPToolDefinition = { name: 'linear_getProjects', description: 'Get a list of projects from Linear', input_schema: { type: 'object', properties: {}, }, output_schema: { type: 'array', items: { type: 'object', properties: { id: { type: 'string' }, name: { type: 'string' }, description: { type: 'string' }, content: { type: 'string' }, state: { type: 'string' }, teams: { type: 'array', items: { type: 'object', properties: { id: { type: 'string' }, name: { type: 'string' }, }, }, }, url: { type: 'string' }, }, }, }, };
  • Registration of the linear_getProjects tool handler in the tool handlers map.
    linear_getProjects: handleGetProjects(linearService),

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/tacticlaunch/mcp-linear'

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