Skip to content

Commit cd9e758

Browse files
committed
docs(mcp): state exact auth slug derivation rule
1 parent f2b40d1 commit cd9e758

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎docs/MCP.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ Credentials are scoped to the exact server name and endpoint URL, not the displa
213213
name alone. Corbits Code parses and normalizes the URL, removes its fragment, and
214214
hashes the unambiguous `[serverName, normalizedURL]` tuple. The full path and query
215215
remain part of the identity, so credentials cannot cross origins, paths, or query
216-
variants. The bounded slug prefix is derived from the server name for readability;
217-
the raw URL never appears in the filename.
216+
variants. The bounded slug prefix is derived from the server name for readability: characters outside `[A-Za-z0-9_-]` are replaced with `_` (case preserved; an empty result becomes `server`), truncated to 48 characters; the raw URL never appears in the filename.
218217

219218
Tokens never appear in `settings.json`. The settings file holds only the URL;
220219
secret material stays in the endpoint-scoped auth file. Legacy name-only files

0 commit comments

Comments
 (0)