Skip to content

Commit 2ea8743

Browse files
committed
updated landing page
1 parent 3154e01 commit 2ea8743

File tree

2 files changed

+145
-99
lines changed

2 files changed

+145
-99
lines changed

docs/guides/quickstart.mdx

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

6-
Give Claude desktop superpowers by connecting it to your local computer! This guide will show you how to set up Model Context Protocol (MCP) and experience its magic in just 5 minutes.
6+
<Note type="warning">
7+
MCP is currently in developer preview and only supports connecting to local servers running on your machine. Remote connections are not yet supported. This feature is only available in the Claude Desktop app, not the Claude web interface (claude.ai).
8+
</Note>
79

8-
<Note>
9-
MCP connects Claude to external data sources and tools. In this guide, we'll give Claude the ability to:
10-
- Take screenshots and analyze them
11-
- Control window arrangement
12-
- Execute local automation scripts
10+
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.
1311

14-
And it does this all securely - Claude can only access what you explicitly allow through MCP servers.
15-
</Note>
12+
MCP is a protocol that enables secure connections between the Claude Desktop app and local services. In this quickstart guide, you'll learn how to:
13+
14+
- Set up a local SQLite database
15+
- Connect Claude Desktop to it through MCP
16+
- Query and analyze your data securely
17+
18+
## How MCP Works
19+
20+
MCP enables secure, controlled interactions between the Claude Desktop app and local services through a well-defined protocol:
21+
22+
```mermaid
23+
flowchart LR
24+
subgraph "Your Computer"
25+
CD[Claude Desktop]
26+
MCP[MCP Server]
27+
DB[(SQLite DB)]
28+
29+
CD <-->|MCP Protocol| MCP
30+
MCP <-->|Local Access| DB
31+
end
32+
33+
style CD fill:#e1e1e1
34+
style MCP fill:#d4e6ff
35+
style DB fill:#d4ffe1
36+
```
37+
38+
1. **MCP Servers**: Small programs that expose specific capabilities (like database access) through a standardized interface
39+
2. **Protocol**: A structured way for Claude Desktop 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
1644

1745
## Prerequisites
1846

1947
- macOS (Windows/Linux guides coming soon)
2048
- Node.js v18 or higher (`node --version` to check)
2149
- Git (`git --version` to check)
22-
- [Claude desktop app](https://claude.ai/download) installed
50+
- [Claude Desktop app](https://claude.ai/download) installed
51+
- SQLite (`sqlite3 --version` to check)
2352

2453
<Accordion title="Need to install the prerequisites?">
2554
```bash
2655
# Using Homebrew
27-
brew install node git
56+
brew install node git sqlite3
2857

2958
# Or download directly:
3059
# Node.js: https://nodejs.org
3160
# Git: https://git-scm.com
61+
# SQLite: https://www.sqlite.org/download.html
3262
```
3363
</Accordion>
3464

3565
## Installation
3666

3767
<Steps>
3868
<Step title="Install example servers">
39-
Let's start by getting some pre-built MCP servers that Claude can use:
69+
Let's start by getting the pre-built MCP servers:
4070

4171
```bash
4272
# Clone the example servers
@@ -50,9 +80,31 @@ brew install node git
5080
# Make servers available globally
5181
npm install -g
5282
```
83+
84+
This makes the MCP servers available as command-line tools that Claude Desktop can launch.
5385
</Step>
5486

55-
<Step title="Configure Claude">
87+
<Step title="Create a sample database">
88+
Let's create a simple SQLite database for testing:
89+
90+
```bash
91+
# Create a new SQLite database
92+
sqlite3 ~/test.db <<EOF
93+
CREATE TABLE products (
94+
id INTEGER PRIMARY KEY,
95+
name TEXT,
96+
price REAL
97+
);
98+
99+
INSERT INTO products (name, price) VALUES
100+
('Widget', 19.99),
101+
('Gadget', 29.99),
102+
('Gizmo', 39.99);
103+
EOF
104+
```
105+
</Step>
106+
107+
<Step title="Configure Claude Desktop">
56108
Open your Claude Desktop App configuration:
57109
58110
```bash
@@ -64,94 +116,101 @@ brew install node git
64116
```json
65117
{
66118
"mcpServers": {
67-
"osascript": {
68-
"command": "mcp-server-osascript",
119+
"sqlite": {
120+
"command": "mcp-server-sqlite",
121+
"args": ["/Users/YOUR_USERNAME/test.db"]
69122
}
70123
}
71124
}
72125
```
73126
127+
This tells Claude Desktop:
128+
1. There's an MCP server named "sqlite"
129+
2. Launch it using the `mcp-server-sqlite` command
130+
3. Connect it to your test database
131+
4. Provide necessary environment variables
132+
74133
Save and **restart Claude Desktop App**.
75134
</Step>
76135
</Steps>
77136
78137
## Test it out
79138
80-
Let's verify everything is working with a simple example. Try sending this prompt to Claude:
139+
Let's verify everything is working. Try sending this prompt to Claude Desktop:
81140
82141
```
83-
Can you take a screenshot of my desktop and describe what you see?
142+
Can you connect to my SQLite database and tell me what products are available and their prices?
84143
```
85144
86-
Claude will:
87-
88-
1. Request permission to take a screenshot
89-
2. Capture your screen through the MCP server
90-
3. Analyze and describe the screenshot
145+
Claude Desktop will:
146+
1. Connect to the SQLite MCP server
147+
2. Query your local database
148+
3. Format and present the results
91149
92150
<Frame>
93-
<img src="/api/placeholder/800/400" alt="Example Claude conversation showing a screenshot analysis" />
151+
<img src="/api/placeholder/800/400" alt="Example Claude Desktop conversation showing database query results" />
94152
</Frame>
95-
<Note>
96-
The first time you use screenshot features, macOS will ask for permissions:
97-
- Screen Recording (for screenshots)
98-
- Automation (for window control)
99-
You'll need to grant these to Claude.app in System Settings.
100-
</Note>
153+
154+
## What's happening under the hood?
155+
156+
When you interact with Claude Desktop using MCP:
157+
158+
1. **Server Discovery**: Claude Desktop loads your configured MCP servers on startup
159+
2. **Protocol Handshake**: When you ask about data, Claude Desktop:
160+
- Identifies which MCP server can help (sqlite in this case)
161+
- Negotiates capabilities through the MCP protocol
162+
- Establishes a secure local connection
163+
164+
3. **Interaction Flow**:
165+
```mermaid
166+
sequenceDiagram
167+
participant C as Claude Desktop
168+
participant M as MCP Server
169+
participant D as SQLite DB
170+
171+
C->>M: Initialize connection
172+
M-->>C: Available capabilities
173+
174+
C->>M: Query request
175+
M->>D: SQL query
176+
D-->>M: Results
177+
M-->>C: Formatted results
178+
```
179+
180+
4. **Security**:
181+
- MCP servers only expose specific, controlled capabilities
182+
- All communication is local to your machine
183+
- Claude Desktop requires user confirmation for sensitive operations
101184
102185
## Try these examples
103186
104187
Now that MCP is working, try these increasingly powerful examples:
105188
106189
<AccordionGroup>
107-
<Accordion title="Basic Window Analysis" active>
190+
<Accordion title="Basic Queries" active>
108191
```
109-
Could you analyze my open windows and tell me:
110-
- How many windows I have open
111-
- Which apps are running
112-
- If any windows look cluttered
192+
What's the average price of all products in the database?
113193
```
114194
</Accordion>
115-
<Accordion title="Window Organization">
195+
<Accordion title="Data Analysis">
116196
```
117-
Could you help organize my windows? I'd like:
118-
- Browser on the left half
119-
- VSCode on the right half
197+
Can you analyze the price distribution and suggest any pricing optimizations?
120198
```
121199
</Accordion>
122-
<Accordion title="Create a Window Layout Script">
200+
<Accordion title="Complex Operations">
123201
```
124-
I often need this window layout for coding:
125-
- VSCode taking up the left 60%
126-
- Terminal in the top right
127-
- Browser in the bottom right
128-
Could you create an AppleScript to automate this?
202+
Could you help me design and create a new table for storing customer orders?
129203
```
130204
</Accordion>
131205
</AccordionGroup>
132206
133-
## What just happened?
134-
135-
Let's break down the magic:
136-
137-
1. When you installed the `osascript` server, you gave Claude a way to:
138-
- Take screenshots (see what you see)
139-
- Run AppleScript (control your windows)
140-
- Automate macOS tasks
141-
142-
2. The MCP protocol lets Claude:
143-
- Request these actions securely
144-
- Get results back in real-time
145-
- Chain actions together intelligently
146-
147-
3. All of this happens locally on your machine - no data leaves your computer!
148-
149207
## Add more capabilities
150208
151-
Want to give Claude even more superpowers? Add these servers to your configuration:
209+
Want to give Claude Desktop more local integration capabilities? Add these servers to your configuration:
210+
152211
<AccordionGroup>
153212
<Accordion title="File System Access" icon="folder-open">
154-
Add this to your config to let Claude read and analyze files:
213+
Add this to your config to let Claude Desktop read and analyze files:
155214
```json
156215
"tee": {
157216
"command": "mcp-server-tee",
@@ -163,8 +222,8 @@ Want to give Claude even more superpowers? Add these servers to your configurati
163222
```
164223
</Accordion>
165224
166-
<Accordion title="Database Connection" icon="database">
167-
Connect Claude to your PostgreSQL database:
225+
<Accordion title="PostgreSQL Connection" icon="database">
226+
Connect Claude Desktop to your PostgreSQL database:
168227
```json
169228
"postgres": {
170229
"command": "mcp-server-postgres",
@@ -175,53 +234,50 @@ Want to give Claude even more superpowers? Add these servers to your configurati
175234
}
176235
```
177236
</Accordion>
178-
179-
<Accordion title="Web Automation" icon="globe">
180-
Enable web automation capabilities:
181-
```json
182-
"puppeteer": {
183-
"command": "mcp-server-puppeteer",
184-
}
185-
```
186-
</Accordion>
187237
</AccordionGroup>
188238
189239
## Troubleshooting
190240
191241
<AccordionGroup>
192-
<Accordion title="Nothing showing up in Claude?">
242+
<Accordion title="Nothing showing up in Claude Desktop?">
193243
1. Check if MCP is enabled:
194-
- Click the 🔌 icon in Claude
244+
- Click the 🔌 icon in Claude Desktop
195245
- You should see your configured servers
196246
197247
2. Verify your config:
198248
```bash
199249
cat ~/Library/Application\ Support/Claude/claude_desktop_config.json
200250
```
201251
202-
3. Restart Claude completely:
252+
3. Restart Claude Desktop completely:
203253
- Quit the app (not just close the window)
204254
- Start it again
205255
</Accordion>
206256
207-
<Accordion title="Permission errors?">
208-
Run this command to see Claude's logs:
209-
```bash
210-
tail -f ~/Claude.log
211-
```
257+
<Accordion title="Database connection errors?">
258+
1. Check Claude Desktop's logs:
259+
```bash
260+
tail -f ~/Claude.log
261+
```
212262
213-
Common fixes:
214-
- Check `HOME` env variable in your config
215-
- Grant missing permissions in System Settings
216-
- Try running example commands manually in Terminal
263+
2. Verify database access:
264+
```bash
265+
# Test database connection
266+
sqlite3 ~/test.db ".tables"
267+
```
268+
269+
3. Common fixes:
270+
- Check file paths in your config
271+
- Verify database file permissions
272+
- Ensure SQLite is installed properly
217273
</Accordion>
218274
</AccordionGroup>
219275
220276
## Next Steps
221277
222278
<CardGroup cols={3}>
223279
<Card title="Build Custom Servers" icon="code" href="/docs/guides/first-server-python">
224-
Create your own MCP integrations to give Claude new capabilities.
280+
Create your own MCP servers to give Claude Desktop new capabilities.
225281
</Card>
226282
227283
<Card title="Explore Examples" icon="microscope" href="https://github.com/modelcontextprotocol/example-servers">
@@ -233,3 +289,7 @@ Want to give Claude even more superpowers? Add these servers to your configurati
233289
[Join us →](/community)
234290
</Card>
235291
</CardGroup>
292+
293+
<Note>
294+
Remember: MCP is in developer preview and currently only supports local servers. The examples and capabilities shown here are only available in the Claude Desktop app, not the Claude web interface.
295+
</Note>

introduction.mdx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,6 @@ Choose the path that best fits your needs:
3131
>
3232
Create a simple MCP server in Python to understand the basics
3333
</Card>
34-
<Card
35-
title="Integrate MCP (TypeScript)"
36-
icon="plug"
37-
href="/docs/guides/integrate-ts"
38-
>
39-
Add MCP support to your TypeScript/JavaScript LLM application
40-
</Card>
41-
<Card
42-
title="Integrate MCP (Python)"
43-
icon="plug"
44-
href="/docs/guides/integrate-python"
45-
>
46-
Add MCP support to your Python LLM application
47-
</Card>
4834
</CardGroup>
4935

5036
## Explore MCP

0 commit comments

Comments
 (0)