create_session
Start a session to get the session_id required by every other MCP GeneLab tool; call it once at the start and again if the session expires or is unknown.
Instructions
Start a session and obtain the session_id that EVERY other tool
on this server requires.
WHEN TO USE THIS TOOL: Call this ONCE at the beginning of a conversation, before any other mcp-genelab tool. Also call it again whenever a tool replies that the session is unknown or expired.
WHY:
This server runs as a single shared process serving many users at
once. The session id is the only thing that keeps YOUR output
directory and YOUR generated plots (retrievable via fetch_plot,
get_save_script and the plot://{session_id}/{filename} resource)
separate from everyone else's. It is an opaque bearer token —
treat it as private to this conversation and never guess one.
LIFETIME: A session expires after a period of inactivity (default 60 min) or an absolute maximum age (default 8 h), whichever comes first. Expired sessions drop their plots; regenerate them under a new session.
RETURNS:
A short message containing session_id: <token>. Extract the token
and pass it as the session_id argument on every subsequent call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||