Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost/interface to listen on for HTTP mode. Defaults to loopback (127.0.0.1).127.0.0.1
MCP_PORTNoPort for HTTP mode. Default is 3000.3000
MCP_DB_PATHNoPath to the SQLite database file. Default is `data/tasks.db`.data/tasks.db
MCP_ALLOWED_HOSTSNoComma-separated list of allowed Host header hostnames (without scheme and port). Required when MCP_HOST is set to a non-loopback interface.
MCP_ALLOWED_ORIGINSNoComma-separated list of allowed Origin hostnames (without scheme and port). Required when MCP_HOST is set to a non-loopback interface.
MCP_AUTH_TOKENS_JSONNoJSON object mapping user IDs to Bearer tokens for HTTP authentication, e.g. `{"alice":"alice-token"}`. Required for Streamable HTTP mode.
REQUEST_STATE_SECRETNoSecret used to sign requestState in the delete confirmation flow. Must be at least 32 bytes. If not set, a temporary random key is generated (not suitable for multi-process deployments).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This is a demonstration MCP server. Use task tools to create, list, complete, or delete persistent tasks; use resources for read-only context and prompts for reusable task templates.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
addA

Add two finite numbers and return both text and structured output.

echoA

Return text unchanged or transformed to upper/lower case.

current-timeA

Return the current time in an IANA time zone.

multiplyA

计算两个有限数字的乘积,返回结构化结果

process_stepsA

Run a small staged operation that demonstrates MCP progress notifications and cancellation.

create_taskC

Create and persist a new task.

list_tasksA

List all persisted tasks.

complete_taskB

Mark a persisted task as completed.

delete_taskA

Permanently delete a task after explicit user confirmation.

Prompts

Interactive templates invoked by user choice

NameDescription
summarize-textCreate a reusable instruction for summarizing supplied text.
review-codeCreate a structured code-review request.

Resources

Contextual data attached and managed by the client

NameDescription
task-boardA read-only snapshot of all persisted tasks.
aboutServer metadata and a summary of the exposed MCP primitives.
World greetingA dynamic text resource addressed by name.
MCP greetingA dynamic text resource addressed by name.

TDQS

B3.3/5.0

Scored across 9 tools

Disambiguation4/5

The task lifecycle tools (create/list/complete/delete) have crisp, non-overlapping boundaries, and add vs multiply vs current-time are each clearly distinct. The only soft spot is process_steps, a vague demo utility whose purpose ('staged operation with progress notifications') doesn't map to an obvious user intent and could be confused with echo as a generic test tool.

Naming Consistency2/5

Three conventions coexist: bare verbs (add, echo, multiply), a kebab-case noun (current-time), and snake_case verb_noun for the task group (create_task, list_tasks, complete_task, delete_task). The task cluster is internally consistent, but the set as a whole mixes styles and verb patterns without a predictable rule.

Tool Count4/5

Nine tools is well within a sensible range and the task CRUD group clearly earns its place. The math/echo/time/process_steps tools are demonstrative filler, but reasonable for what appears to be a reference/demo server.

Completeness3/5

The task entity supports create, list, complete, and delete, but there is no get-by-id and no general update (rename, edit description, reopen), so an agent cannot correct or inspect a single task beyond the list snapshot. The utility tools are individually complete but don't form a domain with coverage requirements.

Maintenance

ActivityStale
ResponsivenessNo recent community issues