Skip to content

Elicitation not working #68

@prescottprue

Description

@prescottprue

Elicitation feature described in the docs seems to not be working. When doing what is shown in the example I recieve a type error when trying to pass elicitation to capabilities:

// Register plugin with elicitation support
await app.register(mcpPlugin, {
  enableSSE: true, // Required for elicitation
  capabilities: {
    // Causes type error
    elicitation: {} // Enable elicitation capability
  }
})

Even if the type error is ignored the capability still is not triggered:

// Register plugin with elicitation support
await app.register(mcpPlugin, {
  enableSSE: true, // Required for elicitation
  capabilities: {
      // @ts-expect-error: docs specify passing this but types don't match
    elicitation: {} // Enable elicitation capability
  }
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions