Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoThe port for the HTTP server in SSE or HTTP mode. Default: 3001.
TRANSPORT_TYPENoThe transport protocol to use. Options: stdio, sse, http. Default: stdio.
DISABLE_HEADLESSNoSet to 'true' to run the browser in visible mode. Default: 'false'.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
login-with-qrcodeC

访问知乎登陆页面,并获取二维码。

get-login-statusA

获取登录状态,登陆完成返回1,没有登陆完成返回0

logoutA

退出登录,清理掉本地的cookie信息。

scrape-webpageB

访问页面,提取页面内容并转化为 markdown 格式。

get-hot-questionB

获取热点问题,可以获取小时榜、日榜、周榜。

publish-answerD

发布回答, publish answer

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/morrain/zhihuMcpServer'

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