Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
900096c
Fix timeZone default not applied when parameter value is None
nicolagi Feb 25, 2026
5f66f3d
Fix time format: use epoch milliseconds for search jobs API
nicolagi Feb 25, 2026
fab2a72
Fix result retrieval for aggregate queries and empty results
nicolagi Feb 25, 2026
9a0890d
Fix list_collectors missing filter_type parameter
nicolagi Mar 4, 2026
afe78fd
Remove unsupported filter_type from list_collectors
nicolagi Mar 4, 2026
b663d48
fix
nicolagi Mar 4, 2026
8945b35
Stop circuit breaker tripping on benign batches of work
nicolagi May 13, 2026
cee3dbb
Add uv.lock
akeyx Jun 16, 2026
36f8b79
feat(monitors): implement get_monitor_status from Monitors Management…
akeyx Jun 16, 2026
b00ac7e
fix: migrate Pydantic v1 syntax to v2 to silence deprecation warnings
akeyx Jun 16, 2026
07b386a
Merge pull request #1 from akeyx/feat/get-monitor-status
akeyx Jun 16, 2026
1ee1a2c
Merge pull request #2 from akeyx/fix/pydantic-v2-deprecations
akeyx Jun 16, 2026
9702159
feat: add generic api CLI subcommand and api_call MCP tool
akeyx Jun 16, 2026
9d8a68c
Merge pull request #3 from akeyx/feature/generic-api-command
akeyx Jun 16, 2026
f51e433
fix: resolve monitor tools scope issue and handle missing history end…
akeyx Jun 16, 2026
283cd3a
Merge pull request #4 from akeyx/fix/monitor-tools
akeyx Jun 16, 2026
985c717
feat: Add folder management MCP tools and client endpoints
akeyx Jun 16, 2026
5e3c2c4
Merge pull request #5 from akeyx/feature/folder-management
akeyx Jun 16, 2026
a201ec9
Fix asyncio reentrant-lock deadlock in monitoring
akeyx Jun 17, 2026
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ cython_debug/
config.json
test_*.py
debug_*.py
# But always track the real test suite under tests/.
!tests/test_*.py

# macOS
.DS_Store
Expand Down
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,39 @@ Configure your MCP client to connect to this server. Example configuration for v
- `validate_monitor_config`: Validate monitor configuration
- `get_monitor_history`: Get monitor execution history and metrics

### Generic API Tools
- `api_call`: Execute raw, authenticated HTTP requests to any Sumo Logic API endpoint (useful for fallback or unsupported APIs)

## CLI Subcommand

This MCP server package also exposes an `api` CLI subcommand (similar to GitHub CLI's `gh api`) that lets you execute authenticated and rate-limited HTTP requests to Sumo Logic directly from your terminal. It reuses the credentials configured in your environment or configuration files.

### Syntax
```bash
python -m sumologic_mcp api <PATH> [OPTIONS]
```

### Examples
```bash
# List all users (defaults to GET)
python -m sumologic_mcp api "/v1/users"

# Create a folder (using -X POST)
python -m sumologic_mcp api "/v1/folders" -X POST --body '{"name": "New Folder", "parentId": "0000000000000001"}'

# Delete a collector (using -X DELETE)
python -m sumologic_mcp api "/v1/collectors/10002" -X DELETE

# Get with query parameters
python -m sumologic_mcp api "/v1/collectors" -p "limit=5" -p "offset=0"
```

### Options
* `-X, --method`: HTTP Method (GET, POST, PUT, DELETE, PATCH). Defaults to `GET`.
* `-b, --body`: JSON string request body for write requests.
* `-p, --param`: Query parameters in `KEY=VALUE` format (can be specified multiple times).
* `-H, --header`: Custom headers in `KEY=VALUE` or `KEY:VALUE` format (can be specified multiple times).

## Development

### Setup Development Environment
Expand Down
Loading