Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MINDSYNC_HOMENoLocal data root~/.mindsync
MINDSYNC_SSH_HOSTNoSSH host; empty disables remote
MINDSYNC_REMOTE_ROOTNoRemote project root; empty disables remote
MINDSYNC_SSH_TIMEOUTNoSSH connect timeout (seconds)3
MINDSYNC_LOCK_TIMEOUTNoLocal lock wait (seconds)5
MINDSYNC_REMOTE_ENV_FILENoOptional file sourced on remote before commandsconfig/mindsync.env
MINDSYNC_FOCUS_STALE_SECSNoIgnore older focus entries7200
MINDSYNC_REMOTE_CACHE_TTLNoCache TTL for online probe30
MINDSYNC_REMOTE_TRUTH_SUBDIRNoMarkdown summaries directorycompiled-truth
MINDSYNC_REMOTE_WRITE_SCRIPTNoRelative to remote roottools/mindsync_fact.py
MINDSYNC_REMOTE_CONSOLIDATE_SCRIPTNoRelative to remote roottools/mindsync_consolidate.py

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_sync_contextA

Load local session state + compiled truth. Optionally pull remote truth first.

Offline-first: always returns local data even if remote is unreachable or disabled.

update_focusC

Update this agent's focus and warn on overlaps with other non-stale agents.

queue_durable_factC

Write a durable fact remotely if online; otherwise queue locally for later flush.

sync_offline_factsC

Flush the offline queue to remote, optionally consolidate + pull compiled truth.

pull_truthC

Pull compiled-truth markdown from the remote host into the local cache.

publish_eventC

Publish an event to the AgentRelay Event Bus.

poll_eventsC

Poll events from the Event Bus since sequence number since_seq.

subscribe_eventsC

Subscribe an agent to specific event types on the Event Bus.

delegate_taskB

Delegate a task to a headless CLI agent or role.

The default agent='auto' selects an installed worker by capability. Pass required_capabilities when the orchestrator already knows what the task needs, and exclude_agents to keep the human-facing orchestrator out of the worker pool. Direct agent selection and static roles remain available as explicit overrides. If worktree is True, the agent runs in an isolated git worktree branching from cwd. checks are shell commands run after the agent finishes (for example a test command); read their outcome with job_review before spending anything on the job's output. Optional memory_project enables automatic local session-memory bootstrap and finalization for the given project key without storing raw prompts in memory.

route_taskB

Preview automatic worker selection without launching a job.

get_orchestration_policyB

Read automatic delegation policy. Call when deciding whether to delegate or offer it.

list_agentsB

List dispatch agents with live binary availability and routing capabilities.

job_statusC

Check the status of a delegated job.

job_waitA

Wait for a background job to finish and return its review as a completion ping.

Call this immediately after delegate_task(background=True) instead of repeatedly polling job_status or ending the turn. The pending MCP call resumes when the job completes, fails, or is cancelled, so the orchestrator can review and report the outcome without the human babysitting it.

job_reviewA

Get a mechanical review verdict for a job, including check results and diff summary. Call this before job_result to skip reading the output of work that did not pass.

job_resultC

Fetch the result file content for a completed job.

job_cancelC

Cancel a running job and kill its process tree.

list_modelsB

List available models for the given agent or all agents. Use this for choosing a model before delegating a task.

list_rolesA

List configured roles and their agent, model, and effort mappings.

Prefer specifying a role over an agent name when delegating tasks so that model and effort configurations are applied automatically.

healthB

Report local paths, queue depth, and remote reachability.

session_startC

Start a tracked local-memory session and return its session ID.

memory_checkpointB

Save validated, best-effort-redacted structured session memory.

session_endA

Mark a memory session as completed or failed.

memory_bootstrapB

Retrieve bounded project context, prioritizing open and recent sessions.

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/adityarya24/mindsync-ai'

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