Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
0034f93
Add a home page with basic information
ar2rsawseen Nov 11, 2025
4c61d27
Add anonymous analytical usage tracking
ar2rsawseen Nov 11, 2025
6df52dd
Merge branch 'main' into ar2rsawseen/main
ar2rsawseen Nov 11, 2025
77828c6
Add more tests for coverage
ar2rsawseen Nov 11, 2025
64fcc33
Improved error handling
ar2rsawseen Nov 11, 2025
9481e8b
Add support for passing Server URL and auth token as URL parameters
ar2rsawseen Nov 11, 2025
ee68a94
Add more core tools like pin, version and plugins
ar2rsawseen Nov 12, 2025
fa307c9
Automatically check plugin availability for specific tools
ar2rsawseen Nov 12, 2025
2fb5f46
Add drill support
ar2rsawseen Nov 12, 2025
82e8522
Add user profiles module
ar2rsawseen Nov 12, 2025
ced0581
Add cohorts module
ar2rsawseen Nov 12, 2025
0bcbe1c
Add funnels module
ar2rsawseen Nov 12, 2025
a09fa62
Add session frequency data
ar2rsawseen Nov 12, 2025
eb26790
Add loyalty and session duration analysis
ar2rsawseen Nov 12, 2025
f9ad4e9
Add formulas module
ar2rsawseen Nov 12, 2025
0e11d11
Add live users module
ar2rsawseen Nov 12, 2025
f34735d
Add retention module
ar2rsawseen Nov 12, 2025
cc7ef91
Add remote config module
ar2rsawseen Nov 12, 2025
9bfb875
Add ab testing module
ar2rsawseen Nov 12, 2025
fc98b47
Add incoming data log module
ar2rsawseen Nov 12, 2025
9de3be4
Add SDKs module
ar2rsawseen Nov 12, 2025
727c8d4
Add compliance hub module
ar2rsawseen Nov 12, 2025
5007f59
Add filtering rules module
ar2rsawseen Nov 12, 2025
9e4234b
Add data point module
ar2rsawseen Nov 12, 2025
d692484
Add server logs module
ar2rsawseen Nov 12, 2025
3b0cbe7
Add jobs
ar2rsawseen Nov 12, 2025
8c832c6
Add email reports module
ar2rsawseen Nov 12, 2025
926f623
Add dashboard module
ar2rsawseen Nov 12, 2025
fe930f4
Add times of day module
ar2rsawseen Nov 12, 2025
299038b
Add hooks module
ar2rsawseen Nov 12, 2025
9fb798d
Update change log
ar2rsawseen Nov 12, 2025
11d2217
Fix comparison
ar2rsawseen Nov 12, 2025
1068da4
Add .well-known manifest
ar2rsawseen Nov 12, 2025
38878d2
Fix error handler
ar2rsawseen Nov 12, 2025
aa137ae
Add resources and prompts
ar2rsawseen Nov 12, 2025
3903d79
fix error handling
ar2rsawseen Nov 12, 2025
4c64e51
Fix tests
ar2rsawseen Nov 12, 2025
82397ec
Add more tests
ar2rsawseen Nov 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ COUNTLY_SERVER_URL=https://api.count.ly
# Default: 30000 (30 seconds)
COUNTLY_TIMEOUT=30000

# Analytics Tracking (optional)
# Enable anonymous usage analytics to help improve the MCP server
# All data is aggregated under device ID "mcp" - completely anonymous
# NO authentication tokens, server URLs, or personal data is collected
# Default: false (disabled)
# ENABLE_ANALYTICS=true


# ==============================================================================
# AUTHENTICATION PRIORITY
Expand Down
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,44 @@ The server supports multiple authentication methods (in priority order):
| `COUNTLY_AUTH_TOKEN` | No* | - | Authentication token (direct) |
| `COUNTLY_AUTH_TOKEN_FILE` | No* | - | Path to file containing auth token |
| `COUNTLY_TIMEOUT` | No | `30000` | Request timeout in milliseconds |
| `ENABLE_ANALYTICS` | No | `false` | Enable anonymous usage analytics |
| `COUNTLY_TOOLS_{CATEGORY}` | No | `ALL` | Control available tools per category (see below) |
| `COUNTLY_TOOLS_ALL` | No | `ALL` | Default permission for all categories |

*At least one authentication method must be configured

### Analytics Tracking (Optional)

The MCP server includes optional anonymous usage analytics to help improve the product. Analytics are **disabled by default** and can be enabled via the `ENABLE_ANALYTICS=true` environment variable.

**What is tracked:**
- Transport type used (stdio vs HTTP)
- Tool execution metrics (success/failure, duration, tool names)
- Authentication methods used (headers, env, file, args)
- HTTP endpoint access patterns
- Error occurrences (type and message, NO sensitive data)
- Server start/stop events

**What is NOT tracked:**
- Authentication tokens or credentials
- Server URLs or domains
- User data or analytics content
- Personal information
- IP addresses or client identifiers

**Privacy & Device ID:**
All analytics are aggregated under a single device ID "mcp" to ensure complete anonymity. No server-specific or user-specific information is collected.

**To enable:**
```bash
export ENABLE_ANALYTICS=true
```

Or in your `.env` file:
```
ENABLE_ANALYTICS=true
```

### Tools Configuration

The server supports fine-grained control over which MCP tools are available and which CRUD operations they can perform. This is useful for security, governance, or creating read-only deployments.
Expand Down
7 changes: 7 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"dependencies": {
"@modelcontextprotocol/sdk": "^1.21.0",
"axios": "^1.13.2",
"countly-sdk-nodejs": "^24.10.3",
"dotenv": "^17.2.3"
},
"devDependencies": {
Expand Down
Loading
Loading