auth {
mode: apikey
}
auth:apikey {
key: x-cfi-token
value: abcde
placement: header
}
vars:pre-request {
baseUrl: http://localhost:3000
}
script:pre-request {
let urlAlphabet =
'useandom-ABCDE'
let customAlphabet = (alphabet, defaultSize = 22) => {
return (size = defaultSize) => {
let id = ''
// A compact alternative for `for (var i = 0; i < step; i++)`.
let i = size | 0
while (i--) {
// `| 0` is more compact and faster than `Math.floor()`.
id += alphabet[(Math.random() * alphabet.length) | 0]
}
return id
}
}
let nanoid = (size = 21) => {
let id = ''
// A compact alternative for `for (var i = 0; i < step; i++)`.
let i = size | 0
while (i--) {
// `| 0` is more compact and faster than `Math.floor()`.
id += urlAlphabet[(Math.random() * 64) | 0]
}
return id
}
if (typeof pm !== 'undefined') {
pm.collectionVariables.set("emailID", "+" + encodeURIComponent(nanoid(5)));
} else {
bru.setEnvVar("emailID", "+" +encodeURIComponent(nanoid(5)));
}
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/djkz/bruno-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server