Skip to main content
Glama
defaults.ts951 B
import { StaticOAuth } from "@mcpx/shared-model"; const GITHUB_STATIC_OAUTH: StaticOAuth = { mapping: { "github.com": "lunar-github", "api.github.com": "lunar-github", "api.githubcopilot.com": "lunar-github", "raw.githubusercontent.com": "lunar-github", }, providers: { "lunar-github": { authMethod: "device_flow", credentials: { clientIdEnv: "GITHUB_OAUTH_CLIENT_ID", }, scopes: ["repo", "user", "read:org"], endpoints: { deviceAuthorizationUrl: "https://github.com/login/device/code", tokenUrl: "https://github.com/login/oauth/access_token", userVerificationUrl: "https://github.com/login/device", }, }, }, }; /** * Default static OAuth configuration for well-known providers */ export const DEFAULT_STATIC_OAUTH: StaticOAuth = { mapping: { ...GITHUB_STATIC_OAUTH.mapping, }, providers: { ...GITHUB_STATIC_OAUTH.providers, }, };

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/TheLunarCompany/lunar'

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