Skip to content

Commit 9109d03

Browse files
committed
Added examples
1 parent f674086 commit 9109d03

File tree

7 files changed

+217
-41
lines changed

7 files changed

+217
-41
lines changed

examples.mdx

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
---
2+
title: Examples
3+
description: 'A list of example servers and implementations'
4+
---
5+
6+
This page showcases various Model Context Protocol (MCP) servers that demonstrate the protocol's capabilities and versatility. These servers enable Large Language Models (LLMs) to securely access tools and data sources.
7+
8+
## Reference implementations
9+
10+
These official reference servers demonstrate core MCP features and SDK usage:
11+
12+
### Data and file systems
13+
- **[Filesystem](src/filesystem)** - Secure file operations with configurable access controls
14+
- **[PostgreSQL](src/postgres)** - Read-only database access with schema inspection capabilities
15+
- **[SQLite](src/sqlite)** - Database interaction and business intelligence features
16+
- **[Google Drive](src/gdrive)** - File access and search capabilities for Google Drive
17+
18+
### Development tools
19+
- **[Git](src/git)** - Tools to read, search, and manipulate Git repositories
20+
- **[GitHub](src/github)** - Repository management, file operations, and GitHub API integration
21+
- **[GitLab](src/gitlab)** - GitLab API integration enabling project management
22+
- **[Sentry](src/sentry)** - Retrieving and analyzing issues from Sentry.io
23+
24+
### Web and browser automation
25+
- **[Brave Search](src/brave-search)** - Web and local search using Brave's Search API
26+
- **[Fetch](src/fetch)** - Web content fetching and conversion optimized for LLM usage
27+
- **[Puppeteer](src/puppeteer)** - Browser automation and web scraping capabilities
28+
29+
### Productivity and communication
30+
- **[Slack](src/slack)** - Channel management and messaging capabilities
31+
- **[Google Maps](src/google-maps)** - Location services, directions, and place details
32+
- **[Memory](src/memory)** - Knowledge graph-based persistent memory system
33+
34+
### AI and specialized tools
35+
- **[EverArt](src/everart)** - AI image generation using various models
36+
- **[Sequential Thinking](src/sequentialthinking)** - Dynamic problem-solving through thought sequences
37+
- **[AWS KB Retrieval](src/aws-kb-retrieval)** - Retrieval from AWS Knowledge Base using Bedrock Agent Runtime
38+
39+
## Official integrations
40+
41+
These MCP servers are maintained by companies for their platforms:
42+
43+
- **[Axiom](https://github.com/axiomhq/mcp-server-axiom)** - Query and analyze logs, traces, and event data using natural language
44+
- **[Browserbase](https://github.com/browserbase/mcp-server-browserbase)** - Automate browser interactions in the cloud
45+
- **[Cloudflare](https://github.com/cloudflare/mcp-server-cloudflare)** - Deploy and manage resources on the Cloudflare developer platform
46+
- **[E2B](https://github.com/e2b-dev/mcp-server)** - Execute code in secure cloud sandboxes
47+
- **[Neon](https://github.com/neondatabase/mcp-server-neon)** - Interact with the Neon serverless Postgres platform
48+
- **[Obsidian Markdown Notes](https://github.com/calclavia/mcp-obsidian)** - Read and search through Markdown notes in Obsidian vaults
49+
- **[Qdrant](https://github.com/qdrant/mcp-server-qdrant/)** - Implement semantic memory using the Qdrant vector search engine
50+
- **[Raygun](https://github.com/MindscapeHQ/mcp-server-raygun)** - Access crash reporting and monitoring data
51+
- **[Search1API](https://github.com/fatwang2/search1api-mcp)** - Unified API for search, crawling, and sitemaps
52+
- **[Tinybird](https://github.com/tinybirdco/mcp-tinybird)** - Interface with the Tinybird serverless ClickHouse platform
53+
54+
## Community highlights
55+
56+
A growing ecosystem of community-developed servers extends MCP's capabilities:
57+
58+
- **[Docker](https://github.com/ckreiling/mcp-server-docker)** - Manage containers, images, volumes, and networks
59+
- **[Kubernetes](https://github.com/Flux159/mcp-server-kubernetes)** - Manage pods, deployments, and services
60+
- **[Linear](https://github.com/jerhadf/linear-mcp-server)** - Project management and issue tracking
61+
- **[Snowflake](https://github.com/datawiz168/mcp-snowflake-service)** - Interact with Snowflake databases
62+
- **[Spotify](https://github.com/varunneal/spotify-mcp)** - Control Spotify playback and manage playlists
63+
- **[Todoist](https://github.com/abhiz123/todoist-mcp-server)** - Task management integration
64+
65+
> **Note:** Community servers are untested and should be used at your own risk. They are not affiliated with or endorsed by Anthropic.
66+
67+
For a complete list of community servers, visit the [MCP Servers Repository](https://github.com/modelcontextprotocol/servers).
68+
69+
## Getting started
70+
71+
### Using reference servers
72+
73+
TypeScript-based servers can be used directly with `npx`:
74+
75+
```bash
76+
npx -y @modelcontextprotocol/server-memory
77+
```
78+
79+
Python-based servers can be used with `uvx` (recommended) or `pip`:
80+
81+
```bash
82+
# Using uvx
83+
uvx mcp-server-git
84+
85+
# Using pip
86+
pip install mcp-server-git
87+
python -m mcp_server_git
88+
```
89+
90+
### Configuring with Claude
91+
92+
To use an MCP server with Claude, add it to your configuration:
93+
94+
```json
95+
{
96+
"mcpServers": {
97+
"memory": {
98+
"command": "npx",
99+
"args": ["-y", "@modelcontextprotocol/server-memory"]
100+
},
101+
"filesystem": {
102+
"command": "npx",
103+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"]
104+
},
105+
"github": {
106+
"command": "npx",
107+
"args": ["-y", "@modelcontextprotocol/server-github"],
108+
"env": {
109+
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
110+
}
111+
}
112+
}
113+
}
114+
```
115+
116+
## Additional resources
117+
118+
- [MCP Servers Repository](https://github.com/modelcontextprotocol/servers) - Complete collection of reference implementations and community servers
119+
- [Awesome MCP Servers](https://github.com/punkpeye/awesome-mcp-servers) - Curated list of MCP servers
120+
- [MCP CLI](https://github.com/wong2/mcp-cli) - Command-line inspector for testing MCP servers
121+
- [MCP Get](https://mcp-get.com) - Tool for installing and managing MCP servers
122+
123+
Visit our [GitHub Discussions](https://github.com/orgs/modelcontextprotocol/discussions) to engage with the MCP community.

introduction.mdx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,21 @@ flowchart LR
4444

4545
Choose the path that best fits your needs:
4646

47-
<CardGroup cols={1}>
47+
<CardGroup cols={2}>
4848
<Card
4949
title="Quickstart"
5050
icon="bolt"
5151
href="/quickstart"
5252
>
5353
Build and connect to your first MCP server
5454
</Card>
55+
<Card
56+
title="Examples"
57+
icon="grid"
58+
href="/examples"
59+
>
60+
Check out our gallery of official MCP servers and implementations
61+
</Card>
5562
</CardGroup>
5663

5764
## Tutorials
@@ -64,6 +71,13 @@ Choose the path that best fits your needs:
6471
>
6572
Learn how to build your first MCP client
6673
</Card>
74+
<Card
75+
title="Building MCP with Claude"
76+
icon="comments"
77+
href="/building-a-client"
78+
>
79+
Learn how to use Claude to speed up your MCP development
80+
</Card>
6781
</CardGroup>
6882

6983
## Explore MCP

mint.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,14 @@
4040
"navigation": [
4141
{
4242
"group": "Get Started",
43-
"pages": ["introduction", "quickstart"]
43+
"pages": ["introduction", "quickstart", "examples"]
4444
},
4545
{
4646
"group": "Tutorials",
47-
"pages": ["tutorials/building-a-client"]
47+
"pages": [
48+
"tutorials/building-a-client",
49+
"tutorials/building-mcp-with-claude"
50+
]
4851
},
4952
{
5053
"group": "Concepts",

quickstart.mdx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,20 +1067,13 @@ If Claude attempts to use the tools but they fail:
10671067

10681068
## Next steps
10691069

1070-
<CardGroup cols={2}>
1070+
<CardGroup cols={1}>
10711071
<Card
10721072
title="Building a client"
10731073
icon="outlet"
10741074
href="/tutorials/building-a-client"
10751075
>
10761076
Learn how to build your an MCP client that can connect to your server
1077-
</Card>
1078-
<Card
1079-
title="Building a local fileserver"
1080-
icon="files"
1081-
href="/examples"
1082-
>
1083-
Build an intermediate MCP server that communicates with your local filesystem
10841077
</Card>
10851078
<Card
10861079
title="Example servers"
@@ -1089,7 +1082,6 @@ If Claude attempts to use the tools but they fail:
10891082
>
10901083
Check out our gallery of official MCP servers and implementations
10911084
</Card>
1092-
10931085
<Card
10941086
title="Core architecture"
10951087
icon="sitemap"

servers.mdx

Lines changed: 0 additions & 22 deletions
This file was deleted.

tutorials/building-a-client.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -855,13 +855,6 @@ node build/client.js C:\\projects\\mcp-server\\weather.js
855855
## Next steps
856856

857857
<CardGroup cols={1}>
858-
<Card
859-
title="Building a local fileserver"
860-
icon="files"
861-
href="/examples"
862-
>
863-
Build an intermediate MCP server that communicates with your local filesystem
864-
</Card>
865858
<Card
866859
title="Example servers"
867860
icon="grid"
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: "Building MCP with Claude"
3+
description: "Speed up your MCP development with Claude!"
4+
---
5+
6+
This guide will help you use Claude to build custom Model Context Protocol (MCP) servers and clients.
7+
8+
## Preparing the documentation
9+
10+
Before starting, gather the necessary documentation to help Claude understand MCP:
11+
12+
1. Visit https://modelcontextprotocol.io/llms-full.txt and copy the full documentation text
13+
2. Navigate to either the [MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk) or [Python SDK repository](https://github.com/modelcontextprotocol/python-sdk)
14+
3. Copy the README files and other relevant documentation
15+
4. Paste these documents into your conversation with Claude
16+
17+
## Describing your server
18+
19+
Once you've provided the documentation, clearly describe to Claude what kind of server you want to build. Be specific about:
20+
21+
- What resources your server will expose
22+
- What tools it will provide
23+
- Any prompts it should offer
24+
- What external systems it needs to interact with
25+
26+
For example:
27+
```
28+
Build an MCP server that:
29+
- Connects to my company's PostgreSQL database
30+
- Exposes table schemas as resources
31+
- Provides tools for running read-only SQL queries
32+
- Includes prompts for common data analysis tasks
33+
```
34+
35+
## Working with Claude
36+
37+
When working with Claude on MCP servers:
38+
39+
1. Start with the core functionality first, then iterate to add more features
40+
2. Ask Claude to explain any parts of the code you don't understand
41+
3. Request modifications or improvements as needed
42+
4. Have Claude help you test the server and handle edge cases
43+
44+
Claude can help implement all the key MCP features:
45+
46+
- Resource management and exposure
47+
- Tool definitions and implementations
48+
- Prompt templates and handlers
49+
- Error handling and logging
50+
- Connection and transport setup
51+
52+
## Best practices
53+
54+
When building MCP servers with Claude:
55+
56+
- Break down complex servers into smaller pieces
57+
- Test each component thoroughly before moving on
58+
- Keep security in mind - validate inputs and limit access appropriately
59+
- Document your code well for future maintenance
60+
- Follow MCP protocol specifications carefully
61+
62+
## Next steps
63+
64+
After Claude helps you build your server:
65+
66+
1. Review the generated code carefully
67+
2. Test the server with the MCP Inspector tool
68+
3. Connect it to Claude.app or other MCP clients
69+
4. Iterate based on real usage and feedback
70+
71+
Remember that Claude can help you modify and improve your server as requirements change over time.
72+
73+
Need more guidance? Just ask Claude specific questions about implementing MCP features or troubleshooting issues that arise.

0 commit comments

Comments
 (0)