mcp server :- from fastmcp.server.auth.providers.jwt import JWTVerifier cannot be resolve

When trying to use JWTVerified, I getting this error :-

from fastmcp.server.auth.providers.jwt import JWTVerifier  cannot be resolve

Then have to ensure I added the following packages 

pip uninstall mcp

pip install fastmcp

And then I was able to references it 


from mcp.server.fastmcp import FastMCP
from fastmcp import FastMCP
from fastmcp.server.auth.providers.jwt import JWTVerifier


Comments