Skip to main content
Glama

TreePod Financial MCP Agent

by janetsep
minimal_test_server.js971 B
#!/usr/bin/env node import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; console.error('🧪 Servidor MCP mínimo iniciando...'); const server = new McpServer({ name: 'test-server', version: '1.0.0', }); // Registrar una herramienta simple de prueba server.registerTool( 'test_tool', { title: 'Herramienta de prueba', description: 'Una herramienta simple para probar la conexión MCP', inputSchema: { type: 'object', properties: {}, }, }, async () => { return { content: [{ type: 'text', text: '✅ ¡Conexión MCP funcionando correctamente!' }] }; } ); const transport = new StdioServerTransport(); server.connect(transport).then(() => { console.error('🎯 Servidor MCP mínimo listo para conexiones'); }).catch((error) => { console.error('❌ Error conectando servidor:', error); });

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/janetsep/treepod-financial-mcp'

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