maplestory-mcp-server
Version:
Official-style NEXON MapleStory MCP Server for Claude Desktop - Complete character info, union details, guild data, rankings, and game mechanics
107 lines • 5.08 kB
TypeScript
/**
* NEXON MapleStory Open API constants and endpoints
* Official API documentation: https://openapi.nexon.com/
*/
export declare const API_CONFIG: {
readonly BASE_URL: "https://open.api.nexon.com";
readonly VERSION: "v1";
readonly TIMEOUT: 10000;
readonly RETRY_ATTEMPTS: 3;
readonly RETRY_DELAY: 1000;
};
export declare const ENDPOINTS: {
readonly CHARACTER: {
readonly OCID: "/maplestory/v1/id";
readonly BASIC: "/maplestory/v1/character/basic";
readonly POPULARITY: "/maplestory/v1/character/popularity";
readonly STAT: "/maplestory/v1/character/stat";
readonly HYPER_STAT: "/maplestory/v1/character/hyper-stat";
readonly PROPENSITY: "/maplestory/v1/character/propensity";
readonly ABILITY: "/maplestory/v1/character/ability";
readonly ITEM_EQUIPMENT: "/maplestory/v1/character/item-equipment";
readonly CASHITEM_EQUIPMENT: "/maplestory/v1/character/cashitem-equipment";
readonly SYMBOL_EQUIPMENT: "/maplestory/v1/character/symbol-equipment";
readonly SET_EFFECT: "/maplestory/v1/character/set-effect";
readonly BEAUTY_EQUIPMENT: "/maplestory/v1/character/beauty-equipment";
readonly ANDROID_EQUIPMENT: "/maplestory/v1/character/android-equipment";
readonly PET_EQUIPMENT: "/maplestory/v1/character/pet-equipment";
readonly SKILL: "/maplestory/v1/character/skill";
readonly LINK_SKILL: "/maplestory/v1/character/link-skill";
readonly VMATRIX: "/maplestory/v1/character/vmatrix";
readonly HEXAMATRIX: "/maplestory/v1/character/hexamatrix";
readonly HEXAMATRIX_STAT: "/maplestory/v1/character/hexamatrix-stat";
readonly DOJANG: "/maplestory/v1/character/dojang";
};
readonly UNION: {
readonly BASIC: "/maplestory/v1/user/union";
readonly RAIDER: "/maplestory/v1/user/union-raider";
readonly ARTIFACT: "/maplestory/v1/user/union-artifact";
};
readonly GUILD: {
readonly ID: "/maplestory/v1/guild/id";
readonly BASIC: "/maplestory/v1/guild/basic";
};
readonly RANKING: {
readonly OVERALL: "/maplestory/v1/ranking/overall";
readonly UNION: "/maplestory/v1/ranking/union";
readonly GUILD: "/maplestory/v1/ranking/guild";
readonly DOJANG: "/maplestory/v1/ranking/dojang";
readonly THESEED: "/maplestory/v1/ranking/theseed";
readonly ACHIEVEMENT: "/maplestory/v1/ranking/achievement";
};
readonly PROBABILITY: {
readonly CUBE: "/maplestory/v1/cube-use-results";
readonly POTENTIAL: "/maplestory/v1/potential/history";
readonly STARFORCE: "/maplestory/v1/starforce/history";
};
readonly NOTICE: {
readonly LIST: "/maplestory/v1/notice";
readonly DETAIL: "/maplestory/v1/notice/detail";
readonly UPDATE: "/maplestory/v1/notice-update";
readonly EVENT: "/maplestory/v1/notice-event";
readonly CASHSHOP: "/maplestory/v1/notice-cashshop";
};
};
export declare const HEADERS: {
readonly AUTHORIZATION: "x-nxopen-api-key";
readonly CONTENT_TYPE: "application/json";
readonly USER_AGENT: "mcp-maple/1.0.0";
};
export declare const HTTP_STATUS: {
readonly OK: 200;
readonly BAD_REQUEST: 400;
readonly UNAUTHORIZED: 401;
readonly FORBIDDEN: 403;
readonly NOT_FOUND: 404;
readonly TOO_MANY_REQUESTS: 429;
readonly INTERNAL_SERVER_ERROR: 500;
readonly SERVICE_UNAVAILABLE: 503;
};
export declare const ERROR_MESSAGES: {
readonly INVALID_API_KEY: "Invalid API key provided";
readonly RATE_LIMIT_EXCEEDED: "API rate limit exceeded";
readonly CHARACTER_NOT_FOUND: "Character not found";
readonly GUILD_NOT_FOUND: "Guild not found";
readonly INVALID_DATE_FORMAT: "Invalid date format. Use YYYY-MM-DD";
readonly NETWORK_ERROR: "Network error occurred";
readonly TIMEOUT_ERROR: "Request timeout";
readonly UNKNOWN_ERROR: "Unknown error occurred";
};
export declare const WORLDS: readonly ["스카니아", "베라", "루나", "제니스", "크로아", "유니온", "엘리시움", "이노시스", "레드", "오로라", "아케인", "노바", "리부트", "리부트2"];
export declare const JOB_CLASSES: readonly ["초보자", "전사", "마법사", "궁수", "도적", "해적", "메이플스토리M", "데몬", "배틀메이지", "와일드헌터", "메카닉", "데몬어벤져", "제논", "미하일", "카이저", "카데나", "엔젤릭버스터", "초월자", "은월", "아델", "일리움", "아크", "라라", "호영", "카인", "칼리"];
export declare const RATE_LIMIT: {
readonly REQUESTS_PER_MINUTE: 500;
readonly REQUESTS_PER_SECOND: 10;
readonly BURST_LIMIT: 20;
};
export declare const DATE_FORMATS: {
readonly API_DATE: "YYYY-MM-DD";
readonly DISPLAY_DATE: "YYYY년 MM월 DD일";
readonly ISO_DATE: "YYYY-MM-DDTHH:mm:ss.sssZ";
};
export declare const PAGINATION: {
readonly DEFAULT_COUNT: 10;
readonly MAX_COUNT: 200;
readonly DEFAULT_PAGE: 1;
};
//# sourceMappingURL=constants.d.ts.map