Skip to main content
Glama

Polygon MCP Server

by Dablclub
index.ts492 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; }

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/Dablclub/polygon-mcp'

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