Skip to content

Commit ed48a8e

Browse files
authored
Merge branch 'main' into session-hijack
2 parents a728e35 + d5d83d4 commit ed48a8e

File tree

15 files changed

+302
-134
lines changed

15 files changed

+302
-134
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818

1919
- run: npm ci
2020

21-
- run: npm run validate:schema
21+
- name: Check TypeScript definitions
22+
run: npm run check:schema:ts
2223

23-
- run: npm run generate:json
2424
- name: Verify that `npm run generate:json` did not change outputs (if it did, please re-run it and re-commit!)
25-
run: git diff --exit-code
25+
run: npm run check:schema:json

.github/workflows/markdown-format.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,7 @@ jobs:
2525
run: npm ci
2626

2727
- name: Check markdown formatting
28-
run: npm run format:check
28+
run: npm run check:docs:format
29+
30+
- name: Check markdown links
31+
run: npm run check:docs:links

CONTRIBUTING.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,39 +33,34 @@ npm install # install dependencies
3333
## Making Changes
3434

3535
Note that schema changes are made to `schema.ts`, and `schema.json` is generated from
36-
`schema.ts`. You should validate your `schema.ts` changes first and then generate the
37-
`schema.json`.
36+
`schema.ts`.
3837

3938
1. Create a new branch:
4039

4140
```bash
4241
git checkout -b feature/your-feature-name
4342
```
4443

45-
2. Make your changes
46-
3. Validate your changes:
44+
2. Make your changes.
4745

48-
```bash
49-
npm run validate:schema # validate schema
50-
```
51-
52-
4. Generate the `schema.json`:
46+
3. Validate schema changes and generate `schema.json`:
5347

5448
```bash
55-
npm run generate:json # generate JSON schema
49+
npm run check:schema:ts
50+
npm run generate:json
5651
```
5752

58-
5. Run docs locally (optional):
53+
4. Validate documentation changes and apply formatting:
5954

6055
```bash
61-
npm run serve:docs
56+
npm run check:docs
57+
npm run format
6258
```
6359

64-
6. Format/lint your changes:
60+
5. Preview documentation locally (optional):
6561

6662
```bash
67-
npm run format:check # check formatting
68-
npm run format # apply formatting
63+
npm run serve:docs
6964
```
7065

7166
### Documentation Guidelines
@@ -77,7 +72,7 @@ When contributing to the documentation:
7772
- Include code examples where appropriate
7873
- Use proper MDX formatting and components
7974
- Test all links and code samples
80-
- You may run `npm run check-links` to look for broken internal links.
75+
- You may run `npm run check:docs:links` to look for broken internal links.
8176
- Use appropriate headings: "When to use", "Steps", and "Tips" for tutorials
8277
- Place new pages in appropriate sections (concepts, tutorials, etc.)
8378
- Update `docs.json` when adding new pages

docs/clients.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This page provides an overview of applications that support the Model Context Pr
6060
| [TypingMind App][TypingMind App] ||||||| Supports tools at app-level (appear as plugins) or when assigned to Agents |
6161
| [VS Code GitHub Copilot][VS Code] ||||||| Supports dynamic tool/roots discovery, secure secret configuration, and explicit tool prompting |
6262
| [Warp][Warp] ||||||| Supports tools, resources, and most of the discovery criteria |
63-
| [WhatsMPC][WhatsMPC] ||||||| Supports tools for Remote MCP Servers in WhatsApp |
63+
| [WhatsMCP][WhatsMCP] ||||||| Supports tools for Remote MCP Servers in WhatsApp |
6464
| [Windsurf Editor][Windsurf] ||||||| Supports tools with AI Flow for collaborative development. |
6565
| [Witsy][Witsy] ||||||| Supports tools in Witsy. |
6666
| [Zed][Zed] ||||||| Prompts appear as slash commands |
@@ -115,7 +115,7 @@ This page provides an overview of applications that support the Model Context Pr
115115
[Windsurf]: https://codeium.com/windsurf
116116
[gptme]: https://github.com/gptme/gptme
117117
[Warp]: https://www.warp.dev/
118-
[WhatsMPC]: https://wassist.app/mcp/
118+
[WhatsMCP]: https://wassist.app/mcp/
119119
[Witsy]: https://github.com/nbonamy/witsy
120120
[Zed]: https://zed.dev
121121
[Zencoder]: https://zencoder.ai
@@ -710,9 +710,9 @@ Theia AI and Theia IDE's MCP integration provide users with flexibility, making
710710
- **Live tool/resource discovery**: view tools and resources from each running MCP server
711711
- **Configurable startup**: set MCP servers to start automatically with Warp or launch them manually as needed
712712

713-
### WhatsMPC
713+
### WhatsMCP
714714

715-
[WhatsMPC](https://wassist.app/mcp/) is an MCP client for WhatsApp. WhatsMCP lets you interact with your AI stack from the comfort of a WhatsApp chat.
715+
[WhatsMCP](https://wassist.app/mcp/) is an MCP client for WhatsApp. WhatsMCP lets you interact with your AI stack from the comfort of a WhatsApp chat.
716716

717717
**Key features:**
718718

docs/docs.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,7 @@
5858
]
5959
}
6060
]
61-
},
62-
{
63-
"tab": "SDKs",
64-
"icon": "book-open",
65-
"groups": [
66-
{
67-
"group": "Java",
68-
"pages": [
69-
"sdk/java/mcp-overview",
70-
"sdk/java/mcp-client",
71-
"sdk/java/mcp-server"
72-
]
73-
}
74-
]
75-
},
61+
},
7662
{
7763
"tab": "Specification",
7864
"icon": "book",

docs/specification/2025-03-26/basic/lifecycle.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -144,17 +144,17 @@ available during the session.
144144

145145
Key capabilities include:
146146

147-
| Category | Capability | Description |
148-
| -------- | -------------- | ---------------------------------------------------------------------------------------- |
149-
| Client | `roots` | Ability to provide filesystem [roots](/specification/2025-03-26/client/roots) |
150-
| Client | `sampling` | Support for LLM [sampling](/specification/2025-03-26/client/sampling) requests |
151-
| Client | `experimental` | Describes support for non-standard experimental features |
152-
| Server | `prompts` | Offers [prompt templates](/specification/2025-03-26/server/prompts) |
153-
| Server | `resources` | Provides readable [resources](/specification/2025-03-26/server/resources) |
154-
| Server | `tools` | Exposes callable [tools](/specification/2025-03-26/server/tools) |
155-
| Server | `logging` | Emits structured [log messages](/specification/2025-03-26/server/utilities/logging) |
156-
| Server | `completions` | Supports argument [autocompletion](/specification/2025-03-26/server/utilites/completion) |
157-
| Server | `experimental` | Describes support for non-standard experimental features |
147+
| Category | Capability | Description |
148+
| -------- | -------------- | ----------------------------------------------------------------------------------------- |
149+
| Client | `roots` | Ability to provide filesystem [roots](/specification/2025-03-26/client/roots) |
150+
| Client | `sampling` | Support for LLM [sampling](/specification/2025-03-26/client/sampling) requests |
151+
| Client | `experimental` | Describes support for non-standard experimental features |
152+
| Server | `prompts` | Offers [prompt templates](/specification/2025-03-26/server/prompts) |
153+
| Server | `resources` | Provides readable [resources](/specification/2025-03-26/server/resources) |
154+
| Server | `tools` | Exposes callable [tools](/specification/2025-03-26/server/tools) |
155+
| Server | `logging` | Emits structured [log messages](/specification/2025-03-26/server/utilities/logging) |
156+
| Server | `completions` | Supports argument [autocompletion](/specification/2025-03-26/server/utilities/completion) |
157+
| Server | `experimental` | Describes support for non-standard experimental features |
158158

159159
Capability objects can describe sub-capabilities like:
160160

docs/specification/draft/basic/authorization.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ requests that appear legitimate to resource servers.
257257
Clients and servers **MUST** implement secure token storage and follow OAuth best practices,
258258
as outlined in [OAuth 2.1, Section 7.1](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-12#section-7.1).
259259

260-
MCP authorization servers SHOULD issue short-lived access tokens token to reduce the impact of leaked tokens.
260+
MCP authorization servers SHOULD issue short-lived access tokens to reduce the impact of leaked tokens.
261261
For public clients, MCP authorization servers **MUST** rotate refresh tokens as described in [OAuth 2.1 Section 4.3.1 "Refresh Token Grant"](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-12#section-4.3.1).
262262

263263
### Communication Security

docs/specification/draft/basic/lifecycle.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ The client **MUST** initiate this phase by sending an `initialize` request conta
6868
},
6969
"clientInfo": {
7070
"name": "ExampleClient",
71+
"title": "Example Client Display Name",
7172
"version": "1.0.0"
7273
}
7374
}
@@ -97,6 +98,7 @@ The server **MUST** respond with its own capabilities and information:
9798
},
9899
"serverInfo": {
99100
"name": "ExampleServer",
101+
"title": "Example Server Display Name",
100102
"version": "1.0.0"
101103
},
102104
"instructions": "Optional instructions for the client"

docs/specification/draft/changelog.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ the previous revision, [2025-03-26](/specification/2025-03-26).
1111

1212
1. Removed support for JSON-RPC **[batching](https://www.jsonrpc.org/specification#batch)**
1313
(PR [#416](https://github.com/modelcontextprotocol/specification/pull/416))
14-
2. Added support for [structured tool output](server/tools#structured-content)
14+
2. Added support for [structured tool output](/specification/draft/server/tools#structured-content)
1515
(PR [#371](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/371))
16-
3. Classified MCP servers as [OAuth Resource Servers](basic/authorization#authorization-server-discovery),
16+
3. Classified MCP servers as [OAuth Resource Servers](/specification/draft/basic/authorization#authorization-server-discovery),
1717
adding protected resource metadata to discover the corresponding Authorization server.
1818
(PR [#338](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/338))
19-
4. Clarified [security considerations](basic/authorization#security-considerations) and best practices
20-
in the authorization spec and in a new [security best practices page](basic/security_best_practices).
21-
5. Added support for **[elicitation](client/elicitation)**, enabling servers to request additional
19+
4. Clarified [security considerations](/specification/draft/basic/authorization#security-considerations) and best practices
20+
in the authorization spec and in a new [security best practices page](/specification/draft/basic/security_best_practices).
21+
5. Added support for **[elicitation](/specification/draft/client/elicitation)**, enabling servers to request additional
2222
information from users during interactions.
2323
(PR [#382](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/382))
2424
6. Added support for **[resource links](/specification/draft/server/tools#resource-links)** in

docs/specification/draft/server/prompts.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ supports [pagination](/specification/draft/server/utilities/pagination).
7575
"prompts": [
7676
{
7777
"name": "code_review",
78+
"title": "Request Code Review",
7879
"description": "Asks the LLM to analyze code quality and suggest improvements",
7980
"arguments": [
8081
{
@@ -174,6 +175,7 @@ sequenceDiagram
174175
A prompt definition includes:
175176

176177
- `name`: Unique identifier for the prompt
178+
- `title`: Optional human-readable name of the prompt for display purposes.
177179
- `description`: Optional human-readable description
178180
- `arguments`: Optional list of arguments for customization
179181

@@ -236,6 +238,8 @@ Embedded resources allow referencing server-side resources directly in messages:
236238
"type": "resource",
237239
"resource": {
238240
"uri": "resource://example",
241+
"name": "example",
242+
"title": "My Example Resource",
239243
"mimeType": "text/plain",
240244
"text": "Resource content"
241245
}

0 commit comments

Comments
 (0)