You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The handler must return a hash with a `completion` key containing `values` (array of strings), and optionally `total` and `hasMore`.
229
+
The SDK automatically enforces the 100-item limit per the MCP specification.
230
+
231
+
The server validates that the referenced prompt, resource, or resource template is registered before calling the handler.
232
+
Requests for unknown references return an error.
233
+
186
234
### Logging
187
235
188
236
The MCP Ruby SDK supports structured logging through the `notify_log_message` method, following the [MCP Logging specification](https://modelcontextprotocol.io/specification/latest/server/utilities/logging).
@@ -298,7 +346,6 @@ transport = MCP::Server::Transports::StreamableHTTPTransport.new(server, session
298
346
### Unsupported Features (to be implemented in future versions)
299
347
300
348
- Resource subscriptions
301
-
- Completions
302
349
- Elicitation
303
350
304
351
### Usage
@@ -1056,6 +1103,7 @@ This class supports:
1056
1103
- Resource reading via the `resources/read` method (`MCP::Client#read_resources`)
1057
1104
- Prompt listing via the `prompts/list` method (`MCP::Client#prompts`)
1058
1105
- Prompt retrieval via the `prompts/get` method (`MCP::Client#get_prompt`)
1106
+
- Completion requests via the `completion/complete` method (`MCP::Client#complete`)
0 commit comments