Notes
This release of the Python agent adds support for the Model Context Protocol (MCP) and fixes import logic for importlib.metadata and pkg_resources.
Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.
New features
Add support for Model Context Protocol (MCP)
Bug fixes
Fix import logic for
importlib.metadataandpkg_resources- Updates logic around import of
importlib.metadatato also attempt to use theimportlib_metadatabackport before falling back topkg_resources.*. This also removes use ofsys.versionconditionals and fixes issues where Python 3.9 could only usepkg_resourcesdespite havingimportlib.metadataavailable.
- Updates logic around import of
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.