Skip to main content
Glama
iceener

Linear Streamable MCP Server

by iceener
index.ts1.19 kB
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { logger } from '../utils/logger.js'; /** * Register resources with the MCP server. * * Add Linear-specific resources here, e.g.: * - linear://teams/{id} - Team data * - linear://projects/{id} - Project metadata * - linear://me - Current user profile */ export function registerResources(server: McpServer): void { // TODO: Add Linear-specific resources here // Example: // server.registerResource('linear-team', 'linear://teams/{id}', { ... }, handler); logger.debug('resources', { message: 'No resources registered (placeholder)' }); } /** * Emit resource update notification. */ export function emitResourceUpdated(server: McpServer, uri: string): void { try { (server as any).sendResourceUpdated?.({ uri }); } catch { // Non-fatal } logger.debug('resources', { message: 'Resource updated notification sent', uri }); } /** * Emit listChanged when resources are updated. */ export function emitResourcesListChanged(server: McpServer): void { server.sendResourceListChanged(); logger.debug('resources', { message: 'Resources list changed notification sent' }); }

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/iceener/linear-streamable-mcp-server'

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