Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLAUDE_BRIDGE_DBNoPath to the SQLite database file. Overrides default ./claude-bridge.db.
CLAUDE_BRIDGE_MAX_SSENoMaximum total concurrent SSE subscribers across all channels. Default '100'.
CLAUDE_BRIDGE_AUDIT_LOGNoSet to '1' to enable the audit log, which records security-relevant events.
CLAUDE_BRIDGE_AUTH_TOKENNoBearer token for HTTP authentication (opt-in). Set to enable auth on all endpoints except /status.
CLAUDE_BRIDGE_RETENTION_DAYSNoNumber of days to retain messages. If set, a background sweep deletes older messages. (e.g., '30')
CLAUDE_BRIDGE_SSE_REPLAY_LIMITNoBacklog rows replayed on SSE reconnect. Default '500'.
CLAUDE_BRIDGE_MAX_SSE_PER_CHANNELNoMaximum subscribers per channel. Default '25'.
CLAUDE_BRIDGE_RETENTION_SWEEP_SECONDSNoInterval in seconds for the retention sweep background task. Default '3600'.

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
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
bridge_sendA

Publish a durable message. Use content for legacy text/JSON, or message for the versioned structured envelope. Supply idempotency_key when a retry must not create a duplicate.

bridge_receiveA

Read durable messages. Pass since_id for an explicit cursor or consumer_id to resume from that consumer's last acknowledged message.

bridge_waitA

Wait efficiently for new messages after since_id or a durable consumer cursor. Use this instead of repeated polling; timeout is capped at 55 seconds.

bridge_ackA

Acknowledge a message for a named consumer. The durable cursor advances monotonically and is scoped to this channel.

bridge_channelsA

List all active channels and their message counts.

bridge_pingA

Check if the bridge server is alive and get a status summary.

bridge_clearA

Clear all messages from a specific channel. Useful for resetting state.

bridge_statusA

Get the last N messages from ALL channels at once. Useful for getting a full picture of what's happening across agents.

bridge_enqueueA

Add a task to a channel's work queue for a worker to claim. Give payload (structured JSON) or content (a string). Pass idempotency_key so a retried enqueue does not create a duplicate.

bridge_claimA

Atomically claim the next task from a channel's queue — no two workers ever get the same task. The claim holds a lease for lease_seconds; complete or fail it before the lease expires or it is requeued to another worker. Set wait_seconds to long-poll.

bridge_completeA

Mark a claimed task completed. Requires the lease_token returned by bridge_claim; a task whose lease expired and was reclaimed cannot be completed by the previous holder.

bridge_failA

Mark a claimed task failed. By default it is requeued (after retry_delay_seconds) until max_attempts is exhausted, then dead-lettered; set requeue=false to dead-letter immediately. Requires the lease_token from bridge_claim.

bridge_tasksB

Inspect a channel's task queue: per-status counts plus a recent task list. Read-only.

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/constripacity/Claude-Bridge'

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