We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bgauryy/octocode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
/**
* GitHub Authentication Guidance UI
*/
import { c, dim } from '../utils/colors.js';
import { getAuthStatus } from '../features/github-oauth.js';
/**
* Quick GitHub auth check (for install flow)
*/
export function printGitHubAuthStatus(): void {
const status = getAuthStatus();
if (status.authenticated) {
console.log(
` ${c('green', '✓')} GitHub: Authenticated as ${c('cyan', status.username || 'unknown')}`
);
} else {
console.log(
` ${c('yellow', '⚠')} GitHub: ${c('yellow', 'not authenticated')}`
);
console.log(
` ${dim('Use')} ${c('yellow', 'octocode login')} ${dim('or select "Sign in to GitHub" from menu')}`
);
}
}