Skip to main content
Glama

Hashkey MCP Server

Official
by HashkeyHSK
handlers.ts•466 B
import type { WalletClient } from 'viem'; import type { z } from 'zod'; import { GetMorphoVaultsSchema } from './schemas.js'; import { getMorphoVaults } from './utils.js'; export async function getMorphoVaultsHandler( wallet: WalletClient, args: z.infer<typeof GetMorphoVaultsSchema>, ): Promise<string> { const vaults = await getMorphoVaults({ chainId: wallet.chain?.id, assetSymbol: args.assetSymbol ?? '', }); return JSON.stringify(vaults); }

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/HashkeyHSK/hsk-mcp'

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