Skip to main content
Glama

MCP-NOSTR

by pablof7z
index.ts818 B
#!/usr/bin/env node import { initConfig, readConfig, writeConfig } from "./config.js"; import { initNDK, ndk } from "./ndk.js"; import "./db.js"; import { runCli } from "./commands/index.js"; import { applyMigrations } from "./db.js"; import { log } from "./lib/utils/log.js"; import { runConfigWizard } from "./wizard.js"; await applyMigrations(); log("starting up...: args: " + process.argv.join(" ")); // Load config and ensure defaults const config = initConfig(); ``; // If there's no privateKey or bunker configured, run the setup wizard if (!config.privateKey && !config.bunker) { initNDK(); const updatedConfig = await runConfigWizard(config); } else { initNDK(config); } // Process command-line arguments const args = process.argv; // Check if running with "mcp" command await runCli(args);

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/pablof7z/mcp-code'

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