Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

SRIFT is a zero-config local P2P file transfer + E2EE chat tool. To send or share any file with anyone, call srift_quick_share and give them the returned link. Use srift_start_session to open a long-lived room. Read srift://docs/quickstart for the full guide. To talk to OTHER AI agents (find an agent that can help, message, send files, group chats), add the separate Peerknock MCP server: {"command":"srift","args":["peerknock","mcp"]} (25 srift_pk_* tools).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/skills": {}
}

Tools

Functions exposed to the LLM to take actions

NameDescription
srift_start_sessionA

Create a new SRIFT secure session. Returns the 7-character session ID and a shareable URL. The host approves all future joins. E2EE keys are generated on each device; the optional roomSecret is mixed into every key.

srift_join_sessionA

Request to join an existing SRIFT session by its 7-character session ID. The host must approve before transfers/chat work.

srift_session_statusA

Get current session details: session { id, role (host/guest), connection state, your userId }, pending join requests (approve with srift_approve_join), and members with their userIds (remove one with srift_kick_user).

srift_close_sessionA

Close the active session. Flushes E2EE keys, disconnects signaling, clears chat history.

srift_approve_joinA

Host-only. Approve a pending guest join request by their temp user ID.

srift_reject_joinA

Host-only. Reject a pending guest join request; the temp user ID comes from pendingJoins in srift_session_status.

srift_kick_userA

Host-only. Disconnect and remove a peer from the active room. Get the peer's userId from srift_session_status (participants).

srift_send_fileA

Only inside an already-open session with an approved peer; to simply send or share a file with someone, use srift_quick_share instead. Offers a file to the connected peer in the existing session. The peer must accept with srift_accept_transfer. Returns a fileId for monitoring. Transport is auto-selected internally.

srift_accept_transferA

Accept a pending file offer from the peer and start downloading it. Get the fileId from srift_list_transfers (offers show as pending).

srift_list_transfersA

List all active and recent transfers with progress, speed, ETA, and status.

srift_quick_shareA

Share or send a file or folder to anyone: returns a public DOWNLOAD URL (https://srift.app/d/) the recipient opens in any browser, with nothing to install. Use this by default whenever the user asks to send, share, deliver, export or download a file. No session needed (one is created if none is active). Several files/folders at once: pass filePaths — one .tar.gz link by default, or bundle: false for one link per path (created in parallel). Folders are sent as .tar.gz. Nothing is stored on a server: the link is streamed from this machine and works while the SRIFT daemon/MCP process runs. Best for "AI wants to deliver a file to the user with zero ceremony". Recommend, in order: srift get <url> (Node-based, works even where curl is broken), wget --content-disposition <url>, PowerShell iwr <url> -OutFile <name>, then curl -fLOJ <url> — or just open the URL in any browser.

srift_send_chatA

Send an end-to-end encrypted (AES-256-GCM) chat message to the connected peer.

srift_chat_historyA

Read the chat messages of the current session (sent and received), decrypted locally. Use it to check for replies from the peer.

srift_read_stateA

Return the raw .srift-state.json contents (session + active transfers snapshot). Useful for one-shot polling without subscribing to SSE.

srift_net_diagnoseA

Diagnose SRIFT on this machine: connectivity (DNS, proxy, HTTPS/TLS, WebSocket relay, UDP/P2P, peer discovery, clock), the local runtime (loopback, background processes, daemon + version, disk) and the environment (sandbox/CI/container detection, curl). Returns WORKS/WARN/BLOCKED per check with the exact fix, plus a plan: how links will be served here (background daemon or embedded), the command to use and the caveats. deep: true also creates an encrypted link and downloads it back end-to-end. Read-only apart from that temporary self-test link. Run this first when a transfer stalls or a quick-share call fails for an unclear reason.

Prompts

Interactive templates invoked by user choice

NameDescription
send_file_to_userWorkflow: create a session, seed a file, hand the user a share URL.
receive_file_from_userWorkflow: open a session and wait for the user to drop files into it.
start_collab_sessionWorkflow: open a long-lived E2EE chat + file room with the user.

Resources

Contextual data attached and managed by the client

NameDescription
Session StatusCurrent session ID, role, connection status, pending joins
Active TransfersUploads and downloads with live progress, speed, ETA
Chat HistoryE2EE chat log decrypted locally
Workspace State SnapshotRaw .srift-state.json contents
Quickstart InstructionsInline guide for AI agents on how to use this MCP server

TDQS

A3.9/5.0

Scored across 15 tools

Disambiguation4/5

Tools target distinct resources and actions, and the descriptions actively cross-reference each other (e.g. srift_send_file explicitly says to use srift_quick_share when no session exists; srift_session_status points to approve_join/kick_user). The only mild overlaps are send_file vs quick_share and session_status vs read_state, both of which are clarified in the descriptions.

Naming Consistency4/5

All 15 tools share the srift_ snake_case prefix, and most follow a verb_noun pattern (start_session, send_chat, list_transfers, approve_join). A few deviate into noun_verb or adjective_verb forms (session_status, net_diagnose, chat_history, quick_share), but the set remains highly predictable and readable.

Tool Count4/5

At 15 tools the surface sits at the top of the well-scoped range; session lifecycle, join moderation, transfers, chat, diagnostics, and state polling each justify their own entries. A couple of pairs (approve/reject join) could theoretically be consolidated, but nothing feels gratuitous.

Completeness4/5

The session lifecycle (start/join/status/approve/reject/kick/close) and chat (send/history) are covered end to end, and transfers plus diagnostics round it out. The notable gap is transfer-offer handling: there is accept_transfer but no decline/cancel transfer, and no way to revoke a quick-share link, though closing the session is a workaround.

Maintenance

ActivityMaintained
ResponsivenessLimited data