Skip to main content
Glama

Marketstack MCP Server

by matteoantoci
index.ts961 B
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { MarketstackClient } from '../marketstackClient.js'; // Import registration functions for each tool group import { registerMarketDataTools } from './marketData/index.js'; import { registerReferenceDataTools } from './referenceData/index.js'; import { registerFinancialInstrumentsTools } from './financialInstruments/index.js'; /** * Registers all Marketstack tools with the MCP server. * @param server The McpServer instance. * @param client The Marketstack client instance. */ export const registerTools = (server: McpServer, client: MarketstackClient): void => { console.log('Registering Marketstack tools...'); // Call registration functions for each tool group registerMarketDataTools(server, client); registerReferenceDataTools(server, client); registerFinancialInstrumentsTools(server, client); console.log('Finished registering Marketstack tools.'); };

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/matteoantoci/mcp-marketstack'

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