Skip to content

Elicitation not working #68

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
  }
})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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