release(v2.7.3): tenant SQL scoping, spoof-proof rate limits, safe fraud demo, non-root Docker & full parity
This commit is contained in:
+25
-20
@@ -349,23 +349,17 @@
|
||||
<div class="panel">
|
||||
<div class="panel-head">
|
||||
<span>Client Request Payload (JSON-RPC 2.0)</span>
|
||||
<span style="font-size:11px;font-family:var(--font-mono);color:var(--cyan);">method: initialize</span>
|
||||
<span style="font-size:11px;font-family:var(--font-mono);color:var(--cyan);">method: tools/list</span>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<input id="auth-token" type="password" autocomplete="off" placeholder="Optional: Paste Bearer API Key or OAuth Token (leave empty for tools/list)" style="width:100%;margin-bottom:10px;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,0.12);background:rgba(0,0,0,0.35);color:var(--text);font-family:var(--font-mono);font-size:12px;" />
|
||||
<textarea id="req-body">{
|
||||
"jsonrpc": "2.0",
|
||||
"id": 1,
|
||||
"method": "initialize",
|
||||
"params": {
|
||||
"protocolVersion": "2024-11-05",
|
||||
"capabilities": {},
|
||||
"clientInfo": {
|
||||
"name": "Aura-Playground",
|
||||
"version": "2.7.1"
|
||||
}
|
||||
}
|
||||
"method": "tools/list",
|
||||
"params": {}
|
||||
}</textarea>
|
||||
<button class="action-btn" id="run-btn" onclick="executeHandshake()">Send JSON-RPC Handshake ⚡</button>
|
||||
<button class="action-btn" id="run-btn" onclick="executeHandshake()">Send JSON-RPC Request ⚡</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -452,7 +446,7 @@
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>Aura Courier MCP v2.7.1 · Built with pride by <a href="https://auraajenticai.cloud" style="color:var(--text);font-weight:600;">Aura Ajentic AI</a> · Apache 2.0 License</p>
|
||||
<p>Aura Courier MCP v2.7.3 · Built with pride by <a href="https://auraajenticai.cloud" style="color:var(--text);font-weight:600;">Aura Ajentic AI</a> · Apache 2.0 License</p>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
@@ -474,25 +468,36 @@
|
||||
|
||||
try {
|
||||
const t0 = performance.now();
|
||||
const tokenInput = (document.getElementById('auth-token')?.value || '').trim();
|
||||
const reqHeaders = {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json, text/event-stream'
|
||||
};
|
||||
if (tokenInput) {
|
||||
reqHeaders['Authorization'] = tokenInput.toLowerCase().startsWith('bearer ')
|
||||
? tokenInput
|
||||
: `Bearer ${tokenInput}`;
|
||||
}
|
||||
const res = await fetch('/mcp', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json, text/event-stream',
|
||||
'Authorization': 'Bearer aura_ro_public_inspector_2026'
|
||||
},
|
||||
headers: reqHeaders,
|
||||
body: bodyText
|
||||
});
|
||||
const elapsed = Math.round(performance.now() - t0);
|
||||
|
||||
const sid = res.headers.get('mcp-session-id') || 'Generated by server';
|
||||
const sid = res.headers.get('mcp-session-id') || 'Stateless / None';
|
||||
const wwwAuth = res.headers.get('www-authenticate') || '';
|
||||
const contentType = res.headers.get('content-type') || '';
|
||||
const resText = await res.text();
|
||||
|
||||
statusEl.textContent = `${res.status} ${res.statusText} (${elapsed}ms)`;
|
||||
statusEl.style.color = res.ok ? 'var(--good)' : 'var(--danger)';
|
||||
|
||||
let formattedOutput = `// HTTP Status: ${res.status} ${res.statusText}\n// Roundtrip: ${elapsed}ms\n// mcp-session-id: ${sid}\n// content-type: ${contentType}\n\n`;
|
||||
let formattedOutput = `// HTTP Status: ${res.status} ${res.statusText}\n// Roundtrip: ${elapsed}ms\n// mcp-session-id: ${sid}\n// content-type: ${contentType}\n`;
|
||||
if (wwwAuth) {
|
||||
formattedOutput += `// WWW-Authenticate: ${wwwAuth}\n`;
|
||||
}
|
||||
formattedOutput += '\n';
|
||||
|
||||
try {
|
||||
const parsed = JSON.parse(resText);
|
||||
@@ -508,7 +513,7 @@
|
||||
viewEl.textContent = `Error: ${err.message}`;
|
||||
} finally {
|
||||
btn.disabled = false;
|
||||
btn.textContent = 'Send JSON-RPC Handshake ⚡';
|
||||
btn.textContent = 'Send JSON-RPC Request ⚡';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user