Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CSTCLOUD_COOKIEYesYour `overleaf.sid` session cookie (required).
CSTCLOUD_BASE_URLNoCustom server URL (default: `https://latex.cstcloud.cn`).https://latex.cstcloud.cn

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_projectsA

List all LaTeX projects on your CSTCloud (latex.cstcloud.cn) account. Returns project names, IDs, last-updated timestamps, and owner info. Use this to discover available projects before reading or editing files.

get_project_filesA

Get the file tree (all files and folders) of a CSTCloud LaTeX project. Returns a flat list of files with their IDs, names, types (doc/file), and full paths. You need the file ID from this list to read or write specific files.

read_fileA

Read the content of a document (.tex, .bib, .cls, .sty, etc.) in a CSTCloud LaTeX project. Returns the full text content of the file. Use get_project_files first to find the file ID.

write_fileA

Write (replace) the content of a document in a CSTCloud LaTeX project. This replaces the entire file content with the provided text. WARNING: If another user is editing the same file simultaneously, changes may conflict. Use read_file first to get the current content, then modify and write back.

compile_projectA

Trigger a remote LaTeX compilation for a CSTCloud project. Returns the compilation status (success/failure) and a list of output files. After compiling, use get_compile_log to see detailed error messages.

get_compile_logA

Get the compilation log from the most recent LaTeX build of a CSTCloud project. Returns both the raw log text and parsed error/warning entries with file and line information. Call compile_project first to trigger a compilation.

start_syncA

Start real-time bidirectional sync between a CSTCloud LaTeX project and a local folder, so you can open and edit the project directly in your IDE. Performs an initial sync immediately and keeps syncing in the background.

stop_syncB

Stop an active bidirectional sync session for a CSTCloud LaTeX project.

sync_statusA

Get the status, statistics, and recent sync logs for active CSTCloud bidirectional sync sessions.

configure_authA

Save and verify your CSTCloud LaTeX session cookie (overleaf.sid) to ~/.cstcloud-sync/config.json so all CSTCloud tools and bidirectional sync work without editing mcp_config.json.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 10 tools

Disambiguation5/5

Each tool targets a clearly distinct resource or lifecycle stage: listing projects, inspecting a file tree, reading/writing a single file, compiling, fetching logs, and the start/stop/status of sync sessions. The hierarchy (list_projects -> get_project_files -> read_file) is explained in descriptions, so an agent can pick the right tool without confusion.

Naming Consistency4/5

Nearly all tools follow a snake_case verb_noun pattern (list_projects, get_project_files, read_file, write_file, compile_project, get_compile_log, start_sync, stop_sync, configure_auth). The only deviation is sync_status, which is noun-only rather than verb_noun, a minor inconsistency within an otherwise predictable set.

Tool Count5/5

Ten tools is well within the ideal range and each earns its place, covering project discovery, file operations, compilation, diagnostics, auth, and sync. There is no obvious redundancy or padding in the set.

Completeness3/5

The surface covers reading and replacing file content plus compilation and sync, but there is no way to create a new project, create a new file, or delete/rename files, so write_file only fully serves existing documents. These are notable gaps that would cause dead ends for common project-setup and cleanup workflows.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues