Skip to main content
Glama

Linear MCP Integration Server

by MadeByNando
addIssue.js675 B
require('dotenv').config(); const { MCPClient } = require('@modelcontextprotocol/sdk'); async function addIssue() { const client = new MCPClient({ apiKey: process.env.MCP_API_KEY, // Ensure this is set in your .env file // other necessary configuration }); try { const response = await client.createIssue({ title: 'test', description: 'This is a test issue created via MCP', // other issue details like project ID, labels, etc. }); console.log('Issue created successfully:', response); } catch (error) { console.error('Error creating issue:', error); } } addIssue();

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/MadeByNando/MCP-linear-Server'

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