MCPサーバー

Guild Wars 1 Build Compiler

io.github.Graphmaxer/gw1-mcp
ゲーム 公開・接続可能 MCP 2025-11-25

このMCPでできること

Looks up Guild Wars 1 skills and heroes, validates builds, and encodes or decodes in-game skill and team template codes.

decode_pawned_team
Decode a paw-ned2 team template
Decode a paw-ned2 team build blob (the 'pwnd0001...>...<' format shared on PvXwiki team pages and by the paw-ned2 tool) into its individual builds: player/hero label, description, and each skill bar fully decoded. Whitespace and line wraps in the pasted blob are tolerated. For a single (non-team) build code, use decode_template instead.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['pwnd'], 'properties': {'pwnd': {'type': 'string', 'maxLength': 16384, 'description': "The full pwnd blob, starting with 'pwnd000'"}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['builds'], 'properties': {'builds': {'type': 'array', 'items': {'type': 'object', 'required': ['slot', 'label', 'notes', 'inGamePlayerName', 'skillsCode', 'equipmentCode'], 'properties': {'slot': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'build': {'type': 'object', 'properties': {}, 'description': "Decoded bar (absent if decoding failed). Same shape as decode_template's output.", 'additionalProperties': {}}, 'error': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'message': {'type': 'string'}}, 'additionalProperties': False}, 'label': {'type': 'string', 'description': 'Slot name shown in paw-ned2 (Player, Hero 1, ...)'}, 'notes': {'type': ['string', 'null']}, 'skillsCode': {'type': 'string', 'description': "This entry's individual template code"}, 'equipmentCode': {'type': ['string', 'null']}, 'inGamePlayerName': {'type': ['string', 'null']}}, 'additionalProperties': False}, 'description': 'One entry per team slot, in blob order'}}, 'additionalProperties': False}
decode_template
Decode a skill template code
Decode an in-game GW1 skill template code (e.g. "OwpiMypMBg1cxcBAMBdmtIKAA") into professions, attribute allocations and the 8 skills with their stats and descriptions. Whitespace and line wraps in the pasted code are tolerated. This decodes a SINGLE build code; for a multi-hero paw-ned2 team blob, use decode_pawned_team instead.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code'], 'properties': {'code': {'type': 'string', 'maxLength': 128, 'description': 'The template code string'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['primary', 'secondary', 'attributes', 'skills', 'raw'], 'properties': {'raw': {'description': 'The raw decoded template (ids, not names)'}, 'skills': {'type': 'array', 'items': {'type': 'object', 'required': ['slot', 'name'], 'properties': {'name': {'type': ['string', 'null'], 'description': 'null for an empty bar slot'}, 'slot': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Bar position 1-8'}, 'elite': {'type': 'boolean'}, 'energy': {'type': 'number'}, 'recharge': {'type': 'number'}, 'attribute': {'type': ['string', 'null']}, 'sacrifice': {'type': 'number'}, 'activation': {'type': 'number'}, 'adrenaline': {'type': 'number'}, 'isRoleplay': {'type': 'boolean', 'description': 'PvE-only skill: max 3 per player bar, none on heroes'}, 'description': {'type': 'string'}}, 'additionalProperties': False}, 'description': 'The 8 bar slots in order'}, 'primary': {'type': 'string', 'description': 'Primary profession name'}, 'secondary': {'type': ['string', 'null'], 'description': 'Secondary profession name, null for none'}, 'attributes': {'type': 'array', 'items': {'type': 'object', 'required': ['attribute', 'rank'], 'properties': {'rank': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'attribute': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
encode_template
Encode a build into a template code
Compile a build (professions, attributes, 8 skills by exact English name) into an official in-game template code. The build is validated first; on rule violations the errors are returned instead of a code. Unknown skill names return closest-match suggestions. IMPORTANT: template codes MUST come from this tool — never write or guess a code by hand, hand-written codes are invalid in-game. If unsure, verify any code with decode_template.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['primary', 'attributes', 'skills'], 'properties': {'forPvp': {'type': 'boolean', 'default': False, 'description': "Set true for a PvP character's bar. PvP versions of split skills are only valid when this is true, and a PvP bar is expected to use them."}, 'skills': {'type': 'array', 'items': {'anyOf': [{'type': 'string', 'maxLength': 64}, {'type': 'null'}]}, 'maxItems': 8, 'minItems': 8, 'description': 'Exactly 8 skill names in bar order. Use null for an empty slot. Names must be exact English skill names.'}, 'forHero': {'type': 'boolean', 'default': False, 'description': 'Set true if this bar is for a hero (PvE-only skills are flagged)'}, 'primary': {'type': 'string', 'maxLength': 64, 'description': 'Primary profession, e.g. "Dervish"'}, 'secondary': {'type': 'string', 'maxLength': 64, 'description': 'Secondary profession, e.g. "Monk". Omit or "None" for none.'}, 'attributes': {'type': 'array', 'items': {'type': 'object', 'required': ['attribute', 'rank'], 'properties': {'rank': {'type': 'integer', 'maximum': 12, 'minimum': 0, 'description': 'Base rank 0-12 (before runes)'}, 'attribute': {'type': 'string', 'maxLength': 64, 'description': 'Exact attribute name, e.g. "Mysticism"'}}}, 'maxItems': 15, 'description': 'Attribute point allocations (template format caps this at 15 entries)'}, 'unlockedSkillIds': {'type': 'array', 'items': {'type': 'integer', 'maximum': 65535, 'minimum': 0}, 'maxItems': 8192, 'description': 'Optional: unlocked skill ids from a GWToolbox account export (/exportaccount). Skills outside this list are flagged as warnings.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'code': {'type': 'string', 'description': 'Official in-game template code (present on success)'}, 'valid': {'type': 'boolean', 'description': 'false when the build resolved but is illegal; absent on the other two shapes'}, 'errors': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'message': {'type': 'string'}, 'suggestions': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Closest-match names, on resolution errors'}}, 'additionalProperties': False}, 'description': 'Present (non-empty) when resolution failed or the build is invalid'}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'message': {'type': 'string'}, 'suggestions': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Closest-match names, on resolution errors'}}, 'additionalProperties': False}, 'description': 'Advisories accompanying a successful code'}}, 'additionalProperties': False}
get_hero
Get a Guild Wars 1 hero
Look up a GW1 hero by name or by id (GWCA HeroID, matching the AccountExport plugin output). Returns profession, campaign and how the hero is unlocked. Remember: heroes can equip any skill unlocked at ACCOUNT level, but NO PvE-only skill at all — including Signet of Capture. validate_build with forHero=true reports each one as an error, not a warning. Use this for one known hero; to browse or filter the roster, use list_heroes instead.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'id': {'type': 'integer', 'maximum': 255, 'minimum': 0, 'description': 'GWCA HeroID value'}, 'name': {'type': 'string', 'maxLength': 64, 'description': 'Hero name, e.g. "Master of Whispers"'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id', 'name', 'professionId', 'campaignId', 'unlock', 'profession', 'campaign'], 'properties': {'id': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GWCA HeroID'}, 'name': {'type': 'string'}, 'unlock': {'type': 'string', 'description': 'How the hero is recruited'}, 'campaign': {'type': ['string', 'null']}, 'campaignId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'profession': {'type': ['string', 'null']}, 'professionId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}
get_skill
Get a Guild Wars 1 skill
Look up a single GW1 skill by exact English name or by template skill id. Returns full stats (energy, activation, recharge, adrenaline, sacrifice), profession, attribute, campaign, elite flag and description. If the name is not found, returns the closest matches so you can correct spelling. Use this when you already know the exact skill; to discover skills by profession, attribute or name fragment, use search_skills instead.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'id': {'type': 'integer', 'maximum': 65535, 'minimum': 0, 'description': 'Template skill id'}, 'name': {'type': 'string', 'maxLength': 64, 'description': 'Exact skill name, e.g. "Mystic Regeneration". The official French name also resolves ("Sceau de guérison" -> Healing Signet); every other name field on every other tool is English-only.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id', 'name', 'elite', 'isRoleplay', 'energy', 'activation', 'recharge', 'adrenaline', 'sacrifice', 'overcast', 'upkeep', 'description', 'isPvpVersion', 'profession', 'attribute', 'campaign', 'type'], 'properties': {'id': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'name': {'type': 'string'}, 'type': {'type': ['string', 'null'], 'description': 'Skill type, e.g. Enchantment Spell'}, 'elite': {'type': 'boolean'}, 'energy': {'type': 'number'}, 'upkeep': {'type': 'number'}, 'campaign': {'type': ['string', 'null']}, 'overcast': {'type': 'number'}, 'recharge': {'type': 'number'}, 'attribute': {'type': ['string', 'null']}, 'sacrifice': {'type': 'number'}, 'activation': {'type': 'number'}, 'adrenaline': {'type': 'number'}, 'isRoleplay': {'type': 'boolean', 'description': 'PvE-only skill: max 3 per player bar, none on heroes'}, 'profession': {'type': ['string', 'null']}, 'description': {'type': 'string'}, 'isPvpVersion': {'type': 'boolean'}}, 'additionalProperties': False}
list_heroes
List Guild Wars 1 heroes
List all GW1 heroes, optionally filtered by profession or campaign name. Useful for team-building: shows which professions are coverable by heroes and how each hero is unlocked.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'campaignName': {'type': 'string', 'maxLength': 64, 'description': 'Filter by the campaign the hero is recruited in, exact English name: Prophecies, Factions, Nightfall or Eye of the North.'}, 'professionName': {'type': 'string', 'maxLength': 64, 'description': "Filter by the hero's profession, exact English name: Warrior, Ranger, Monk, Necromancer, Mesmer, Elementalist, Assassin, Ritualist, Paragon or Dervish."}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['total', 'heroes'], 'properties': {'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'heroes': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'name', 'professionId', 'campaignId', 'unlock', 'profession', 'campaign'], 'properties': {'id': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GWCA HeroID'}, 'name': {'type': 'string'}, 'unlock': {'type': 'string', 'description': 'How the hero is recruited'}, 'campaign': {'type': ['string', 'null']}, 'campaignId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'profession': {'type': ['string', 'null']}, 'professionId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}}}, 'additionalProperties': False}
search_skills
Search Guild Wars 1 skills
Search the full GW1 skill database by profession, attribute, campaign, elite flag or name fragment (valid values are documented per parameter). Returns compact records, at most `limit` of them alongside a `total` count of every match — a full page is not the whole result, page with offset. Use get_skill for full details.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'elite': {'type': 'boolean', 'description': 'If true, return only elite skills; if false, only non-elite; omit for both.'}, 'limit': {'type': 'integer', 'default': 50, 'maximum': 200, 'minimum': 1, 'description': 'Maximum number of records to return (1â\x80\x93200, default 50). Narrow filters if you hit it.'}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Number of records to skip, for paging through results beyond the limit.'}, 'campaignName': {'type': 'string', 'maxLength': 64, 'description': 'Filter by the campaign a skill was INTRODUCED in: Core, Prophecies, Factions, Nightfall, or Eye of the North. Not a filter on availability â\x80\x94 every attribute line spans several campaigns, so combining this with attributeName hides most of the line. Omit it when exploring an attribute.'}, 'nameContains': {'type': 'string', 'maxLength': 64, 'description': 'Case-insensitive substring match on the ENGLISH skill name, e.g. "heal" matches every skill with \'heal\' in its name. A French substring matches nothing â\x80\x94 use get_skill for a French name.'}, 'attributeName': {'type': 'string', 'maxLength': 64, 'description': 'Filter by attribute line, exact English name, e.g. "Blood Magic", "Swordsmanship", "Divine Favor".'}, 'professionName': {'type': 'string', 'maxLength': 64, 'description': 'Filter by profession: Warrior, Ranger, Monk, Necromancer, Mesmer, Elementalist, Assassin, Ritualist, Paragon, Dervish, or None (common / PvE-only skills that belong to no profession).'}, 'includePvpVersions': {'type': 'boolean', 'default': False, 'description': "Include separate '(PvP)' skill versions. Default false â\x80\x94 most builds want the PvE version only."}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['total', 'skills'], 'properties': {'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Total matches before limit/offset are applied'}, 'skills': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'name', 'elite', 'profession', 'attribute', 'campaign', 'energy', 'activation', 'recharge'], 'properties': {'id': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'name': {'type': 'string'}, 'elite': {'type': 'boolean'}, 'energy': {'type': 'number'}, 'campaign': {'type': ['string', 'null']}, 'recharge': {'type': 'number'}, 'attribute': {'type': ['string', 'null']}, 'activation': {'type': 'number'}, 'profession': {'type': ['string', 'null']}}, 'additionalProperties': False}, 'description': 'Compact records; use get_skill for full details'}}, 'additionalProperties': False}
validate_build
Validate a build against GW1 rules
Check a build (professions, attributes, 8 skills by exact English name) against Guild Wars 1 rules: one elite max, profession/attribute ownership, primary attributes, duplicates, rank ranges. Returns { valid, errors, warnings } without encoding — use encode_template instead when you also want the template code, since it runs these same rules and refuses on any error.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['primary', 'attributes', 'skills'], 'properties': {'forPvp': {'type': 'boolean', 'default': False, 'description': "Set true for a PvP character's bar (PvP versions of split skills are only valid then)."}, 'skills': {'type': 'array', 'items': {'anyOf': [{'type': 'string', 'maxLength': 64}, {'type': 'null'}]}, 'maxItems': 8, 'minItems': 8, 'description': 'Exactly 8 skill names in bar order. Use null for an empty slot. Names must be exact English skill names.'}, 'forHero': {'type': 'boolean', 'default': False, 'description': 'Set true if this bar is for a hero (PvE-only skills are flagged)'}, 'primary': {'type': 'string', 'maxLength': 64, 'description': 'Primary profession, e.g. "Dervish"'}, 'secondary': {'type': 'string', 'maxLength': 64, 'description': 'Secondary profession, e.g. "Monk". Omit or "None" for none.'}, 'attributes': {'type': 'array', 'items': {'type': 'object', 'required': ['attribute', 'rank'], 'properties': {'rank': {'type': 'integer', 'maximum': 12, 'minimum': 0, 'description': 'Base rank 0-12 (before runes)'}, 'attribute': {'type': 'string', 'maxLength': 64, 'description': 'Exact attribute name, e.g. "Mysticism"'}}}, 'maxItems': 15, 'description': 'Attribute point allocations (template format caps this at 15 entries)'}, 'unlockedSkillIds': {'type': 'array', 'items': {'type': 'integer', 'maximum': 65535, 'minimum': 0}, 'maxItems': 8192, 'description': 'Optional: unlocked skill ids from a GWToolbox account export (/exportaccount). Skills outside this list are flagged as warnings.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['valid', 'errors', 'warnings'], 'properties': {'valid': {'type': 'boolean', 'description': 'Whether the build is legal in-game'}, 'errors': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'message': {'type': 'string'}, 'suggestions': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Closest-match names, on resolution errors'}}, 'additionalProperties': False}, 'description': 'Blocking problems; empty when valid'}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'message': {'type': 'string'}, 'suggestions': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Closest-match names, on resolution errors'}}, 'additionalProperties': False}, 'description': 'Non-blocking advisories'}}, 'additionalProperties': False}
追加
list_heroes
2026年9月17日12:42
追加
get_hero
2026年9月17日12:42
追加
validate_build
2026年9月17日12:42
追加
encode_template
2026年9月17日12:42
追加
decode_pawned_team
2026年9月17日12:42
追加
decode_template
2026年9月17日12:42
追加
search_skills
2026年9月17日12:42
追加
get_skill
2026年9月17日12:42