Skip to main content
Glama

Status Invest MCP Server

main.ts1.01 kB
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; import { StatusInvestService } from './application/services/StatusInvestService.js'; import { StatusInvestApiService } from './infrastructure/services/StatusInvestApiService.js'; import { StatusInvestToolsController } from './interface/controllers/StatusInvestToolsController.js'; async function main() { const server = new McpServer({ name: 'stocks', version: '1.0.0', capabilities: { resources: {}, tools: {}, }, }); const apiService = new StatusInvestApiService(); const service = new StatusInvestService(apiService); new StatusInvestToolsController(server, service); const transport = new StdioServerTransport(); await server.connect(transport); console.error('Status Invest MCP Server running on stdio'); } main().catch((error) => { console.error('Fatal error in main():', error); 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/newerton/mcp-status-invest'

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