UNPKG

@trendmoon/mcp-server

Version:

TrendMoon MCP Server - Library and Standalone Server for Cryptocurrency and Social Data

160 lines 5.06 kB
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { SocialService } from "@trendmoon/api-client"; import { z } from "zod"; export declare const GetSocialTrendSchema: z.ZodObject<{ symbol: z.ZodString; dateFrom: z.ZodOptional<z.ZodString>; dateTo: z.ZodOptional<z.ZodString>; interval: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { symbol: string; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; }, { symbol: string; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; }>; export declare const GetProjectSummarySchema: z.ZodObject<{ symbol: z.ZodString; daysAgo: z.ZodOptional<z.ZodNumber>; forceRegenerate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { symbol: string; daysAgo?: number | undefined; forceRegenerate?: boolean | undefined; }, { symbol: string; daysAgo?: number | undefined; forceRegenerate?: boolean | undefined; }>; export declare const GetKeywordTrendSchema: z.ZodObject<{ keyword: z.ZodString; dateFrom: z.ZodOptional<z.ZodString>; dateTo: z.ZodOptional<z.ZodString>; interval: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { keyword: string; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; }, { keyword: string; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; }>; export declare const GetTopicPostsSchema: z.ZodObject<{ topic: z.ZodString; dateFrom: z.ZodOptional<z.ZodString>; dateTo: z.ZodOptional<z.ZodString>; interval: z.ZodOptional<z.ZodString>; limit: z.ZodOptional<z.ZodNumber>; offset: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { topic: string; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; limit?: number | undefined; offset?: number | undefined; }, { topic: string; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const GetTopicNewsSchema: z.ZodObject<{ topic: z.ZodString; dateFrom: z.ZodOptional<z.ZodString>; dateTo: z.ZodOptional<z.ZodString>; interval: z.ZodOptional<z.ZodString>; limit: z.ZodOptional<z.ZodNumber>; offset: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { topic: string; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; limit?: number | undefined; offset?: number | undefined; }, { topic: string; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const SearchSocialPostsSchema: z.ZodObject<{ terms: z.ZodString; dateFrom: z.ZodOptional<z.ZodString>; dateTo: z.ZodOptional<z.ZodString>; interval: z.ZodOptional<z.ZodString>; symbol: z.ZodOptional<z.ZodString>; author: z.ZodOptional<z.ZodString>; platform: z.ZodOptional<z.ZodString>; limit: z.ZodOptional<z.ZodNumber>; offset: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { terms: string; symbol?: string | undefined; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; limit?: number | undefined; offset?: number | undefined; platform?: string | undefined; author?: string | undefined; }, { terms: string; symbol?: string | undefined; dateFrom?: string | undefined; dateTo?: string | undefined; interval?: string | undefined; limit?: number | undefined; offset?: number | undefined; platform?: string | undefined; author?: string | undefined; }>; export declare const GetSocialTrendsSchema: z.ZodObject<{ coin_ids: z.ZodArray<z.ZodString, "many">; start_date: z.ZodOptional<z.ZodString>; end_date: z.ZodOptional<z.ZodString>; interval: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { coin_ids: string[]; interval?: string | undefined; start_date?: string | undefined; end_date?: string | undefined; }, { coin_ids: string[]; interval?: string | undefined; start_date?: string | undefined; end_date?: string | undefined; }>; export declare const GetTopicSummarySchema: z.ZodObject<{ topic: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; }, { topic: string; }>; export interface TopicSummaryResponse { overview: string; recent_sentiment: { sentiment: string; bullish: string; bearish: string; }; developments_and_catalysts: string; full_report: string; topic: string; generated_at: string; } export declare function registerSocialTools(mcpServer: McpServer, socialService: SocialService): void; //# sourceMappingURL=SocialTools.d.ts.map