Features
- Tools: Random quotes, LCM calculator
- Resources: Dynamic quote retrieval and person data
- Prompts: Quote analysis and code review templates
- API Integration: Game of Thrones Quotes API
Installation
Tools
get_random_quotes
Fetch random quotes from Game of Thrones characters. Parameters:count(number, optional): Number of quotes to fetch (1-10, default: 5)
lcm
Calculate the least common multiple of a list of numbers. Parameters:numbers(array of numbers): At least 2 numbers required
Resources
Random Quotes Resource
Access random Game of Thrones quotes via URI. URI:got://quotes/random
Implementation:
Person Properties Resource
Dynamic resource template for accessing person data. URI Template:person://properties/{name}
Available Names:
alexysmariana
person://properties/alexys
Response:
Prompts
Game of Thrones Quotes Analysis
Generate a prompt for analyzing GoT quotes with optional theme focus. Name:got_quotes_analysis
Parameters:
theme(string, optional): Focus theme for analysis
Code Review Prompt
Structured code review template with best practices focus. Name:code_review
Parameters:
code(string, required): Code to review
API Integration
The server integrates with the Game of Thrones Quotes API: Base URL:https://api.gameofthronesquotes.xyz/v1
Fetch Random Quotes:
Server Configuration
Server Initialization:Dependencies
Troubleshooting
Build errors
Build errors
Ensure you have Node.js 16+ installed:Clear build artifacts and rebuild:
API connection issues
API connection issues
The server requires internet access to fetch quotes from the Game of Thrones API. Check your network connection and firewall settings.
TypeScript compilation errors
TypeScript compilation errors
Verify your TypeScript configuration in
tsconfig.json:Project Structure
Next Steps
Todo Server
Learn about building CRUD operations with the Todo TypeScript server
Calculator Server
Explore Python MCP servers with FastMCP