Skip to content

Commit bc0bafb

Browse files
committed
Revert "Flatten spec pages"
This reverts commit 5b781c9.
1 parent 0d87f19 commit bc0bafb

30 files changed

+65
-67
lines changed

docs/_index.md

Lines changed: 4 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -2,63 +2,9 @@
22
title: Specification
33
cascade:
44
type: docs
5-
breadcrumbs: false
6-
weight: 10
5+
weight: 1
76
---
7+
The following is the formal specification of the Model Context Protocol, and aims
8+
to be a resource for implementors.
89

9-
{{< callout type="info" >}}
10-
**Protocol Revision**: 2024-11-05
11-
{{< /callout >}}
12-
13-
The [Model Context Protocol](https://modelcontextprotocol.io) (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.
14-
15-
This specification defines the authoritative protocol requirements based on the TypeScript schema in [schema.ts](https://github.com/modelcontextprotocol/specification/blob/main/schema/schema.ts).
16-
17-
For implementation guides and examples, visit [modelcontextprotocol.io](https://modelcontextprotocol.io).
18-
19-
## Overview
20-
21-
MCP provides a standardized way for applications to:
22-
23-
- Share contextual information with language models
24-
- Expose tools and capabilities to AI systems
25-
- Build composable integrations and workflows
26-
27-
The protocol uses JSON-RPC 2.0 messages to establish communication between:
28-
29-
- **Clients**: Applications that integrate with language models
30-
- **Servers**: Services that provide context and capabilities
31-
- **Hosts**: Processes that manage client connections
32-
33-
## Core Protocol Features
34-
35-
MCP defines several key components:
36-
37-
### Base Protocol
38-
- JSON-RPC message format
39-
- Capability negotiation
40-
- Session lifecycle management
41-
42-
### Context Primitives
43-
- **Resources**: Data exposed via URIs
44-
- **Prompts**: Template-based interactions
45-
- **Tools**: Executable functions
46-
- **Sampling**: LLM generation control
47-
48-
### Cross-Cutting Concerns
49-
- Progress tracking
50-
- Error handling
51-
- Security boundaries
52-
- Backwards compatibility
53-
54-
## Learn More
55-
56-
Explore the detailed specification for each protocol component:
57-
58-
{{< cards >}}
59-
{{< card link="architecture" title="Architecture" icon="template" >}}
60-
{{< card link="basic" title="Base Protocol" icon="code" >}}
61-
{{< card link="server" title="Server Features" icon="server" >}}
62-
{{< card link="client" title="Client Features" icon="user" >}}
63-
{{< card link="contributing" title="Contributing" icon="pencil" >}}
64-
{{< /cards >}}
10+
For a user guides and SDK configuration, plesae visit https://modelcontextprotocol.io.

docs/guide/_index.md renamed to docs/documentation/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: "User Guide"
2+
title: "User Documentation"
33
weight: 20
4-
sidebar:
5-
exclude: true
64
breadcrumbs: false
75
---
86

docs/specification/_index.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: Specification
3+
cascade:
4+
type: docs
5+
weight: 10
6+
---
7+
8+
{{< callout type="info" >}}
9+
**Protocol Revision**: 2024-11-05
10+
{{< /callout >}}
11+
12+
The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need. This specification defines the authoritative protocol requirements based on the TypeScript schema in [schema.ts](https://github.com/modelcontextprotocol/specification/blob/main/schema/schema.ts). For implementation guides and examples, visit [modelcontextprotocol.io](https://modelcontextprotocol.io).
13+
14+
## Overview
15+
16+
MCP provides a standardized way for applications to:
17+
18+
- Share contextual information with language models
19+
- Expose tools and capabilities to AI systems
20+
- Build composable integrations and workflows
21+
22+
The protocol uses JSON-RPC 2.0 messages to establish communication between:
23+
24+
- **Clients**: Applications that integrate with language models
25+
- **Servers**: Services that provide context and capabilities
26+
- **Hosts**: Processes that manage client connections
27+
28+
## Core Protocol Features
29+
30+
MCP defines several key components:
31+
32+
### Base Protocol
33+
- JSON-RPC message format
34+
- Capability negotiation
35+
- Session lifecycle management
36+
37+
### Context Primitives
38+
- **Resources**: Data exposed via URIs
39+
- **Prompts**: Template-based interactions
40+
- **Tools**: Executable functions
41+
- **Sampling**: LLM generation control
42+
43+
### Cross-Cutting Concerns
44+
- Progress tracking
45+
- Error handling
46+
- Security boundaries
47+
- Backwards compatibility
48+
49+
## Learn More
50+
51+
Explore the detailed specification for each protocol component:
52+
53+
{{< cards >}}
54+
{{< card link="architecture" title="Architecture" icon="template" >}}
55+
{{< card link="basic" title="Base Protocol" icon="code" >}}
56+
{{< card link="server" title="Server Features" icon="server" >}}
57+
{{< card link="client" title="Client Features" icon="user" >}}
58+
{{< card link="contributing" title="Contributing" icon="pencil" >}}
59+
{{< /cards >}}

docs/architecture/_index.md renamed to docs/specification/architecture/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Architecture
33
cascade:
44
type: docs
5-
breadcrumbs: false
65
weight: 1
76
---
87

docs/basic/_index.md renamed to docs/specification/basic/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Base Protocol
33
cascade:
44
type: docs
5-
breadcrumbs: false
65
weight: 2
76
---
87

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)