Skip to main content
Glama

MCPDemo - Visual SQL Chat Platform

by Ayi456

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoServer port configuration3000
AI_MODELYesAI model name
BASE_URLNoBase URL for the servicehttp://localhost
AI_API_KEYYesAI service API key
AI_API_URLNoAI service API URL for SQL Chathttps://api-inference.modelscope.cn/v1
MYSQL_HOSTNoMySQL database host127.0.0.1
MYSQL_PORTNoMySQL database port3306
MYSQL_USERNoMySQL database userroot
OSS_BUCKETNoOSS bucket name (optional)
OSS_REGIONNoOSS region (optional)
REDIS_HOSTNoRedis host for session and quota management127.0.0.1
REDIS_PORTNoRedis port6379
STATIC_DIRNoStatic directory for frontend filesweb-dist
AI_MAX_TOKENSNoAI model max tokens2048
AI_TEMPERATURENoAI model temperature setting0.7
MYSQL_DATABASEYesMySQL database name
MYSQL_PASSWORDYesMySQL database password
REDIS_PASSWORDNoRedis password (optional)
OSS_ACCESS_KEY_IDNoOSS access key ID (optional)
OSS_ACCESS_KEY_SECRETNoOSS access key secret (optional)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/Ayi456/visual-mcp'

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