UNPKG

@gala-chain/launchpad-mcp-server

Version:

MCP server for Gala Launchpad - 102 tools (pool management, event watchers, GSwap DEX trading, price history, token creation, wallet management, DEX pool discovery, liquidity positions, token locks, locked token queries, composite pool data, cross-chain b

270 lines 16 kB
/** * MCP Tool Name Constants * * Centralized constants for all Gala Launchpad MCP tool names. * Use these constants instead of hardcoded strings to prevent typos * and enable IDE autocomplete. * * Total: 103 tools across 10 categories (includes 2 event watchers: DEX pools and launchpad tokens) */ /** * Pool Management, Pricing & Event Watchers (19 tools) */ export declare const POOL_TOOLS: { readonly FETCH_POOLS: "gala_launchpad_fetch_pools"; readonly FETCH_ALL_POOLS: "gala_launchpad_fetch_all_pools"; readonly FETCH_POOL_DETAILS: "gala_launchpad_fetch_pool_details"; readonly FETCH_POOL_DETAILS_FOR_CALCULATION: "gala_launchpad_fetch_pool_details_for_calculation"; readonly FETCH_TOKEN_DETAILS: "gala_launchpad_fetch_token_details"; readonly FETCH_TOKEN_DISTRIBUTION: "gala_launchpad_fetch_token_distribution"; readonly FETCH_TOKEN_BADGES: "gala_launchpad_fetch_token_badges"; readonly FETCH_VOLUME_DATA: "gala_launchpad_fetch_volume_data"; readonly FETCH_GALA_SPOT_PRICE: "gala_launchpad_fetch_gala_spot_price"; readonly FETCH_TOKEN_SPOT_PRICE: "gala_launchpad_fetch_token_spot_price"; readonly FETCH_LAUNCHPAD_TOKEN_SPOT_PRICE: "gala_launchpad_fetch_launchpad_token_spot_price"; readonly FETCH_PRICE_HISTORY: "gala_launchpad_fetch_price_history"; readonly FETCH_ALL_PRICE_HISTORY: "gala_launchpad_fetch_all_price_history"; readonly CHECK_TOKEN_NAME: "gala_launchpad_check_token_name"; readonly CHECK_TOKEN_SYMBOL: "gala_launchpad_check_token_symbol"; readonly RESOLVE_VAULT_ADDRESS: "gala_launchpad_resolve_vault_address"; readonly RESOLVE_TOKEN_CLASS_KEY: "gala_launchpad_resolve_token_class_key"; readonly ON_DEX_POOL_CREATION: "gala_launchpad_on_dex_pool_creation"; readonly ON_LAUNCHPAD_TOKEN_CREATION: "gala_launchpad_on_launchpad_token_creation"; }; /** * Trading Operations Tools (13 tools) */ export declare const TRADING_TOOLS: { readonly CALCULATE_BUY_AMOUNT: "gala_launchpad_calculate_buy_amount"; readonly CALCULATE_BUY_AMOUNT_LOCAL: "gala_launchpad_calculate_buy_amount_local"; readonly CALCULATE_BUY_AMOUNT_EXTERNAL: "gala_launchpad_calculate_buy_amount_external"; readonly CALCULATE_SELL_AMOUNT: "gala_launchpad_calculate_sell_amount"; readonly CALCULATE_SELL_AMOUNT_LOCAL: "gala_launchpad_calculate_sell_amount_local"; readonly CALCULATE_SELL_AMOUNT_EXTERNAL: "gala_launchpad_calculate_sell_amount_external"; readonly CALCULATE_BUY_AMOUNT_FOR_GRADUATION: "gala_launchpad_calculate_buy_amount_for_graduation"; readonly BUY_TOKENS: "gala_launchpad_buy_tokens"; readonly SELL_TOKENS: "gala_launchpad_sell_tokens"; readonly GRADUATE_TOKEN: "gala_launchpad_graduate_token"; readonly FETCH_TRADES: "gala_launchpad_fetch_trades"; readonly GET_BUNDLER_TRANSACTION_RESULT: "gala_launchpad_get_bundler_transaction_result"; readonly IS_TOKEN_GRADUATED: "gala_launchpad_is_token_graduated"; }; /** * Balance & Portfolio Tools (7 tools) */ export declare const BALANCE_TOOLS: { readonly FETCH_GALA_BALANCE: "gala_launchpad_fetch_gala_balance"; readonly FETCH_TOKEN_BALANCE: "gala_launchpad_fetch_token_balance"; readonly FETCH_LOCKED_TOKENS: "gala_launchpad_fetch_locked_tokens"; readonly FETCH_TOKENS_HELD: "gala_launchpad_fetch_tokens_held"; readonly FETCH_TOKENS_CREATED: "gala_launchpad_fetch_tokens_created"; readonly FETCH_PROFILE: "gala_launchpad_fetch_profile"; readonly UPDATE_PROFILE: "gala_launchpad_update_profile"; }; /** * Token Creation Tools (5 tools) */ export declare const CREATION_TOOLS: { readonly LAUNCH_TOKEN: "gala_launchpad_launch_token"; readonly UPLOAD_TOKEN_IMAGE: "gala_launchpad_upload_token_image"; readonly UPLOAD_PROFILE_IMAGE: "gala_launchpad_upload_profile_image"; readonly FETCH_LAUNCH_TOKEN_FEE: "gala_launchpad_fetch_launch_token_fee"; readonly CALCULATE_INITIAL_BUY: "gala_launchpad_calculate_initial_buy"; }; /** * Token Transfer Tools (2 tools) */ export declare const TRANSFER_TOOLS: { readonly TRANSFER_GALA: "gala_launchpad_transfer_gala"; readonly TRANSFER_TOKEN: "gala_launchpad_transfer_token"; }; /** * Token Lock/Unlock Tools (2 tools) */ export declare const LOCK_TOOLS: { readonly LOCK_TOKEN: "gala_launchpad_lock_token"; readonly UNLOCK_TOKEN: "gala_launchpad_unlock_token"; }; /** * Utility Tools (14 tools) */ export declare const UTILITY_TOOLS: { readonly CREATE_WALLET: "gala_launchpad_create_wallet"; readonly GET_ADDRESS: "gala_launchpad_get_address"; readonly GET_ETHEREUM_ADDRESS: "gala_launchpad_get_ethereum_address"; readonly GET_CONFIG: "gala_launchpad_get_config"; readonly GET_URL_BY_TOKEN_NAME: "gala_launchpad_get_url_by_token_name"; readonly EXPLAIN_SDK_USAGE: "gala_launchpad_explain_sdk_usage"; readonly GET_CACHE_INFO: "gala_launchpad_get_cache_info"; readonly CLEAR_CACHE: "gala_launchpad_clear_cache"; readonly HAS_WALLET: "gala_launchpad_has_wallet"; readonly GET_WALLET: "gala_launchpad_get_wallet"; readonly SET_WALLET: "gala_launchpad_set_wallet"; readonly GET_ENVIRONMENT: "gala_launchpad_get_environment"; readonly SWITCH_ENVIRONMENT: "gala_launchpad_switch_environment"; readonly GET_VERSION: "gala_launchpad_get_version"; }; /** * DEX Trading & Pool Discovery Tools (12 tools) */ export declare const DEX_TOOLS: { readonly FETCH_DEX_POOLS: "gala_launchpad_fetch_dex_pools"; readonly FETCH_ALL_DEX_POOLS: "gala_launchpad_fetch_all_dex_pools"; readonly FETCH_DEX_AGGREGATED_VOLUME_SUMMARY: "gala_launchpad_fetch_dex_aggregated_volume_summary"; readonly FETCH_ALL_DEX_SEASONS: "gala_launchpad_fetch_all_dex_seasons"; readonly FETCH_CURRENT_DEX_SEASON: "gala_launchpad_fetch_current_dex_season"; readonly FETCH_DEX_LEADERBOARD_BY_SEASON_ID: "gala_launchpad_fetch_dex_leaderboard_by_season_id"; readonly FETCH_CURRENT_DEX_LEADERBOARD: "gala_launchpad_fetch_current_dex_leaderboard"; readonly GET_SWAP_QUOTE_EXACT_INPUT: "gala_launchpad_get_swap_quote_exact_input"; readonly GET_SWAP_QUOTE_EXACT_OUTPUT: "gala_launchpad_get_swap_quote_exact_output"; readonly EXECUTE_SWAP: "gala_launchpad_execute_swap"; readonly GET_SWAP_USER_ASSETS: "gala_launchpad_get_swap_user_assets"; readonly GET_SWAP_POOL_INFO: "gala_launchpad_get_swap_pool_info"; }; /** * Liquidity Position Management Tools (10 tools) */ export declare const LIQUIDITY_TOOLS: { readonly GET_USER_LIQUIDITY_POSITIONS: "gala_launchpad_get_user_liquidity_positions"; readonly GET_ALL_USER_LIQUIDITY_POSITIONS: "gala_launchpad_get_all_user_liquidity_positions"; readonly GET_LIQUIDITY_POSITION_BY_ID: "gala_launchpad_get_liquidity_position_by_id"; readonly GET_LIQUIDITY_POSITION: "gala_launchpad_get_liquidity_position"; readonly FETCH_SWAP_POSITION_DIRECT: "gala_launchpad_fetch_swap_position_direct"; readonly ESTIMATE_REMOVE_LIQUIDITY: "gala_launchpad_estimate_remove_liquidity"; readonly ADD_LIQUIDITY_BY_PRICE: "gala_launchpad_add_liquidity_by_price"; readonly ADD_LIQUIDITY_BY_TICKS: "gala_launchpad_add_liquidity_by_ticks"; readonly REMOVE_LIQUIDITY: "gala_launchpad_remove_liquidity"; readonly COLLECT_POSITION_FEES: "gala_launchpad_collect_position_fees"; }; /** * Bridge Tools (11 tools) */ export declare const BRIDGE_TOOLS: { readonly ESTIMATE_BRIDGE_FEE: "gala_launchpad_estimate_bridge_fee"; readonly BRIDGE_OUT: "gala_launchpad_bridge_out"; readonly BRIDGE_IN: "gala_launchpad_bridge_in"; readonly GET_BRIDGE_STATUS: "gala_launchpad_get_bridge_status"; readonly GET_SUPPORTED_BRIDGE_TOKENS: "gala_launchpad_get_supported_bridge_tokens"; readonly FETCH_ETHEREUM_WALLET_TOKEN_BALANCE: "gala_launchpad_fetch_ethereum_wallet_token_balance"; readonly FETCH_ETHEREUM_WALLET_NATIVE_BALANCE: "gala_launchpad_fetch_ethereum_wallet_native_balance"; readonly FETCH_SOLANA_WALLET_TOKEN_BALANCE: "gala_launchpad_fetch_solana_wallet_token_balance"; readonly FETCH_SOLANA_WALLET_NATIVE_BALANCE: "gala_launchpad_fetch_solana_wallet_native_balance"; readonly FETCH_ETHEREUM_WALLET_ALL_BALANCES: "gala_launchpad_fetch_ethereum_wallet_all_balances"; readonly FETCH_SOLANA_WALLET_ALL_BALANCES: "gala_launchpad_fetch_solana_wallet_all_balances"; }; /** * All MCP Tools - Flat structure for easy access * * Use specific category constants above for better organization, * or use this flat object for backwards compatibility. */ export declare const MCP_TOOLS: { readonly ESTIMATE_BRIDGE_FEE: "gala_launchpad_estimate_bridge_fee"; readonly BRIDGE_OUT: "gala_launchpad_bridge_out"; readonly BRIDGE_IN: "gala_launchpad_bridge_in"; readonly GET_BRIDGE_STATUS: "gala_launchpad_get_bridge_status"; readonly GET_SUPPORTED_BRIDGE_TOKENS: "gala_launchpad_get_supported_bridge_tokens"; readonly FETCH_ETHEREUM_WALLET_TOKEN_BALANCE: "gala_launchpad_fetch_ethereum_wallet_token_balance"; readonly FETCH_ETHEREUM_WALLET_NATIVE_BALANCE: "gala_launchpad_fetch_ethereum_wallet_native_balance"; readonly FETCH_SOLANA_WALLET_TOKEN_BALANCE: "gala_launchpad_fetch_solana_wallet_token_balance"; readonly FETCH_SOLANA_WALLET_NATIVE_BALANCE: "gala_launchpad_fetch_solana_wallet_native_balance"; readonly FETCH_ETHEREUM_WALLET_ALL_BALANCES: "gala_launchpad_fetch_ethereum_wallet_all_balances"; readonly FETCH_SOLANA_WALLET_ALL_BALANCES: "gala_launchpad_fetch_solana_wallet_all_balances"; readonly GET_USER_LIQUIDITY_POSITIONS: "gala_launchpad_get_user_liquidity_positions"; readonly GET_ALL_USER_LIQUIDITY_POSITIONS: "gala_launchpad_get_all_user_liquidity_positions"; readonly GET_LIQUIDITY_POSITION_BY_ID: "gala_launchpad_get_liquidity_position_by_id"; readonly GET_LIQUIDITY_POSITION: "gala_launchpad_get_liquidity_position"; readonly FETCH_SWAP_POSITION_DIRECT: "gala_launchpad_fetch_swap_position_direct"; readonly ESTIMATE_REMOVE_LIQUIDITY: "gala_launchpad_estimate_remove_liquidity"; readonly ADD_LIQUIDITY_BY_PRICE: "gala_launchpad_add_liquidity_by_price"; readonly ADD_LIQUIDITY_BY_TICKS: "gala_launchpad_add_liquidity_by_ticks"; readonly REMOVE_LIQUIDITY: "gala_launchpad_remove_liquidity"; readonly COLLECT_POSITION_FEES: "gala_launchpad_collect_position_fees"; readonly FETCH_DEX_POOLS: "gala_launchpad_fetch_dex_pools"; readonly FETCH_ALL_DEX_POOLS: "gala_launchpad_fetch_all_dex_pools"; readonly FETCH_DEX_AGGREGATED_VOLUME_SUMMARY: "gala_launchpad_fetch_dex_aggregated_volume_summary"; readonly FETCH_ALL_DEX_SEASONS: "gala_launchpad_fetch_all_dex_seasons"; readonly FETCH_CURRENT_DEX_SEASON: "gala_launchpad_fetch_current_dex_season"; readonly FETCH_DEX_LEADERBOARD_BY_SEASON_ID: "gala_launchpad_fetch_dex_leaderboard_by_season_id"; readonly FETCH_CURRENT_DEX_LEADERBOARD: "gala_launchpad_fetch_current_dex_leaderboard"; readonly GET_SWAP_QUOTE_EXACT_INPUT: "gala_launchpad_get_swap_quote_exact_input"; readonly GET_SWAP_QUOTE_EXACT_OUTPUT: "gala_launchpad_get_swap_quote_exact_output"; readonly EXECUTE_SWAP: "gala_launchpad_execute_swap"; readonly GET_SWAP_USER_ASSETS: "gala_launchpad_get_swap_user_assets"; readonly GET_SWAP_POOL_INFO: "gala_launchpad_get_swap_pool_info"; readonly CREATE_WALLET: "gala_launchpad_create_wallet"; readonly GET_ADDRESS: "gala_launchpad_get_address"; readonly GET_ETHEREUM_ADDRESS: "gala_launchpad_get_ethereum_address"; readonly GET_CONFIG: "gala_launchpad_get_config"; readonly GET_URL_BY_TOKEN_NAME: "gala_launchpad_get_url_by_token_name"; readonly EXPLAIN_SDK_USAGE: "gala_launchpad_explain_sdk_usage"; readonly GET_CACHE_INFO: "gala_launchpad_get_cache_info"; readonly CLEAR_CACHE: "gala_launchpad_clear_cache"; readonly HAS_WALLET: "gala_launchpad_has_wallet"; readonly GET_WALLET: "gala_launchpad_get_wallet"; readonly SET_WALLET: "gala_launchpad_set_wallet"; readonly GET_ENVIRONMENT: "gala_launchpad_get_environment"; readonly SWITCH_ENVIRONMENT: "gala_launchpad_switch_environment"; readonly GET_VERSION: "gala_launchpad_get_version"; readonly LOCK_TOKEN: "gala_launchpad_lock_token"; readonly UNLOCK_TOKEN: "gala_launchpad_unlock_token"; readonly TRANSFER_GALA: "gala_launchpad_transfer_gala"; readonly TRANSFER_TOKEN: "gala_launchpad_transfer_token"; readonly LAUNCH_TOKEN: "gala_launchpad_launch_token"; readonly UPLOAD_TOKEN_IMAGE: "gala_launchpad_upload_token_image"; readonly UPLOAD_PROFILE_IMAGE: "gala_launchpad_upload_profile_image"; readonly FETCH_LAUNCH_TOKEN_FEE: "gala_launchpad_fetch_launch_token_fee"; readonly CALCULATE_INITIAL_BUY: "gala_launchpad_calculate_initial_buy"; readonly FETCH_GALA_BALANCE: "gala_launchpad_fetch_gala_balance"; readonly FETCH_TOKEN_BALANCE: "gala_launchpad_fetch_token_balance"; readonly FETCH_LOCKED_TOKENS: "gala_launchpad_fetch_locked_tokens"; readonly FETCH_TOKENS_HELD: "gala_launchpad_fetch_tokens_held"; readonly FETCH_TOKENS_CREATED: "gala_launchpad_fetch_tokens_created"; readonly FETCH_PROFILE: "gala_launchpad_fetch_profile"; readonly UPDATE_PROFILE: "gala_launchpad_update_profile"; readonly CALCULATE_BUY_AMOUNT: "gala_launchpad_calculate_buy_amount"; readonly CALCULATE_BUY_AMOUNT_LOCAL: "gala_launchpad_calculate_buy_amount_local"; readonly CALCULATE_BUY_AMOUNT_EXTERNAL: "gala_launchpad_calculate_buy_amount_external"; readonly CALCULATE_SELL_AMOUNT: "gala_launchpad_calculate_sell_amount"; readonly CALCULATE_SELL_AMOUNT_LOCAL: "gala_launchpad_calculate_sell_amount_local"; readonly CALCULATE_SELL_AMOUNT_EXTERNAL: "gala_launchpad_calculate_sell_amount_external"; readonly CALCULATE_BUY_AMOUNT_FOR_GRADUATION: "gala_launchpad_calculate_buy_amount_for_graduation"; readonly BUY_TOKENS: "gala_launchpad_buy_tokens"; readonly SELL_TOKENS: "gala_launchpad_sell_tokens"; readonly GRADUATE_TOKEN: "gala_launchpad_graduate_token"; readonly FETCH_TRADES: "gala_launchpad_fetch_trades"; readonly GET_BUNDLER_TRANSACTION_RESULT: "gala_launchpad_get_bundler_transaction_result"; readonly IS_TOKEN_GRADUATED: "gala_launchpad_is_token_graduated"; readonly FETCH_POOLS: "gala_launchpad_fetch_pools"; readonly FETCH_ALL_POOLS: "gala_launchpad_fetch_all_pools"; readonly FETCH_POOL_DETAILS: "gala_launchpad_fetch_pool_details"; readonly FETCH_POOL_DETAILS_FOR_CALCULATION: "gala_launchpad_fetch_pool_details_for_calculation"; readonly FETCH_TOKEN_DETAILS: "gala_launchpad_fetch_token_details"; readonly FETCH_TOKEN_DISTRIBUTION: "gala_launchpad_fetch_token_distribution"; readonly FETCH_TOKEN_BADGES: "gala_launchpad_fetch_token_badges"; readonly FETCH_VOLUME_DATA: "gala_launchpad_fetch_volume_data"; readonly FETCH_GALA_SPOT_PRICE: "gala_launchpad_fetch_gala_spot_price"; readonly FETCH_TOKEN_SPOT_PRICE: "gala_launchpad_fetch_token_spot_price"; readonly FETCH_LAUNCHPAD_TOKEN_SPOT_PRICE: "gala_launchpad_fetch_launchpad_token_spot_price"; readonly FETCH_PRICE_HISTORY: "gala_launchpad_fetch_price_history"; readonly FETCH_ALL_PRICE_HISTORY: "gala_launchpad_fetch_all_price_history"; readonly CHECK_TOKEN_NAME: "gala_launchpad_check_token_name"; readonly CHECK_TOKEN_SYMBOL: "gala_launchpad_check_token_symbol"; readonly RESOLVE_VAULT_ADDRESS: "gala_launchpad_resolve_vault_address"; readonly RESOLVE_TOKEN_CLASS_KEY: "gala_launchpad_resolve_token_class_key"; readonly ON_DEX_POOL_CREATION: "gala_launchpad_on_dex_pool_creation"; readonly ON_LAUNCHPAD_TOKEN_CREATION: "gala_launchpad_on_launchpad_token_creation"; }; /** * Type helper for tool names */ export type MCPToolName = (typeof MCP_TOOLS)[keyof typeof MCP_TOOLS]; /** * Get all tool names as an array */ export declare function getAllToolNames(): string[]; /** * Check if a string is a valid MCP tool name */ export declare function isValidToolName(name: string): name is MCPToolName; //# sourceMappingURL=mcpToolNames.d.ts.map