We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9e37d2 commit bee382cCopy full SHA for bee382c
src/fetch/src/mcp_server_fetch/server.py
@@ -1,5 +1,4 @@
1
-from typing import Optional, Tuple
2
-from typing_extensions import Annotated
+from typing import Annotated, Tuple
3
from urllib.parse import urlparse, urlunparse
4
5
import markdownify
@@ -177,7 +176,7 @@ class Fetch(BaseModel):
177
176
178
179
async def serve(
180
- custom_user_agent: Optional[str] = None, ignore_robots_txt: bool = False
+ custom_user_agent: str | None = None, ignore_robots_txt: bool = False
181
) -> None:
182
"""Run the fetch MCP server.
183
0 commit comments