We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wolfe-Jam/claude-faf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
/**
* FAF Championship Output Formatter
* The RAILS for proper FAF output! ποΈβ‘
*/
export interface AchievementStatus {
speed: number;
score: number;
files: number;
isDotFaffed: boolean;
}
export class ChampionshipFormatter {
/**
* Format FAF output with Championship wrapper
* SHOW FIRST - ENHANCE AFTER!
*/
static formatOutput(rawOutput: string, status?: AchievementStatus): string {
let formatted = '';
// ALWAYS RAW FIRST - This is SACRED!
formatted += '=== FAF CHAMPIONSHIP OUTPUT ===\n';
formatted += rawOutput;
formatted += '\n=== END CHAMPIONSHIP OUTPUT ===\n';
// Achievement Status (OPTIONAL enhancement)
if (status) {
formatted += '\n=== YOUR ACHIEVEMENT STATUS ===\n';
// Speed Achievement
const speedBadge = status.speed < 10 ? 'β‘π' : status.speed < 50 ? 'β‘' : 'ποΈ';
formatted += `ποΈ Speed: ${status.speed}ms ${speedBadge}\n`;
// Score Achievement
const scoreBadge = status.score >= 99 ? 'π' : status.score >= 90 ? 'π' : status.score >= 70 ? 'β' : 'π';
formatted += `π Score: ${status.score}/100 ${scoreBadge}\n`;
// Files Ready
formatted += `π Files: ${status.files} ready\n`;
// DOT FAFFED Status
const dotFaffedStatus = status.isDotFaffed
? 'π DOT FAFFED ACHIEVED! π'
: `β‘ Working toward DOT FAFFED (${status.score}/70 needed)`;
formatted += `β‘ Status: ${dotFaffedStatus}\n`;
formatted += '=== END STATUS ===\n';
}
return formatted;
}
/**
* Check if user is DOT FAFFED
*/
static isDotFaffed(score: number): boolean {
return score >= 70;
}
/**
* Get achievement level based on score
*/
static getAchievementLevel(score: number): string {
if (score >= 105) return 'π BIG ORANGE CHAMPIONSHIP!';
if (score >= 99) return 'π CHAMPIONSHIP MODE!';
if (score >= 90) return 'β PODIUM FINISH!';
if (score >= 70) return 'β
DOT FAFFED!';
if (score >= 50) return 'ποΈ ON TRACK!';
return 'β‘ BUILDING MOMENTUM!';
}
/**
* Get speed achievement
*/
static getSpeedAchievement(ms: number): string {
if (ms < 1) return 'β‘π INSTANT! WORLD RECORD!';
if (ms < 10) return 'β‘ SUB-10ms CHAMPIONSHIP!';
if (ms < 50) return 'ποΈ FAST TRACK!';
if (ms < 100) return 'β
GOOD PACE!';
return 'π MEASURING...';
}
}
// Export the RAILS!
export default ChampionshipFormatter;