|
| 1 | +{ |
| 2 | + "JWT": { |
| 3 | + "_media-type": "application/vnd.ibexa.api.JWT+json", |
| 4 | + "_token": "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ.abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyz1234567890ABCD.EFGHIJKL-MNOPQRSTUVWXYZ12345678901234567890", |
| 5 | + "token": "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ.abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyz1234567890ABCD.EFGHIJKL-MNOPQRSTUVWXYZ12345678901234567890" |
| 6 | + } |
| 7 | +} |
| 8 | +HTTP/1.1 200 OK |
| 9 | +Access-Control-Allow-Headers: Content-Type, Mcp-Session-Id, Mcp-Protocol-Version, Last-Event-ID, Authorization, Accept |
| 10 | +Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS |
| 11 | +Access-Control-Allow-Origin: * |
| 12 | +Access-Control-Expose-Headers: Mcp-Session-Id |
| 13 | +Cache-Control: no-cache, private |
| 14 | +Content-Type: application/json |
| 15 | +Date: Tue, 28 Apr 2026 09:53:27 GMT |
| 16 | +Mcp-Session-Id: 12345678-9abc-def0-1234-56789abcdef0 |
| 17 | +Server: Apache/2.4.66 (Debian) |
| 18 | +Vary: cookie,authorization |
| 19 | +X-Cache-Debug: 1 |
| 20 | +X-Debug-Token: 123456 |
| 21 | +X-Debug-Token-Link: http://localhost/_profiler/123456 |
| 22 | +X-Powered-By: Ibexa Commerce v5 |
| 23 | +X-Robots-Tag: noindex |
| 24 | +Transfer-Encoding: chunked |
| 25 | + |
| 26 | +{ |
| 27 | + "jsonrpc": "2.0", |
| 28 | + "id": 1, |
| 29 | + "result": { |
| 30 | + "protocolVersion": "2025-06-18", |
| 31 | + "capabilities": { |
| 32 | + "logging": {}, |
| 33 | + "completions": {}, |
| 34 | + "prompts": { |
| 35 | + "listChanged": true |
| 36 | + }, |
| 37 | + "resources": { |
| 38 | + "listChanged": true |
| 39 | + }, |
| 40 | + "tools": { |
| 41 | + "listChanged": true |
| 42 | + } |
| 43 | + }, |
| 44 | + "serverInfo": { |
| 45 | + "name": "example", |
| 46 | + "version": "1.0.0", |
| 47 | + "description": "Example MCP Server" |
| 48 | + }, |
| 49 | + "instructions": "Use this server to greet someone." |
| 50 | + } |
| 51 | +} |
| 52 | +HTTP/1.1 202 Accepted |
| 53 | +Access-Control-Allow-Headers: Content-Type, Mcp-Session-Id, Mcp-Protocol-Version, Last-Event-ID, Authorization, Accept |
| 54 | +Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS |
| 55 | +Access-Control-Allow-Origin: * |
| 56 | +Access-Control-Expose-Headers: Mcp-Session-Id |
| 57 | +Cache-Control: no-cache, private |
| 58 | +Content-Length: 0 |
| 59 | +Content-Type: text/html; charset=UTF-8 |
| 60 | +Date: Fri, 24 Apr 2026 11:16:27 GMT |
| 61 | +Server: Apache/2.4.66 (Debian) |
| 62 | +Vary: cookie,authorization |
| 63 | +X-Cache-Debug: 1 |
| 64 | +X-Debug-Token: 7890ab |
| 65 | +X-Debug-Token-Link: http://localhost/_profiler/7890ab |
| 66 | +X-Powered-By: Ibexa Commerce v5 |
| 67 | +X-Robots-Tag: noindex |
| 68 | + |
| 69 | +{ |
| 70 | + "jsonrpc": "2.0", |
| 71 | + "id": 2, |
| 72 | + "result": { |
| 73 | + "tools": [ |
| 74 | + { |
| 75 | + "name": "greet", |
| 76 | + "inputSchema": { |
| 77 | + "type": "object", |
| 78 | + "properties": { |
| 79 | + "name": { |
| 80 | + "type": "string", |
| 81 | + "description": "The name of the person to greet" |
| 82 | + } |
| 83 | + }, |
| 84 | + "required": [ |
| 85 | + "name" |
| 86 | + ] |
| 87 | + }, |
| 88 | + "description": "Greet a user by name", |
| 89 | + "annotations": { |
| 90 | + "readOnlyHint": true, |
| 91 | + "destructiveHint": false, |
| 92 | + "idempotentHint": true, |
| 93 | + "openWorldHint": false |
| 94 | + }, |
| 95 | + "icons": [ |
| 96 | + { |
| 97 | + "src": "https://openmoji.org/data/color/svg/1F44B.svg" |
| 98 | + } |
| 99 | + ], |
| 100 | + "outputSchema": { |
| 101 | + "type": "object", |
| 102 | + "properties": { |
| 103 | + "general": { |
| 104 | + "type": "string", |
| 105 | + "description": "the safe way to greet someone" |
| 106 | + }, |
| 107 | + "close": { |
| 108 | + "type": "string", |
| 109 | + "description": "when you're close to the person, like friends or relatives" |
| 110 | + }, |
| 111 | + "morning": { |
| 112 | + "type": "string", |
| 113 | + "description": "when it's in the morning" |
| 114 | + }, |
| 115 | + "afternoon": { |
| 116 | + "type": "string", |
| 117 | + "description": "when it's the afternoon" |
| 118 | + }, |
| 119 | + "evening": { |
| 120 | + "type": "string", |
| 121 | + "description": "when it's late in the day" |
| 122 | + } |
| 123 | + } |
| 124 | + } |
| 125 | + } |
| 126 | + ] |
| 127 | + } |
| 128 | +} |
| 129 | +{ |
| 130 | + "jsonrpc": "2.0", |
| 131 | + "id": 3, |
| 132 | + "result": { |
| 133 | + "content": [ |
| 134 | + { |
| 135 | + "type": "text", |
| 136 | + "text": "{\n \"general\": \"Hello, World!\",\n \"close\": \"Hey, World!\",\n \"morning\": \"Good morning, World!\",\n \"afternoon\": \"Good afternoon, World!\",\n \"evening\": \"Good evening, World!\"\n}" |
| 137 | + } |
| 138 | + ], |
| 139 | + "isError": false, |
| 140 | + "structuredContent": { |
| 141 | + "general": "Hello, World!", |
| 142 | + "close": "Hey, World!", |
| 143 | + "morning": "Good morning, World!", |
| 144 | + "afternoon": "Good afternoon, World!", |
| 145 | + "evening": "Good evening, World!" |
| 146 | + } |
| 147 | + } |
| 148 | +} |
| 149 | +{ |
| 150 | + "jsonrpc": "2.0", |
| 151 | + "id": 4, |
| 152 | + "result": { |
| 153 | + "prompts": [ |
| 154 | + { |
| 155 | + "name": "greet", |
| 156 | + "description": "Prompt to be greeted by the `greet` tool", |
| 157 | + "arguments": [ |
| 158 | + { |
| 159 | + "name": "name", |
| 160 | + "description": "The name you want to be greeted by", |
| 161 | + "required": true |
| 162 | + } |
| 163 | + ], |
| 164 | + "icons": [ |
| 165 | + { |
| 166 | + "src": "https://openmoji.org/data/color/svg/1F91D.svg" |
| 167 | + } |
| 168 | + ] |
| 169 | + } |
| 170 | + ] |
| 171 | + } |
| 172 | +} |
| 173 | +{ |
| 174 | + "jsonrpc": "2.0", |
| 175 | + "id": 5, |
| 176 | + "result": { |
| 177 | + "messages": [ |
| 178 | + { |
| 179 | + "role": "user", |
| 180 | + "content": { |
| 181 | + "type": "text", |
| 182 | + "text": "Hi. My name is Firstname Lastname. Please, greet me." |
| 183 | + } |
| 184 | + } |
| 185 | + ] |
| 186 | + } |
| 187 | +} |
0 commit comments