@covalenthq/goldrush-mcp-server
Version:
GoldRush MCP Server for interacting with Covalent GoldRush API
29 lines • 1.04 kB
JavaScript
import { validQuoteValues } from "../utils/constants.js";
import { ChainName } from "@covalenthq/client-sdk";
export function addStaticResources(server) {
server.resource("supported-chains", "config://supported-chains", {
title: "Supported Chains",
description: "List of supported chain names",
mimeType: "application/json",
}, async () => ({
contents: [
{
uri: "config://supported-chains",
text: JSON.stringify(Object.values(ChainName), null, 2),
},
],
}));
server.registerResource("quote-currencies", "config://quote-currencies", {
title: "Quote Currencies",
description: "List of supported quote currencies",
mimeType: "application/json",
}, async () => ({
contents: [
{
uri: "config://quote-currencies",
text: JSON.stringify(Object.values(validQuoteValues), null, 2),
},
],
}));
}
//# sourceMappingURL=staticResources.js.map