Skip to main content
Glama

MCP Server

by Nawaf-TBE
workflow.tsโ€ข890 B
// GitHub issue payload interface interface GitHubIssuePayload { title: string; body: string; number?: number; state?: string; user?: { login: string; }; created_at?: string; updated_at?: string; } /** * Handles a GitHub issue payload * @param payload - The GitHub issue payload object */ export function handleGitHubIssue(payload: GitHubIssuePayload): void { console.log('=== GitHub Issue Received ==='); console.log(`Title: ${payload.title}`); console.log(`Body: ${payload.body}`); if (payload.number) { console.log(`Issue #: ${payload.number}`); } if (payload.state) { console.log(`State: ${payload.state}`); } if (payload.user) { console.log(`Created by: ${payload.user.login}`); } if (payload.created_at) { console.log(`Created at: ${payload.created_at}`); } console.log('============================'); }

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/Nawaf-TBE/MCP'

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