Skip to main content
Glama

GitHub Notifications MCP Server

test-url-conversion.ts682 B
/** * Manual test script for URL conversion * * Run with: * ts-node src/scripts/test-url-conversion.ts */ import { convertApiUrlToHtmlUrl } from '../utils/formatters.js'; // Test cases const testCases = [ 'https://api.github.com/repos/nodejs/node/pulls/57557', 'https://api.github.com/repos/nodejs/node/pulls/57557/comments', 'https://api.github.com/repos/nodejs/node/issues/12345', 'https://api.github.com/repos/nodejs/node', ]; // Run tests console.log('Testing URL conversion:\n'); testCases.forEach(apiUrl => { const htmlUrl = convertApiUrlToHtmlUrl(apiUrl); console.log(`API URL: ${apiUrl}`); console.log(`HTML URL: ${htmlUrl}`); 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/mcollina/mcp-github-notifications'

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