Skip to main content
Glama
setup.ts384 B
import * as dotenv from 'dotenv' import * as path from 'path' import * as os from 'os' // Load environment variables from ~/.shortcut_mcp/.env const envPath = path.join(os.homedir(), '.shortcut_mcp', '.env') dotenv.config({ path: envPath }) // Ensure we have the API token if (!process.env.SHORTCUT_TOKEN) { throw new Error('SHORTCUT_TOKEN not found in ~/.shortcut_mcp/.env') }

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/currentspace/shortcut_mcp'

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