Skip to main content
Glama

MCP-NOSTR

by pablof7z
index.ts1.05 kB
#!/usr/bin/env node import { Command } from 'commander'; const VERSION = "__VERSION__"; import { registerFindSnippetsCommand } from './find-snippets.js'; import { registerWotCommand } from './wot.js'; import { registerMcpCommand } from './mcp.js'; import { registerSetupCommand } from './setup.js'; import { registerAgentCommand } from './agent.js'; import { registerInstructionCommand } from './instruction.js'; // Create a new Commander program const program = new Command(); // Setup program metadata program .name('tenex-tools') .description('Model Context Protocol for Nostr') .version(VERSION); // Register all commands registerMcpCommand(program); registerFindSnippetsCommand(program); registerWotCommand(program); registerSetupCommand(program); registerAgentCommand(program); registerInstructionCommand(program); // Function to run the CLI export async function runCli(args: string[]) { program.parse(args); // If no command was specified, show help by default if (args.length <= 2) { program.help(); } }

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