add mcp
This commit is contained in:
@@ -83,6 +83,7 @@ function initialiseMcpHelper() {
|
||||
if (!helper) return;
|
||||
const token = helper.querySelector('[data-mcp-token]');
|
||||
const url = helper.querySelector('[data-mcp-url]');
|
||||
url.value = `${window.location.origin}/mcp`;
|
||||
const status = helper.querySelector('[data-mcp-status]');
|
||||
const show = helper.querySelector('[data-mcp-show]');
|
||||
const clear = () => { token.value = ''; token.type = 'password'; show.textContent = 'Show token'; show.setAttribute('aria-pressed', 'false'); };
|
||||
|
||||
Reference in New Issue
Block a user