Skip to main content
Glama

Visum Thinker MCP Server

MIT License
test-claude-simulation.js•2.55 kB
/** * šŸ” TEST CLAUDE SIMULATION * Simula esattamente quello che Claude dovrebbe fare * per aprire il progetto Campoleone */ import { spawn } from 'child_process'; import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); console.log('šŸ¤– CLAUDE SIMULATION - Test completo MCP'); console.log('šŸ“ Progetto: Campoleone'); console.log('ā° Timestamp:', new Date().toISOString()); console.log(''); // Simula la comunicazione MCP di Claude const mcpServer = spawn('node', ['build/index.js'], { cwd: __dirname, stdio: ['pipe', 'pipe', 'pipe'] }); let responseCount = 0; // Handler per le risposte del server mcpServer.stdout.on('data', (data) => { const message = data.toString().trim(); if (message) { console.log('šŸ“„ SERVER RESPONSE:', message); responseCount++; // Dopo aver ricevuto la risposta di inizializzazione, invia la richiesta if (responseCount === 1) { console.log(''); console.log('šŸš€ INVIO RICHIESTA project_open...'); const request = { jsonrpc: "2.0", id: 1, method: "tools/call", params: { name: "project_open", arguments: { projectPath: "H:\\go\\italferr2025\\Campoleone\\100625_Versione_base_v0.3_sub_ok_priv.ver" } } }; console.log('šŸ“¤ REQUEST:', JSON.stringify(request, null, 2)); mcpServer.stdin.write(JSON.stringify(request) + '\n'); } } }); mcpServer.stderr.on('data', (data) => { console.log('šŸ”§ SERVER LOG:', data.toString().trim()); }); mcpServer.on('close', (code) => { console.log(`\nšŸ Server chiuso con codice: ${code}`); }); // Inizializzazione MCP console.log('šŸ”„ Inizializzazione MCP...'); const initRequest = { jsonrpc: "2.0", id: 0, method: "initialize", params: { protocolVersion: "2024-11-05", capabilities: { tools: {} }, clientInfo: { name: "claude-simulation", version: "1.0.0" } } }; console.log('šŸ“¤ INIT REQUEST:', JSON.stringify(initRequest, null, 2)); mcpServer.stdin.write(JSON.stringify(initRequest) + '\n'); // Timeout per il test setTimeout(() => { console.log('\nā° Timeout test - chiusura...'); mcpServer.kill(); }, 10000);

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/multiluca2020/visum-thinker-mcp-server'

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