Skip to content

Commit 6158ff8

Browse files
add click to install
1 parent 8da6e0a commit 6158ff8

File tree

3 files changed

+32
-18
lines changed

3 files changed

+32
-18
lines changed

.cursor/mcp.json

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

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,38 @@
55
# Appwrite Docs MCP Server
66
This MCP server is a tool that allows IDEs (Cursor, Windsurf, Claude Code, etc.) to utilize the Appwrite documentation.
77

8-
## Setting up
8+
## Usage in your IDE (Cursor, Windsurf, Claude Code, etc.)
9+
10+
### Cursor
11+
12+
Aadd the following to your global Cursor MCP configuration file (`~/.cursor/mcp.json`):
13+
14+
[Click here to add the MCP server to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=appwrite-docs-mcp&config=eyJ1cmwiOiJodHRwczovL21jcC1mb3ItZG9jcy5hcHB3cml0ZS5pbyJ9)
15+
16+
Now, enable the MCP server in
17+
18+
### Claude Code
19+
20+
Run the following command to add the MCP server to Claude Code:
21+
```bash
22+
claude mcp add appwrite-docs-mcp http://localhost:1234 -t http
23+
```
24+
25+
### Windsurf
26+
27+
Add the following to your global Windsurf MCP configuration file (`~/.codeium/windsurf/mcp_config.json`):
28+
29+
```json
30+
{
31+
"mcpServers": {
32+
"appwrite-docs-mcp": {
33+
"serverUrl": "https://mcp-for-docs.appwrite.io"
34+
}
35+
}
36+
}
37+
```
38+
39+
## Development
940

1041
Before setting up, make sure you have Bun installed.
1142

@@ -73,7 +104,6 @@ Here is a sample configuration file:
73104
{
74105
"mcpServers": {
75106
"appwrite-docs-mcp": {
76-
"transport": "http",
77107
"url": "http://localhost:1234"
78108
}
79109
}

src/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ const server = new MCPServer({
1515
responseMode: "batch", // Response mode: "batch" or "stream" (default: "batch")
1616
batchTimeout: 30000, // Timeout for batch responses in ms (default: 30000)
1717
headers: {
18-
// Custom headers for responses
19-
"X-Custom-Header": "value",
2018
},
2119
cors: {
2220
// CORS configuration
@@ -28,12 +26,6 @@ const server = new MCPServer({
2826
maxAge: "86400",
2927
},
3028
auth: {},
31-
session: {
32-
// Session configuration
33-
enabled: true, // Enable session management (default: true)
34-
headerName: "Mcp-Session-Id", // Session header name (default: "Mcp-Session-Id")
35-
allowClientTermination: true, // Allow clients to terminate sessions (default: true)
36-
},
3729
},
3830
},
3931
});

0 commit comments

Comments
 (0)