Skip to main content
Glama

YOURLS-MCP

by kesslerio
yourls-mcp.js620 B
#!/usr/bin/env node /** * YOURLS-MCP CLI entry point */ const { createServer } = require('../src'); const path = require('path'); // Parse command line arguments const args = process.argv.slice(2); let configPath = null; const configIndex = args.indexOf('--config'); if (configIndex !== -1 && args.length > configIndex + 1) { configPath = args[configIndex + 1]; } // Create and start server try { const server = createServer(configPath); server.listen(); console.log('YOURLS-MCP server started'); } catch (error) { console.error(`Error starting YOURLS-MCP server: ${error.message}`); process.exit(1); }

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/kesslerio/yourls-mcp'

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