Skip to content

thin MCP WFS tools by moving WFS execution into wfs_engine#63

Merged
esgn merged 2 commits into
masterfrom
62-thin-wfs-tools
Apr 23, 2026
Merged

thin MCP WFS tools by moving WFS execution into wfs_engine#63
esgn merged 2 commits into
masterfrom
62-thin-wfs-tools

Conversation

@esgn
Copy link
Copy Markdown
Member

@esgn esgn commented Apr 22, 2026

Closes #62

This PR refactors the WFS MCP tools by moving WFS request execution into the shared wfs_engine, while keeping MCP-specific concerns in the tool classes.

It keeps the current behavior intact, but makes responsibilities clearer:

  • gpf_wfs_get_features and gpf_wfs_get_feature_by_id are thinner
  • request preparation/execution now lives in dedicated engine helpers
  • tests were updated to mock the actual catalog and HTTP layers more directly

Validated with npm run build and npm test -- --runInBand.

@esgn esgn merged commit 07ccc33 into master Apr 23, 2026
2 checks passed
@esgn esgn deleted the 62-thin-wfs-tools branch April 23, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Thin the MCP WFS tools by extracting WFS execution logic

1 participant