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
@@ -143,6 +144,22 @@ This MCP server provides 5 generic tools that can access any Jira API endpoint:
143
144
-`/rest/api/3/issuetype` - List issue types
144
145
-`/rest/api/3/priority` - List priorities
145
146
147
+
### TOON Output Format
148
+
149
+
By default, all responses use **TOON (Token-Oriented Object Notation)** format, which reduces token usage by 30-60% compared to JSON. TOON uses tabular arrays and minimal syntax, making it ideal for AI consumption.
150
+
151
+
**To use JSON instead:** Add `--output-format json` to CLI commands or set `outputFormat: "json"` in MCP tool calls.
For large API responses (>40k characters ≈ 10k tokens), responses are automatically truncated with guidance. The complete raw response is saved to `/tmp/mcp/mcp-server-atlassian-jira/<timestamp>-<random>.txt` for reference.
182
+
183
+
**When truncated, you'll see:**
184
+
- A truncation notice with the raw file path
185
+
- Suggestions to refine your query with better filters
186
+
- Percentage of data shown vs total size
187
+
162
188
## Real-World Examples
163
189
164
190
### Explore Your Projects
@@ -194,13 +220,19 @@ Ask your AI assistant:
194
220
The CLI mirrors the MCP tools for direct terminal access:
195
221
196
222
```bash
197
-
# GET request
223
+
# GET request (returns TOON format by default)
198
224
npx -y @aashari/mcp-server-atlassian-jira get --path "/rest/api/3/project/search"
199
225
200
-
# GET with query parameters
226
+
# GET with query parameters and JSON output
201
227
npx -y @aashari/mcp-server-atlassian-jira get \
202
228
--path "/rest/api/3/search/jql" \
203
-
--query-params '{"jql": "project=DEV AND status=\"In Progress\"", "maxResults": "10"}'
229
+
--query-params '{"jql": "project=DEV AND status=\"In Progress\"", "maxResults": "10"}' \
230
+
--output-format json
231
+
232
+
# GET with JMESPath filtering to extract specific fields
Debug logs are written to `~/.mcp/data/mcp-server-atlassian-jira.<session-id>.log`
411
+
412
+
**Check raw API responses:** When responses are truncated, the full raw response is saved to `/tmp/mcp/mcp-server-atlassian-jira/<timestamp>-<random>.txt` with request/response details.
413
+
319
414
## Migration from v2.x
320
415
321
416
Version 3.0 replaces 8+ specific tools with 5 generic HTTP method tools. If you're upgrading from v2.x:
0 commit comments