Skip to content

Add support for searching/auto-loading tools #5581

@remyleone

Description

@remyleone

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

It would be helpful to have a way for the embedded MCP server to load unload tools depending on the context provided by the agent.
Those tools could be loaded in an async fashion when requested to avoid bloating up the context.

How I imagine scw could expose this functionality

scw mcp server serve --search-only

When using this, no tools nor resources are loaded prior to only request and tools are loaded on demand.

References

Metadata

Metadata

Assignees

Labels

agentAll the issues related to make the CLI work better with coding agentsenhancementmcpTickets related to the Model Context Protocol embedded in the CLIpriority:mediumImprovements that are not the main priority
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions