Skip to main content
Glama

Data Analysis MCP Server

by boyzhang666
config.py660 B
import os import json with open("config/config.json", "r") as f: config = json.load(f) def get_env_or_config(key, default): return os.environ.get(key, default) # 从环境变量或配置文件获取OpenPlant连接配置 config_host = get_env_or_config("openplant_host", config["openplant"]["host"]) config_port = int(get_env_or_config("openplant_port", config["openplant"]["port"])) config_user = get_env_or_config("openplant_user", config["openplant"]["user"]) config_password = get_env_or_config("openplant_password", config["openplant"]["password"]) config_timeout = int(get_env_or_config("openplant_timeout", config["openplant"]["timeout"]))

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/boyzhang666/data-analysys-mcp'

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