Skip to main content
Glama

Keyboard Shortcuts MCP Server

by jenova-marie
test-live.ts•1.09 kB
#!/usr/bin/env node import { OpusClient } from './src/opus-client.js'; import type { ShortcutData } from './src/types.js'; async function testLive() { console.log('šŸ”‘ API Key present:', !!process.env.ANTHROPIC_API_KEY); const client = new OpusClient(); const shortcuts: ShortcutData[] = [ { os: 'ubuntu', desktop: null, application: 'tmux', file: 'tmux', categories: [ { name: 'Pane Management', shortcuts: [ { keys: 'Prefix + %', description: 'Split pane vertically' }, { keys: 'Prefix + "', description: 'Split pane horizontally' }, ], }, ], }, ]; console.log('\nšŸ“¤ Sending query to Opus API...\n'); try { const result = await client.queryShortcuts( 'how do I split a tmux pane vertically?', shortcuts ); console.log('āœ… Response received:\n'); console.log(result); console.log('\n✨ Test completed successfully!'); } catch (error) { console.error('āŒ Error:', error); process.exit(1); } } testLive();

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/jenova-marie/keyboard-shortcuts-mcp'

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