Skip to content

Dynamic Tool Discovery #32

Open
Open
@pulkitsharma07

Description

@pulkitsharma07

Currently the mcp server exposes all tools by default. As we add support for more tools, this will lead to increased token usage and can also cause confusion/hallucinations in tool usage by the MCP clients.

Github has implemented dynamic toolsets to address this: github/github-mcp-server#275

For TypeScript we can use this feature: https://github.com/modelcontextprotocol/typescript-sdk?tab=readme-ov-file#dynamic-servers

Instead of toolsets/launch args or flags while installing the MCP server, We can expose one tool initially: enableProducts which will take a list of products to enable tools for, i.e. ["automate", "test management", ...] and then enable only those tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions