Skip to content

[Feature]: Configure timing for tools discovery #608

Closed

Description

@albertovelo

Problem / motivation

Hello,
I have an MCP server of mine mounted in mcpproxy, and see ListToolsRequest calls are sent to it every minute.
I might be wrong, but I didn't find a setting to tune this value.

Proposed solution

Add a setting to configure the timing. Maybe having a default and an override for single servers would be the best solution?

Thank you!
al.

Alternatives considered

No response

Which edition?

Personal

Pre-submission checklist

  • I searched existing issues and discussions for a similar request

Activity

  1. Dumbris commented on Jun 6, 2026

    @Dumbris
    Member

    Hi @albertovelo — thanks for the report! This is now addressed (PR #609).

    Two things changed:

    1. Lighter liveness checks. mcpproxy no longer uses a full tools/list as its periodic health probe — it now uses the MCP-standard lightweight ping. So the heavy, recurring ListToolsRequest you were seeing is gone regardless of interval. (Reactive updates via notifications/tools/list_changed continue to work, so tool changes are still picked up promptly.)

    2. Configurable intervals — exactly as you suggested, a global default plus an optional per-server override:

      {
        // global defaults
        "health_check_interval": "30s",   // liveness ping cadence
        "tool_discovery_interval": "5m",  // periodic tools/list re-index sweep
        "mcpServers": [
          {
            "name": "my-server",
            // per-server override (optional; falls back to global, then default)
            "health_check_interval": "2m",
            "tool_discovery_interval": "0s"   // "0s" disables the periodic sweep for this server
          }
        ]
      }
      • Unset = built-in default. "0s" = disabled. Both are also editable in the Web UI and macOS app under Settings → Advanced → Tool discovery & health checks.
      • Ranges: health_check_interval accepts 0s or 5s–1h; tool_discovery_interval accepts 0s or 30s–24h.
      • Note: if you disable the discovery sweep for a server that does not advertise listChanged, tool changes will only be picked up on (re)connect — fine for static servers, worth knowing for dynamic ones.

    Will land in the next release. Thanks again for the clear write-up!

  2. albertovelo commented on Jun 6, 2026

    @albertovelo
    Author

    @Dumbris Wonderful! Thank you so much, I love this project 👏

  3. albertovelo commented on Jun 7, 2026

    @albertovelo
    Author

    @Dumbris I just made a quick test and it's working perfectly: I'm closing this issue, thanks again!

    Maybe you could just update https://docs.mcpproxy.app/configuration/config-file/ to include these new settings.

  4. Dumbris commented on Jun 8, 2026

    @Dumbris
    Member

    @albertovelo glad it's working well for you, and thanks for the nudge on the docs! 🙏

    The settings are now documented on the docs site:

    Shipped in #623 (merged to main); the live docs site will pick it up on the next deploy. Thanks again for using mcpproxy! 🚀

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