We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/superglue-ai/superglue'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { AuthManager, AuthResult } from "./types.js";
export class LocalKeyManager implements AuthManager {
private readonly authToken: string | undefined;
private readonly defaultOrgId: string | undefined;
constructor() {
this.authToken = process.env.AUTH_TOKEN;
}
public async authenticate(token: string): Promise<AuthResult> {
if (!this.authToken) {
return {
success: false,
orgId: ''
};
}
return {
success: token === this.authToken,
orgId: this.defaultOrgId
};
}
}