import process from "node:process";
/**
* Get the VIS_REQUEST_SERVER from environment variables.
*/
export function getVisRequestServer() {
return (
process.env.VIS_REQUEST_SERVER ||
"https://antv-studio.alipay.com/api/gpt-vis"
);
}
/**
* Get the `SERVICE_ID` from environment variables.
*/
export function getServiceIdentifier() {
return process.env.SERVICE_ID;
}
/**
* Get the list of disabled tools from environment variables.
*/
export function getDisabledTools(): string[] {
const disabledTools = process.env.DISABLED_TOOLS;
if (!disabledTools || disabledTools === "undefined") {
return [];
}
return disabledTools.split(",");
}
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/antvis/mcp-server-chart'
If you have feedback or need assistance with the MCP directory API, please join our Discord server