You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/agent-wordlift/integrations.md
+54Lines changed: 54 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,40 @@ The WordLift CLI seamlessly integrates with modern development practices:
146
146
147
147
**API Integration:** Access the full WordLift Agent API capabilities through command-line interfaces.
148
148
149
+
#### Advanced CLI Configuration (Experimental)
150
+
151
+
For advanced users or programmatic setups, you can manually configure the CLI settings including header-based authorization.
152
+
153
+
:::warning
154
+
Direct configuration modification is intended for advanced users. The API key must be manually edited in the configuration file as environment variables are not currently interpolated.
155
+
:::
156
+
157
+
To edit the configuration, locate `settings.json` based on your installation:
158
+
159
+
```bash
160
+
# If installed locally (git clone)
161
+
vim .gemini/settings.json
162
+
163
+
# If installed globally via npm
164
+
vim $(dirname $(which wordlift-cli))/../lib/node_modules/wordlift-cli/.gemini/settings.json
165
+
```
166
+
167
+
A sample header-based authorization configuration looks like this:
168
+
169
+
```json
170
+
{
171
+
"Wordlift - via header auth": {
172
+
"command": "npx",
173
+
"args": [
174
+
"mcp-remote",
175
+
"https://mcp.wordlift.io/sse",
176
+
"--header",
177
+
"Authorization: Key YOUR_WORDLIFT_API_KEY_HERE"
178
+
]
179
+
}
180
+
}
181
+
```
182
+
149
183
Ready to supercharge your command-line SEO workflow? [Install WordLift CLI](https://www.npmjs.com/package/wordlift-cli) and bring Agent WordLift's power directly to your terminal!
150
184
151
185
---
@@ -193,6 +227,26 @@ Watch how Claude, integrated with WordLift via Model Context Protocol, analyzes
193
227
}
194
228
```
195
229
230
+
:::tip Advanced: Header-based Authorization
231
+
For programmatic use or advanced configurations, you can provide the API key directly in the configuration using the `--header` flag:
232
+
```json
233
+
{
234
+
"mcpServers": {
235
+
"wordlift": {
236
+
"command": "npx",
237
+
"args": [
238
+
"-y",
239
+
"mcp-remote",
240
+
"https://mcp.wordlift.io/sse",
241
+
"--header",
242
+
"Authorization: Key YOUR_WORDLIFT_API_KEY_HERE"
243
+
]
244
+
}
245
+
}
246
+
}
247
+
```
248
+
:::
249
+
196
250
**For Visual Studio:**
197
251
1. Press CTRL/CMD+P and search for "MCP: Add Server"
0 commit comments