Skip to main content
Glama
grovesjosephn

Pokemon MCP Server

index.ts1.02 kB
/** * Response Formatters for Pokemon MCP Server * * This module provides different formatting strategies for Pokemon data, * separating presentation logic from business logic. */ export { ResponseFormatter, PokemonData, PokemonComparisonData, PokemonSearchResults, TypeEffectivenessData, StrongestPokemonData, } from './base.js'; export { MarkdownFormatter } from './markdown.js'; export { JsonFormatter } from './json.js'; // Import the classes for use in factory function import { MarkdownFormatter } from './markdown.js'; import { JsonFormatter } from './json.js'; /** * Factory function to create formatters based on format type */ export function createFormatter(format: 'markdown' | 'json') { switch (format) { case 'markdown': return new MarkdownFormatter(); case 'json': return new JsonFormatter(); default: return new MarkdownFormatter(); // Default to markdown } } /** * Available formatter types */ export type FormatterType = 'markdown' | 'json';

Latest Blog Posts

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/grovesjosephn/pokemcp'

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