Skip to content

Commit f2517fe

Browse files
fix: url for spec (#1659)
1 parent 091afb8 commit f2517fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mcp/shared/tool_name_validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
digits (0-9), underscore (_), dash (-), and dot (.).
77
Tool names SHOULD NOT contain spaces, commas, or other special characters.
88
9-
See: https://modelcontextprotocol.io/specification/draft/server/tools#tool-names
9+
See: https://modelcontextprotocol.io/specification/2025-11-25/server/tools#tool-names
1010
"""
1111

1212
from __future__ import annotations
@@ -21,7 +21,7 @@
2121
TOOL_NAME_REGEX = re.compile(r"^[A-Za-z0-9._-]{1,128}$")
2222

2323
# SEP reference URL for warning messages
24-
SEP_986_URL = "https://github.com/modelcontextprotocol/modelcontextprotocol/issues/986"
24+
SEP_986_URL = "https://modelcontextprotocol.io/specification/2025-11-25/server/tools#tool-names"
2525

2626

2727
@dataclass

0 commit comments

Comments
 (0)