CCCPaste

SAMMI MCP GET SESSION ID

{ "color": 12632256.0, "persistent": 1.0, "text": "MCP Get Session ID", "release_duration": 0.0, "queueable": 0.0, "command_list": [ { "b1": "=", "cmd": 15.0, "obsid": "Main", "pos": 0.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "elgato_mcp_url", "b2": "\"http:\/\/localhost:9090\/mcp\"" }, { "cmd": 6.0, "obsid": "Main", "pos": 1.0, "vis": 0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 72.0, "b0": "Each time you ask for a session ID with the below command it will make a new session ID\nThe old session id will also still work until mcp server shut off\nOnly need one ID\nDON'T TOUCH BELOW", "v0": 5.0 }, { "cmd": 16.0, "obsid": "Main", "pos": 2.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "mcpheaders" }, { "b1": "Content-Type", "cmd": 165.0, "obsid": "Main", "pos": 3.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "mcpheaders", "b2": "\"application\/json\"" }, { "b1": "Accept", "cmd": 165.0, "obsid": "Main", "pos": 4.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "mcpheaders", "b2": "\"application\/json, text\/event-stream\"" }, { "b1": "POST", "b3": "{\"jsonrpc\":\"2.0\",\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2024-11-05\",\"capabilities\":{},\"clientInfo\":{\"name\":\"test\",\"version\":\"1.0\"}},\"id\":1}", "cmd": 169.0, "obsid": "Main", "pos": 5.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "async": 0.0, "b0": "\/$elgato_mcp_url$\/", "b4": "mcpsession", "b2": "mcpheaders" }, { "b1": "=", "cmd": 15.0, "obsid": "Main", "pos": 6.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "mcpsessionid", "b2": "mcpsession.response_headers.mcp-session-id" } ], "press_type": 0.0, "x": 0.0, "is_transparent": 0.0, "border": 2.0, "image": "", "triggers": [ ], "group_id": "", "overlappable": 0.0, "init_variable": "{\n\"mcpsessionid\" : \"empty\"\n}", "deck": 18.0, "width": 0.20000000000000001110223024625157, "button_id": "MCP_GETSESSION", "button_duration": 0.0, "y": 0.0, "switch_deck": "", "height": 0.20000000000000001110223024625157, "release_list": [ ], "functions": 2113.0, "stretch": 0.0 }