Skip to content

Commit 039dc23

Browse files
authored
small docs improvements (#32)
1 parent 151b7db commit 039dc23

File tree

3 files changed

+31
-30
lines changed

3 files changed

+31
-30
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
Thanks for your interest in contributing to the Iterable MCP Server! We welcome bug reports, feature requests, and pull requests. If you find a bug or have an idea, please [open an issue](https://github.com/Iterable/mcp-server/issues).
3+
Thanks for your interest in contributing to the Iterable MCP Server! We welcome bug reports, feature requests, and [pull requests](https://github.com/Iterable/mcp-server/pulls). If you find a bug or have an idea, please [open an issue](https://github.com/Iterable/mcp-server/issues).
44

55
## Prerequisites
66

@@ -12,7 +12,7 @@ Thanks for your interest in contributing to the Iterable MCP Server! We welcome
1212
To test changes locally, clone the repo and use one of the `install-dev` scripts. This builds the project and links it as a local MCP server in your AI client, so you can test your changes without publishing to npm.
1313

1414
```bash
15-
git clone https://github.com/iterable/mcp-server.git
15+
git clone https://github.com/Iterable/mcp-server.git
1616
cd mcp-server
1717
pnpm install-dev:cursor # or install-dev:claude-desktop, install-dev:claude-code, install-dev:gemini-cli, install-dev:windsurf, install-dev:antigravity
1818
```
@@ -25,7 +25,7 @@ pnpm install-dev:cursor:debug
2525

2626
## Project structure
2727

28-
MCP tools live in `src/tools/`, one file per domain (campaigns, templates, catalogs, etc.). Each file exports a creator function that returns an array of MCP `Tool` definitions. These are registered in `src/tools/index.ts` via the `TOOL_CREATORS_BY_CATEGORY` array adding a tool to the appropriate domain file is all that's needed for it to be picked up.
28+
MCP tools live in `src/tools/`, one file per domain (campaigns, templates, catalogs, etc.). Each file exports a creator function that returns an array of MCP `Tool` definitions. These are registered in `src/tools/index.ts` via the `TOOL_CREATORS_BY_CATEGORY` array, so adding a tool to the appropriate domain file is all that's needed for it to be picked up.
2929

3030
Tool visibility is controlled by `src/tool-filter.ts`, which uses safe-lists to gate tools based on the `ITERABLE_USER_PII`, `ITERABLE_ENABLE_WRITES`, and `ITERABLE_ENABLE_SENDS` permission flags.
3131

README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Note that permission settings are saved per key (see key management section belo
5555

5656
## What you can do
5757

58-
See [TOOLS.md](TOOLS.md) for all available tools with descriptions. All tools map directly to [Iterable API endpoints](https://api.iterable.com/api/docs).
58+
See the [available tools](TOOLS.md) for all tools with descriptions. All tools map directly to [Iterable API endpoints](https://api.iterable.com/api/docs).
5959

6060
Try these prompts:
6161
- *"Get details on campaign 12345"*
@@ -94,11 +94,12 @@ npx @iterable/mcp keys add
9494
npx @iterable/mcp keys activate production
9595
npx @iterable/mcp keys activate staging
9696

97+
# Update an existing key (interactive: prompts for new values)
98+
npx @iterable/mcp keys update <name-or-id>
99+
97100
# Delete a key by ID (requires ID for safety)
98101
# Note: Cannot delete the currently active key - activate another first
99102
npx @iterable/mcp keys delete <key-id>
100-
101-
# To update a key: delete the old one and add a new one with the same name
102103
```
103104

104105
## Advanced setup
@@ -129,12 +130,6 @@ claude mcp add iterable -- npx -y @iterable/mcp
129130

130131
# Verify it was added
131132
claude mcp list
132-
133-
# Optional: Configure privacy settings
134-
claude mcp add iterable \
135-
--env ITERABLE_USER_PII=false \
136-
--env ITERABLE_ENABLE_WRITES=false \
137-
-- npx -y @iterable/mcp
138133
```
139134

140135
If you have already configured Claude Desktop successfully, you can run this command to copy your MCP server settings to Claude Code:
@@ -224,17 +219,17 @@ No `env` section is needed if using the key manager.
224219

225220
### Environment variables
226221

227-
The setup wizard and key manager handle most of these automatically. Setting environment variables directly is useful for CI/CD pipelines, Docker containers, or other non-interactive environments where the key manager isn't available. When both are present, key manager settings take precedence over environment variables.
222+
Variables marked as **managed** are automatically configured by the key manager. They take precedence over environment variables when both are present. Setting environment variables directly is useful for CI/CD pipelines, Docker containers, or other non-interactive environments where the key manager isn't available.
228223

229-
| Variable | Required | Description |
230-
|----------|----------|-------------|
231-
| `ITERABLE_API_KEY` | No* | Your Iterable API key (*Optional if using key manager, otherwise required) |
232-
| `ITERABLE_BASE_URL` | No** | Base URL for the Iterable API (**Not needed when using key manager - URL is stored with each key) |
233-
| `ITERABLE_DEBUG` | No | Set to `true` for API request logging |
234-
| `LOG_LEVEL` | No | Set to `debug` for troubleshooting |
235-
| `ITERABLE_USER_PII` | No | Set to `true` to enable tools that access user PII data (default: `false`) |
236-
| `ITERABLE_ENABLE_WRITES` | No | Set to `true` to enable tools that perform write operations (default: `false`) |
237-
| `ITERABLE_ENABLE_SENDS` | No | Set to `true` to enable tools that can send messages (default: `false`). Requires writes to be enabled |
224+
| Variable | Managed | Description |
225+
|----------|-------------|-------------|
226+
| `ITERABLE_API_KEY` | | Your Iterable API key. Required if not using key manager |
227+
| `ITERABLE_BASE_URL` | | Base URL for the Iterable API (default: `https://api.iterable.com`) |
228+
| `ITERABLE_USER_PII` | | Set to `true` to enable tools that access user PII data (default: `false`) |
229+
| `ITERABLE_ENABLE_WRITES` | | Set to `true` to enable tools that perform write operations (default: `false`) |
230+
| `ITERABLE_ENABLE_SENDS` | | Set to `true` to enable tools that can send messages (default: `false`). Requires writes to be enabled |
231+
| `ITERABLE_DEBUG` | | Set to `true` for API request logging |
232+
| `LOG_LEVEL` | | Set to `debug` for troubleshooting |
238233

239234
### Custom endpoints
240235

@@ -253,13 +248,13 @@ The setup wizard and key manager handle most of these automatically. Setting env
253248

254249
#### Windsurf (Codeium)
255250

256-
**Tool limit:** Windsurf has a [maximum limit of 100 tools](https://docs.windsurf.com/windsurf/cascade/mcp) that Cascade can access at any given time. When all permissions are enabled (`ITERABLE_USER_PII=true`, `ITERABLE_ENABLE_WRITES=true`, `ITERABLE_ENABLE_SENDS=true`), the Iterable MCP server exposes **104 tools**, which exceeds this limit.
251+
**Tool limit:** Windsurf has a [maximum limit of 100 tools](https://docs.windsurf.com/windsurf/cascade/mcp) that Cascade can access at any given time. When all permissions are enabled (`ITERABLE_USER_PII=true`, `ITERABLE_ENABLE_WRITES=true`, `ITERABLE_ENABLE_SENDS=true`), the Iterable MCP server exposes **105 tools**, which exceeds this limit.
257252

258253
**Workaround:** Use restricted permissions to stay under the 100-tool limit:
259254
- With default permissions (all disabled): 26 tools ✅
260255
- With PII only: 37 tools ✅
261-
- With PII + writes: 86 tools ✅
262-
- With all permissions: 104 tools ❌ (exceeds Windsurf limit)
256+
- With PII + writes: 87 tools ✅
257+
- With all permissions: 105 tools ❌ (exceeds Windsurf limit)
263258

264259
You can configure permissions when adding a key:
265260
```bash
@@ -275,13 +270,13 @@ npx @iterable/mcp keys update <key-name> --advanced
275270

276271
#### Antigravity
277272

278-
**Tool limit:** Antigravity has a maximum limit of 100 tools per MCP server. When all permissions are enabled (`ITERABLE_USER_PII=true`, `ITERABLE_ENABLE_WRITES=true`, `ITERABLE_ENABLE_SENDS=true`), the Iterable MCP server exposes **104 tools**, which exceeds this limit.
273+
**Tool limit:** Antigravity has a maximum limit of 100 tools per MCP server. When all permissions are enabled (`ITERABLE_USER_PII=true`, `ITERABLE_ENABLE_WRITES=true`, `ITERABLE_ENABLE_SENDS=true`), the Iterable MCP server exposes **105 tools**, which exceeds this limit.
279274

280275
**Workaround:** Use restricted permissions to stay under the 100-tool limit:
281276
- With default permissions (all disabled): 26 tools ✅
282277
- With PII only: 37 tools ✅
283-
- With PII + writes: 86 tools ✅
284-
- With all permissions: 104 tools ❌ (exceeds Antigravity limit)
278+
- With PII + writes: 87 tools ✅
279+
- With all permissions: 105 tools ❌ (exceeds Antigravity limit)
285280

286281
You can configure permissions when adding a key:
287282
```bash
@@ -295,14 +290,19 @@ npx @iterable/mcp keys update <key-name> --advanced
295290

296291
## Contributing
297292

298-
See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, building from source, and running tests.
293+
See the [contributing guidelines](CONTRIBUTING.md) for development setup, building from source, and running tests.
294+
295+
## Security
296+
297+
See the [security policy](SECURITY.md) for reporting vulnerabilities.
299298

300299
## Beta Feature Reminder
300+
301301
Iterable's MCP server is currently in beta. MCP functionality may change, be
302302
suspended, or be discontinued at any time without notice. This software is
303303
provided "as is" and is open source and ready for you to experiment with. For
304304
more information, refer to [Iterable Beta Terms](https://iterable.com/trust/beta-terms/).
305305

306306
## License
307307

308-
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
308+
This project is licensed under the MIT License. See the [license](LICENSE.md) for details.

_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
- [Home](/)
22
- [Available Tools](TOOLS.md)
33
- [Contributing](CONTRIBUTING.md)
4+
- [Security](SECURITY.md)
45
- [License](LICENSE.md)

0 commit comments

Comments
 (0)