Skip to content

Commit b9b72c9

Browse files
committed
improvements
1 parent 7e6bed6 commit b9b72c9

File tree

2 files changed

+50
-18
lines changed

2 files changed

+50
-18
lines changed

docs/guides/quickstart.mdx

Lines changed: 46 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ title: "Quickstart"
33
description: "Get started with MCP in less than 5 minutes"
44
---
55

6-
Give the Claude Desktop app the ability to interact with local data sources and tools! This guide will show you how to set up Model Context Protocol (MCP) and experience its capabilities in just 5 minutes.
6+
MCP is a protocol that enables secure connections between clients, such as Claude Desktop app, and local services. In this quickstart guide, you'll learn how to:
7+
8+
- Set up a local SQLite database
9+
- Connect Claude Desktop to it through MCP
10+
- Query and analyze your data securely
711

812
<Note>
913
While this guide focuses on using Claude Desktop as an example MCP client, the protocol is open and can be implemented by any application. IDEs, AI tools, and other software can all act as MCP clients to access local services in a standardized way.
@@ -13,34 +17,58 @@ While this guide focuses on using Claude Desktop as an example MCP client, the p
1317
Claude Desktop's MCP support is currently in developer preview and only supports connecting to local servers running on your machine. Remote connections are not yet supported. MCP integration is only available in the Claude Desktop app, not the Claude web interface (claude.ai).
1418
</Warning>
1519

16-
MCP is a protocol that enables secure connections between clients, such as Claude Desktop app, and local services. In this quickstart guide, you'll learn how to:
20+
## How MCP works
1721

18-
- Set up a local SQLite database
19-
- Connect Claude Desktop to it through MCP
20-
- Query and analyze your data securely
22+
MCP (Model Context Protocol) is an open protocol that enables secure, controlled interactions between AI applications and local resources on your computer. Let's break down how it works, then look at how we'll use it in this guide.
2123

22-
## How MCP works
24+
### General Architecture
25+
At its core, MCP follows a client-server architecture where multiple services can connect to any compatible client:
2326

24-
MCP is an open protocol that enables secure, controlled interactions between any compatible client application (like Claude Desktop, IDEs, or other AI tools) and local services:
27+
```mermaid
28+
flowchart LR
29+
subgraph "Your Computer"
30+
Client["MCP Clients\n(Claude, IDEs, Tools)"]
31+
S1["MCP Server A"]
32+
S2["MCP Server B"]
33+
S3["MCP Server C"]
34+
35+
Client <-->|"MCP Protocol"| S1
36+
Client <-->|"MCP Protocol"| S2
37+
Client <-->|"MCP Protocol"| S3
38+
39+
S1 <--> R1[("Local\nResource A")]
40+
S2 <--> R2[("Local\nResource B")]
41+
S3 <--> R3[("Local\nResource C")]
42+
end
43+
```
44+
45+
- **MCP Clients**: Applications like Claude Desktop, IDEs, or AI tools that want to access local resources
46+
- **MCP Servers**: Lightweight programs that each expose specific capabilities through the standardized MCP protocol
47+
- **Local Resources**: Your computer's resources (databases, files, services) that MCP servers can securely access
48+
49+
### In This Guide
50+
51+
For this quickstart, we'll implement a focused example using SQLite:
2552

2653
```mermaid
2754
flowchart LR
2855
subgraph "Your Computer"
29-
Client["MCP Client\n(e.g. Claude Desktop)"]
30-
MCP[MCP Server]
31-
DB[(SQLite DB)]
56+
direction LR
57+
Claude["Claude Desktop"]
58+
MCP["SQLite MCP Server"]
59+
DB[(SQLite Database\n~/test.db)]
3260
33-
Client <-->|MCP Protocol| MCP
34-
MCP <-->|Local Access| DB
61+
Claude <-->|"MCP Protocol\n(Queries & Results)"| MCP
62+
MCP <-->|"Local Access\n(SQL Operations)"| DB
3563
end
3664
```
3765

38-
1. **MCP Servers**: Small programs that expose specific capabilities (like database access) through a standardized interface
39-
2. **Protocol**: An open standard that allows any MCP client to:
40-
- Discover available capabilities
41-
- Request actions securely
42-
- Receive results and updates
43-
3. **Local Only**: All communication happens entirely on your machine - no data leaves your computer
66+
1. Claude Desktop acts as our MCP client
67+
2. A SQLite MCP Server provides secure database access
68+
3. Your local SQLite database stores the actual data
69+
70+
All communication happens entirely on your machine - no data leaves your computer. The MCP protocol ensures that Claude Desktop can only perform approved database operations through well-defined interfaces.
71+
This gives you a secure way to let Claude analyze and interact with your local data while maintaining complete control over what it can access.
4472

4573
## MCP clients
4674

mint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
{
2222
"name": "API Reference",
2323
"url": "api-reference"
24+
},
25+
{
26+
"name": "Specification",
27+
"url": "specification"
2428
}
2529
],
2630
"anchors": [

0 commit comments

Comments
 (0)