We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pwesolowski/pioter-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { Config, TechnologyConfig } from '../config/types.js';
export class TechnologyRegistry {
private config: Config;
constructor(config: Config) {
this.config = config;
}
public detectTechnology(query: string): TechnologyConfig | null {
const normalizedQuery = query.toLowerCase();
// 1. Exact match on name
const exactMatch = this.config.technologies.find(
t => t.name.toLowerCase() === normalizedQuery
);
if (exactMatch) return exactMatch;
// 2. Keyword match
for (const tech of this.config.technologies) {
if (tech.keywords.some(keyword => normalizedQuery.includes(keyword.toLowerCase()))) {
return tech;
}
}
return null;
}
public getAllTechnologies(): TechnologyConfig[] {
return this.config.technologies;
}
}