demo-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| echoA | 回显输入文本,可用于测试 server 是否连通。 Args: text: 要回显的文本。 Returns: 与输入完全一致的字符串。 |
| system_infoA | 返回当前运行 server 的系统与解释器信息。 |
| read_text_fileA | 读取一个本地文本文件的内容。 Args: path: 文件的绝对路径或相对于 server 启动目录的相对路径。 max_bytes: 最多读取的字节数,防止把超大文件喂给 LLM,默认 64KB。 Returns: 文件文本内容(UTF-8 解码,非法字节会被替换)。 |
| addA | 计算两个数之和。 |
| calculateA | 对一个简单的算术表达式求值。 仅允许数字、空白以及 Args:
expression: 例如 Returns: 表达式的字符串化结果。 |
| get_current_timeA | 获取当前时间。 Args: tz: 可选 IANA 时区名(例如 "Asia/Shanghai", "UTC", "America/New_York")。未提供时使用系统本地时区。 Returns: ISO-8601 格式的时间字符串。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| summarize | 生成一个让模型用中文总结给定文本的提示。 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/ZureJack/demo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server