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
#!/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();