Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort the server listens on8787
DOCS_DIRNoFolder with the tutorialsdocs
SITE_DIRNoLocal clone of the site repo. Turns on deploying from the connector (Docker sets it automatically)
DOCS_REPOYesThe docs repository in owner/name form
KEYS_FILENoFile that holds personal keys/data/keys.json
MCP_SECRETNoYour own connector key (24+ random characters). Needed for server mode unless you use only personal keys
PUBLIC_URLNoPublic address of the server, used to print personal connector URLs
ADMIN_TOKENNoTurns on the admin API; 24+ random characters
AUTO_DEPLOYNoRedeploy after every change. Set to false to leave it to deploy_sitetrue
DOCS_BRANCHNoBranch the site is built frommain
GITHUB_TOKENYesGitHub fine-grained personal access token with Contents: Read and write access to the docs repo
DEPLOY_COMMANDNoCommand that builds and publishes the site, run in SITE_DIR (use mkdocs gh-deploy for MkDocs)npm run deploy

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tutorialsA

List all tutorial Markdown files in the documentation repo.

read_tutorialB

Read the current Markdown source of a tutorial.

publish_tutorialA

Create a new tutorial or fully replace an existing one. Front matter (title, description, sidebar_position) is added automatically if the content has none.

edit_tutorialA

Make a targeted edit to an existing tutorial by replacing an exact piece of text. The old text must appear exactly once.

delete_tutorialB

Delete a tutorial from the documentation repo. Confirm with the user before calling.

upload_imageA

Download an image from a public https URL and save it in the docs site, so a tutorial can show it without linking to another website. Returns the Markdown to put in the tutorial. Only use images you may reuse (for example under a free license), and credit the author in the tutorial when the license asks for it.

deploy_siteA

Rebuild the documentation website and publish it, so tutorials on the docs branch go live. Call it after publishing, editing or deleting tutorials. Takes a minute or two.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

The tools mostly have clearly distinct purposes: list/read/publish/edit/delete tutorials, upload images, and deploy the site. The only mild ambiguity is between publish_tutorial (create or fully replace content) and deploy_site (make the site live), since both use publishing language, but the descriptions clarify the distinction.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: list_tutorials, read_tutorial, publish_tutorial, edit_tutorial, delete_tutorial, upload_image, deploy_site. The convention is predictable and easy to scan.

Tool Count5/5

Seven tools is well-scoped for a documentation publishing server. Each tool corresponds to a meaningful operation in the tutorial lifecycle, with no obvious filler.

Completeness4/5

The surface covers the core tutorial lifecycle: list, read, create/replace, targeted edit, delete, image upload, and deployment. Minor gaps exist around image management (e.g., deleting or listing uploaded images) and deployment status/rollback, but normal documentation workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues