Skip to content

FastMCP with Hierarchical discovery of tools. #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 30, 2025
Merged

Conversation

abhishekbhakat
Copy link
Owner

Closes #21

- Migrate from custom MCP implementation to FastMCP library
- Update dependencies in pyproject.toml and uv.lock
- Remove custom client, parser, and tools modules
- Add empty resources and prompts modules for clean API
- Update server implementations to use FastMCP
- Fix async handling and logging configuration
- Remove unused DAGS folder functionality
@abhishekbhakat
Copy link
Owner Author

abhishekbhakat commented May 30, 2025

There is one big problem is that a lot of clients used cached list of tools not fetched from server every single time, which will stop the refresh of tools once the category is selected.

The Python SDK documentation lacks clear examples for sending notifications/tools/list_changed.

Related Discussion: https://github.com/orgs/modelcontextprotocol/discussions/285

@abhishekbhakat
Copy link
Owner Author

Notification is now implemented. Now it's client's responsibility to refresh the tools list

@abhishekbhakat
Copy link
Owner Author

Seems to be working with vscode just fine:

CleanShot_2025-05-30_at_10 42 38_000219

@abhishekbhakat
Copy link
Owner Author

But I still think we need to make this optional. If someone want's to run native with all tools, that should also be an option.

@abhishekbhakat abhishekbhakat merged commit 91a053d into main May 30, 2025
4 checks passed
@abhishekbhakat abhishekbhakat deleted the fast-mcp branch May 30, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hierarchical Discovery of Tools
1 participant