Skip to main content
Glama
Seitrace

Seitrace Insights MCP Server

Official
by Seitrace
index.ts1.66 kB
import { ITopic } from './base.js'; import { InsightsTopic } from './insights/index.js'; import { GeneralTopic } from './general/index.js'; import { SmartContractTopic } from './smart_contract/index.js'; import { INSIGHTS_RESOURCE_DESCRIPTION_MAP } from './insights/definition.js'; import { GENERAL_RESOURCE_DESCRIPTION_MAP } from './general/definition.js'; import { SMART_CONTRACT_RESOURCE_DESCRIPTION_MAP } from './smart_contract/definition.js'; /** * Declare topic instance. */ // Instantiate topic objects here. Add new topics below and wire them into // AVAILABLE_TOPICS and TOPIC_KEY_MAP. const insights = new InsightsTopic(); const general = new GeneralTopic(); const smartContract = new SmartContractTopic(); /** * List all available topics. Will be appended to as new topics are added. */ // List of all topics. Used by the list_resources handler to aggregate // resource names across topics. export const AVAILABLE_TOPICS: ITopic[] = [insights, general, smartContract]; /** * Map resource names to their corresponding topic instances. */ // Router map: topic key -> topic instance. Handlers use the prefix (e.g., // "insights" or "general") from resource names like "general_faucet" // to select the correct topic instance. export const TOPIC_KEY_MAP: Record<string, ITopic> = { [insights.TOPIC_KEY]: insights, [general.TOPIC_KEY]: general, [smartContract.TOPIC_KEY]: smartContract, }; /** * Map resource names to their descriptions. */ export const RESOURCE_DESCRIPTION_MAP: Record<string, string> = { ...INSIGHTS_RESOURCE_DESCRIPTION_MAP, ...GENERAL_RESOURCE_DESCRIPTION_MAP, ...SMART_CONTRACT_RESOURCE_DESCRIPTION_MAP, };

Latest Blog Posts

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/Seitrace/seitrace-mcp'

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