MCP servers provide powerful tools for AI agents but often expose too many tools, leading to LLM confusion, increased token costs, and potential destructive actions. The solution is filtering tools to only include what's needed for specific tasks. GitHub Copilot in VS Code offers global configuration and custom chat modes for tool filtering. Python frameworks like Langchain v1 and Pydantic AI provide programmatic ways to filter MCP server tools by creating filtered tool lists before passing them to agents.

6m read timeFrom blog.pamelafox.org
Post cover image
Table of contents
Agentic coding with GitHub Copilot in VS CodePython AI agent frameworks

Sort: