Skip to content

Commit fc1cac8

Browse files
Update the documentation
1 parent 684158a commit fc1cac8

File tree

1 file changed

+4
-26
lines changed

1 file changed

+4
-26
lines changed

docs/RESOURCES.md

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ MCP Nexus provides resources for session management, command tracking, and docum
1313
| Resource | Purpose | Parameters | Real-time |
1414
|----------|---------|------------|-----------|
1515
| `sessions` | List all active analysis sessions | None ||
16-
| `commands` | List commands with filtering | `sessionId`, `command`, `from`, `to`, `limit`, `offset`, `sortBy`, `order` ||
16+
| `commands` | List commands with status and timing | None ||
1717
| `workflows` | Get crash analysis workflows | None ||
1818
| `usage` | Get complete usage guide | None ||
1919
| `metrics` | Get performance metrics | None ||
@@ -61,11 +61,11 @@ MCP Nexus provides resources for session management, command tracking, and docum
6161

6262
### `commands`
6363

64-
**Purpose**: List commands from all sessions with advanced filtering options
65-
**Parameters**: All optional
64+
**Purpose**: List commands from all sessions with status and timing information
65+
**Parameters**: None
6666
**Real-time**: ✅ Updates as commands are queued/completed
6767

68-
**Basic Usage**:
68+
**Example Request**:
6969
```json
7070
{
7171
"jsonrpc": "2.0",
@@ -77,28 +77,6 @@ MCP Nexus provides resources for session management, command tracking, and docum
7777
}
7878
```
7979

80-
**Advanced Filtering**:
81-
```json
82-
{
83-
"jsonrpc": "2.0",
84-
"id": 3,
85-
"method": "resources/read",
86-
"params": {
87-
"uri": "commands?sessionId=sess-000001-abc12345&command=!analyze&limit=10&sortBy=createdAt&order=desc"
88-
}
89-
}
90-
```
91-
92-
**Filter Parameters**:
93-
- `sessionId`: Filter by specific session ID
94-
- `command`: Filter by command text (case-insensitive substring match)
95-
- `from`: Filter commands created from this DateTime (ISO 8601 format)
96-
- `to`: Filter commands created until this DateTime (ISO 8601 format)
97-
- `limit`: Maximum number of results to return
98-
- `offset`: Number of results to skip (for pagination)
99-
- `sortBy`: Sort field: `command`, `status`, `createdAt` (default: `createdAt`)
100-
- `order`: Sort order: `asc`, `desc` (default: `desc`)
101-
10280
## 📚 Documentation Resources
10381

10482
### `workflows`

0 commit comments

Comments
 (0)