Skip to content

Limit visible MCP tools with restricted token #287

Description

@benthecarman

When initializing the MCP server we give the model a list of tools that it can use. After #273 / #274 the auth credential it has may make it so it can't use many of these tools and would be wasted context and likely will confuse the model if it tries to call them. Instead we can call the get_permissions endpoint on startup and then only expose those to the model.

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