Skip to content

Commit 2c4a54a

Browse files
committed
fix: address removal of claude config file + use correct port 5050
1 parent 548e032 commit 2c4a54a

File tree

1 file changed

+62
-61
lines changed

1 file changed

+62
-61
lines changed

docs/source/quickstart.mdx

Lines changed: 62 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -72,61 +72,70 @@ Before connecting to Claude, verify your MCP server is working. In a new termina
7272
npx @modelcontextprotocol/inspector http://127.0.0.1:5050/mcp --transport http
7373
```
7474

75-
1. This will automatically open your browser to `http://127.0.0.1:6274`.
76-
1. In MCP Inspector, select `Streamable HTTP` as the Transport Type and enter `http://127.0.0.1:5050/mcp` as the URL.
77-
2. Click **Connect**, then **List Tools**.
75+
This will automatically open your browser to `http://127.0.0.1:6274`.
7876

79-
You should see MCP tools listed.
77+
Click **Connect**, then **List Tools** to see the available tools.
8078

8179
## Step 3: Connect to Claude Desktop
8280

83-
Apollo MCP Server works with **any** MCP-compatible client. Add the generated initial `config.json` to the AI application of your choosing.
81+
Apollo MCP Server works with any MCP-compatible client. Choose your favorite client and follow the instructions to connect.
8482

85-
The template comes with config for Claude Desktop.
83+
<ExpansionPanel title="Claude Desktop">
8684

87-
```bash
88-
# Copy the configuration for Claude Desktop
89-
# macOS:
90-
cp claude_desktop_config.json ~/Library/Application\ Support/Claude/claude_desktop_config.json
85+
Open the `claude_desktop_config.json` file in one of the following paths:
9186

92-
# Windows:
93-
copy claude_desktop_config.json "%APPDATA%\Claude\claude_desktop_config.json"
87+
- Mac OS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
88+
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
89+
- Linux: `~/.config/Claude/claude_desktop_config.json`
9490

95-
# Linux:
96-
cp claude_desktop_config.json ~/.config/Claude/claude_desktop_config.json
91+
Copy the configuration:
9792

98-
# Restart Claude Desktop
93+
```json
94+
{
95+
"mcpServers": {
96+
"mcp-My API": {
97+
"command": "npx",
98+
"args": [
99+
"mcp-remote",
100+
"http://127.0.0.1:5050/mcp"
101+
]
102+
}
103+
}
104+
}
99105
```
100106

101-
<details>
102-
<summary>Claude Code</summary>
107+
</ExpansionPanel>
103108

109+
<ExpansionPanel title="Claude Code">
104110
Install using the CLI:
105111

106112
```bash
107-
claude mcp add apollo-mcp npx mcp-remote http://127.0.0.1:5000/mcp
113+
claude mcp add apollo-mcp npx mcp-remote http://127.0.0.1:5050/mcp
108114
```
109-
</details>
110-
<details>
111-
<summary>Cursor</summary>
115+
</ExpansionPanel>
112116

117+
<ExpansionPanel title="Cursor">
113118
Click the button to quick install:
114119

115-
[![Install Apollo MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=apollo-mcp&config=eyJjb21tYW5kIjoibnB4IG1jcC1yZW1vdGUgaHR0cDovLzEyNy4wLjAuMTo1MDUwL21jcCJ9)
120+
<a href="cursor://anysphere.cursor-deeplink/mcp/install?name=apollo-mcp&config=eyJjb21tYW5kIjoibnB4IG1jcC1yZW1vdGUgaHR0cDovLzEyNy4wLjAuMTo1MDUwL21jcCJ9">
121+
<img
122+
src="https://cursor.com/deeplink/mcp-install-dark.svg"
123+
alt="Install Apollo MCP Server"
124+
width="200"
125+
/>
126+
</a>
116127

117128
Or install manually:
118129

119130
1. Go to **Cursor Settings****MCP****Add new MCP Server**
120131
2. Name: `Apollo MCP` (choose a title)
121132
3. Command: `npx`
122-
4. Arguments: `["mcp-remote", "http://127.0.0.1:5000/mcp"]`
123-
</details>
133+
4. Arguments: `["mcp-remote", "http://127.0.0.1:5050/mcp"]`
134+
</ExpansionPanel>
124135

125-
<details>
126-
<summary>Goose</summary>
136+
<ExpansionPanel title="Goose">
127137
Add Apollo MCP Server to your Goose configuration. Edit your `~/.config/goose/profiles.yaml`:
128138

129-
130139
```yaml
131140
default:
132141
provider: openai
@@ -141,26 +150,24 @@ default:
141150
command: npx
142151
args:
143152
- mcp-remote
144-
- http://127.0.0.1:5000/mcp
153+
- http://127.0.0.1:5050/mcp
145154
```
146155
147156
Or use the Goose CLI to add the MCP server:
148157
149158
```bash
150-
goose mcp add apollo-mcp npx mcp-remote http://127.0.0.1:5000/mcp
159+
goose mcp add apollo-mcp npx mcp-remote http://127.0.0.1:5050/mcp
151160
```
152-
</details>
153-
<details>
154-
<summary>Cline (VS Code Extension)</summary>
161+
</ExpansionPanel>
155162

163+
<ExpansionPanel title="Cline (VS Code Extension)">
156164
1. Go to **Advanced settings****Extensions****Add custom extension**
157165
2. Name: `Apollo MCP`
158166
3. Type: **STDIO**
159-
4. Command: `npx mcp-remote http://127.0.0.1:5000/mcp`
160-
</details>
161-
<details>
162-
<summary>OpenCode</summary>
167+
4. Command: `npx mcp-remote http://127.0.0.1:5050/mcp`
168+
</ExpansionPanel>
163169

170+
<ExpansionPanel title="OpenCode">
164171
Edit `~/.config/opencode/opencode.json`:
165172

166173
```json
@@ -172,21 +179,20 @@ Edit `~/.config/opencode/opencode.json`:
172179
"command": [
173180
"npx",
174181
"mcp-remote",
175-
"http://127.0.0.1:5000/mcp"
182+
"http://127.0.0.1:5050/mcp"
176183
],
177184
"enabled": true
178185
}
179186
}
180187
}
181188
```
182-
</details>
183-
<details>
184-
<summary>Windsurf</summary>
189+
</ExpansionPanel>
185190

186-
Go to **Windsurf Settings → MCP → Add new MCP Server**
187-
Name: `Apollo MCP`
188-
Command: `npx`
189-
Arguments: `["mcp-remote", "http://127.0.0.1:5000/mcp"]`
191+
<ExpansionPanel title="Windsurf">
192+
1. Go to **Windsurf Settings → MCP → Add new MCP Server**
193+
2. Name: `Apollo MCP`
194+
3. Command: `npx`
195+
4. Arguments: `["mcp-remote", "http://127.0.0.1:5050/mcp"]`
190196

191197
Alternatively, edit your Windsurf configuration file directly:
192198

@@ -197,14 +203,18 @@ Alternatively, edit your Windsurf configuration file directly:
197203
"command": "npx",
198204
"args": [
199205
"mcp-remote",
200-
"http://127.0.0.1:5000/mcp"
206+
"http://127.0.0.1:5050/mcp"
201207
]
202208
}
203209
}
204210
}
205211
```
206-
</details>
212+
</ExpansionPanel>
207213

214+
1. Restart your MCP client
215+
1. Test the connection by asking: "What MCP tools do you have available?"
216+
1. Verify GraphQL operations are listed as available tools
217+
1. Test a query using one of your configured operations
208218

209219

210220
## Configuration Options
@@ -227,7 +237,7 @@ schema:
227237
path: ./schema.graphql
228238
transport:
229239
type: http
230-
port: 5000
240+
port: 5050
231241
```
232242
</details>
233243
<details>
@@ -244,7 +254,7 @@ schema:
244254
path: ./schema.graphql
245255
transport:
246256
type: http
247-
port: 5000
257+
port: 5050
248258
host: localhost
249259
headers:
250260
Authorization: Bearer ${GRAPHQL_TOKEN}
@@ -275,15 +285,6 @@ export GRAPHQL_TOKEN="your-token-here"
275285
```
276286
</details>
277287

278-
## Verification
279-
280-
After adding Apollo MCP Server to your client:
281-
282-
1. **Restart your MCP client** (Claude Desktop, Cursor, etc.)
283-
2. **Test the connection** by asking: "What MCP tools do you have available?"
284-
3. **Verify GraphQL operations** are listed as available tools
285-
4. **Test a query** using one of your configured operations
286-
287288
## Troubleshooting
288289

289290
<details>
@@ -295,8 +296,8 @@ After adding Apollo MCP Server to your client:
295296
- Check port numbers match between server and client config
296297

297298
**Connection refused errors:**
298-
- Confirm the server is running on the correct port (default: 5000)
299-
- Verify firewall settings allow connections to localhost:5000
299+
- Confirm the server is running on the correct port (default: 5050)
300+
- Verify firewall settings allow connections to localhost:5050
300301
- For remote connections, ensure the host is set to `0.0.0.0` in your config
301302

302303
**GraphQL operation errors:**
@@ -381,7 +382,7 @@ docker build -f mcp.Dockerfile -t my-mcp-server .
381382

382383
**Run locally:**
383384
```bash
384-
docker run -p 4000:4000 -p 5050:5000 \
385+
docker run -p 4000:4000 -p 5050:5050 \
385386
-e APOLLO_KEY=$APOLLO_KEY \
386387
-e APOLLO_GRAPH_REF=$APOLLO_GRAPH_REF \
387388
-e MCP_ENABLE=1 \
@@ -425,7 +426,7 @@ Ensure these variables are set in your deployment environment:
425426
|----------|-------------|----------|
426427
| `APOLLO_KEY` | Your graph's API key | Yes |
427428
| `APOLLO_GRAPH_REF` | Your graph reference | Yes |
428-
| `APOLLO_MCP_TRANSPORT__PORT` | MCP server port (default: 5000) | No |
429+
| `APOLLO_MCP_TRANSPORT__PORT` | MCP server port (default: 5050) | No |
429430
| `APOLLO_ROUTER_PORT` | Router port (default: 4000) | No |
430431

431432
For more deployment options, see the [Deploy the MCP Server](.deploy) page.

0 commit comments

Comments
 (0)