Add headless JSON-RPC API for programmatic PoB access#9505
Add headless JSON-RPC API for programmatic PoB access#9505ianderse wants to merge 1 commit intoPathOfBuildingCommunity:devfrom
Conversation
- stdio JSON-RPC server (API/Server.lua) with ping, version, quit - Handlers layer (API/Handlers.lua) dispatching to BuildOps - BuildOps (API/BuildOps.lua) exposing: stats, tree get/set/delta, build info, level, config, skills/gems CRUD, items, save/export, node search, calc_with what-if - set_config extended with enemy resistance/armour/evasion overrides, charge toggles, condition flags, buff and boss modifiers - save_build syncs curAscendClassName and re-processes socket groups before serialising so gem edits and ascendancy changes persist correctly - HeadlessWrapper: POB_API_STDIO/--stdio flag starts server, includes robust script-dir detection and utf8 fallback for external luajit runs
|
I'm doing this too at github.com/tinycrops/assistant-poe but I'm not build an mcp. i've never used mcp. i don't see the need for mcp. it was just a good idea some developer at anthropic had before the models were as smart as they are now. I would love to be shown why I'm wrong though. |
|
do you want to create an official poe app together? i need to get a client api key from them to get access to their api and do analytics. I'm doing a data analytics hackathon as well on devpost called ZerveHack |
|
@tinycrops You're right about not needing an MCP for the architecture of your app. Mine is interactive rather than a pipeline — the model is driving PoB in real time, which is where the tool discovery and schema layer actually pays off. Yours seems to be reading static files and outputting information to Discord (which is very cool and I like a lot of what you've got going on there). I think my vision is to build something more bi-directional where the model can create and modify builds in real time. Either way, cool to see you doing something similar! |
|
I will check your work out in the coming days. Are you playing Mirage league? Thank you for looking at my work. MissionMake Path of Exile's depth accessible to every player by giving them an AI that actually understands the game. What we're buildingAn AI assistant for Path of Exile that speaks the game's language. It helps players plan builds, evaluate gear, make crafting decisions, and navigate the game's complexity with confidence. Not a trade macro. Not a calculator. A companion that thinks. Where we're headedA world where no exile quits because the game was too confusing. Where new players get the same quality advice that took veterans thousands of hours to learn. Where the community's collective knowledge isn't locked in forum threads and YouTube videos, but alive in a tool that meets you where you are in your journey. Path of Exile is the deepest ARPG ever made. It deserves an AI that matches that depth. |
Changes/Additions to the headless/API layer to provide support for a WIP Path of Building MCP. Open to comments or suggestions!
Description of the problem being solved:
Changes
Steps taken to verify a working solution:
Link to a build that showcases this PR:
https://github.com/ianderse/pob-mcp
Screenshots:
Only affects the headless layer, no changes to the main application necessary