Skip to main content
Glama

Hashkey MCP Server

Official
by HashkeyHSK
utils.ts•492 B
import { base } from 'viem/chains'; import { morphoApiClient } from './graphql.js'; import { GET_VAULTS_QUERY } from './queries.js'; import type { MorphoVaultsResponse } from './types.js'; export async function getMorphoVaults({ chainId = base.id, assetSymbol, }: { chainId?: number; assetSymbol: string; }) { const data = await morphoApiClient.request<MorphoVaultsResponse>( GET_VAULTS_QUERY, { chainId, assetSymbol, }, ); return data.vaults.items; }

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