Skip to main content
Glama

MCP Memory Server with Qdrant Persistence

test-auth.mjs805 B
import https from 'https'; import 'dotenv/config'; const url = process.env.QDRANT_URL; const apiKey = process.env.QDRANT_API_KEY; // Test both authentication formats const tests = [ { name: "api-key header", headers: { 'api-key': apiKey } }, { name: "Authorization Bearer", headers: { 'Authorization': `Bearer ${apiKey}` } } ]; for (const test of tests) { console.log(`\nTesting ${test.name}...`); const options = { headers: test.headers, rejectUnauthorized: false }; https.get(`${url}/collections`, options, (res) => { console.log('Status Code:', res.statusCode); console.log('Headers:', res.headers); let data = ''; res.on('data', (chunk) => { data += chunk; }); res.on('end', () => { console.log('Response:', data); });

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/delorenj/mcp-qdrant-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server