Skip to content

Outdated tools cache wont revalidate #207

Closed

Description

@philipp-winterle

Szenario:

  • MCP Server Version 1 added with 2 tools (a,b)
  • Next startup the mcp server is (@latest) updated and has now 4 tools (c,d,e,f) but lost tools a,b
  • MCP proxy will list only c,d,e,f in WebUI but if requested with retrieve tools smart-mcp-proxy will return a,b,c,d,e,f.

Issue: No cache invalidation on tool update

Solution:

  • TTL for tools and at least a check on startup if tools still exist , better periodic
  • Rebuild cache for a mcp servers on change (hash over all tools to compare)

Activity

  1. Dumbris commented on Dec 19, 2025

    @Dumbris
    Member

    FYI - opened #209 to track subscribing to notifications/tools/list_changed from upstream servers. This will make tool re-indexing fully automatic instead of relying on manual refresh or the 5-minute background timer.

  2. philipp-winterle commented on Dec 19, 2025

    @philipp-winterle
    ContributorAuthor

    Very good idea. So #208 is not needed anymore?

  3. Dumbris commented on Dec 19, 2025

    @Dumbris
    Member

    Very good idea. So #208 is not needed anymore?

    I’d still merge #208. Even if notifications/tools/list_changed becomes the main mechanism, a manual refresh/invalidation path is useful for testing and as a fallback. The feature is working and complementary rather than redundant.

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