Skip to content

Commit 83292f1

Browse files
Broaden UA guidance to "clients" instead of "client SDKs"
1 parent 886471e commit 83292f1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/specification/draft/basic/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,18 +201,18 @@ Multiple icons can be provided to support different display contexts and resolut
201201

202202
## User Agents
203203

204-
Client SDK implementations **SHOULD** use the following format by default for their
204+
Client implementations **SHOULD** use the following format by default for their
205205
`User-Agent` header when sending HTTP requests:
206206

207207
```
208-
SDK_NAME[/SDK_VERSION] [os/PLATFORM[#PLATFORM_RELEASE]] [lang/LANG[#LANG_VERSION]] [md/KEY[#VALUE]]
208+
CLIENT_NAME[/CLIENT_VERSION] [os/PLATFORM[#PLATFORM_RELEASE]] [lang/LANG[#LANG_VERSION]] [md/KEY[#VALUE]]
209209
```
210210

211-
The first component of the user agent contains the SDK name and version, as published
212-
to package registries. SDK implementations **MAY** use a different product name if
211+
The first component of the user agent contains any applicable client name and version.
212+
Client implementations **MAY** use a different product name if
213213
necessary, to be compliant with [RFC 9110](https://httpwg.org/specs/rfc9110.html#rfc.section.10.1.5).
214214
The optional `os` component contains the current platform and optional platform
215-
version. The optional `lang` component contains the SDK programming language and optional
215+
version. The optional `lang` component contains the client's programming language and optional
216216
language version. The user agent **MAY** contain one or more `md` components for
217217
additional metadata, containing a key and an optional value.
218218

@@ -224,7 +224,7 @@ my-mcp-sdk/1.0.0 os/win32#10.0.22000 lang/java#21.0.7
224224
```
225225

226226
As a more complex example, consider a version `v1.0.0` of `my-mcp-sdk` running on MacOS,
227-
using Node.js `v22.13.1`. In that scenario, the SDK might have the following user agent:
227+
using Node.js `v22.13.1`. In that scenario, the client might have the following user agent:
228228

229229
```
230230
my-mcp-sdk/1.0.0 os/darwin#24.5.0 lang/js md/nodejs#22.13.1

0 commit comments

Comments
 (0)