Skip to content

Fix: wire layer tools (list/new/flatten) into mock backend and MCP server - #19

Open
AnasBabari wants to merge 2 commits into
mergeos-bounties:masterfrom
AnasBabari:fix/bounty-3-1784487012
Open

Fix: wire layer tools (list/new/flatten) into mock backend and MCP server#19
AnasBabari wants to merge 2 commits into
mergeos-bounties:masterfrom
AnasBabari:fix/bounty-3-1784487012

Conversation

@AnasBabari

Copy link
Copy Markdown

Summary

The layers_tools module defines list_layers_from_image, create_new_layer, and flatten_image, but the MockBackend and server.py never expose them as tools/ops. We must wire them into MockBackend and add MCP tools so the feature works end-to-end.

Fixes: #3


Changes Made

  • src/gimp_mcp/backend/mock.py
  • src/gimp_mcp/server.py

Bounty Claim: If this PR resolves the issue and is eligible for the bounty, please send the payout via PayPal: https://www.paypal.com/paypalme/plutoxvii

@TUPM96 TUPM96 added star: missing Must follow org AND star mergeos + mergeos-contracts evidence: provided PR includes acceptable visual/media evidence labels Jul 20, 2026
@TUPM96

TUPM96 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

@AnasBabari Gate 1 (badges) blocked on mergeos-bounties/gimp-mcp.

Badge Status
star / follow missing (core stars + org follow — not only this product repo)
evidence provided

Required community actions

Follow the org

Star both core repos

Policy: bounty Gate 1 requires all of:

  1. Follow https://github.com/mergeos-bounties
  2. Star https://github.com/mergeos-bounties/mergeos
  3. Star https://github.com/mergeos-bounties/mergeos-contracts

Starring only mergeos-bounties/gimp-mcp (or any single product) is not enough.

Order: badges → security → tests → merge.

Please complete the checklist above, attach evidence if needed, then comment when ready.

8 similar comments
@TUPM96

TUPM96 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@AnasBabari Gate 1 (badges) blocked on mergeos-bounties/gimp-mcp.

Badge Status
star / follow missing (core stars + org follow — not only this product repo)
evidence provided

Required community actions

Follow the org

Star both core repos

Policy: bounty Gate 1 requires all of:

  1. Follow https://github.com/mergeos-bounties
  2. Star https://github.com/mergeos-bounties/mergeos
  3. Star https://github.com/mergeos-bounties/mergeos-contracts

Starring only mergeos-bounties/gimp-mcp (or any single product) is not enough.

Order: badges → security → tests → merge.

Please complete the checklist above, attach evidence if needed, then comment when ready.

@TUPM96

TUPM96 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@AnasBabari Gate 1 (badges) blocked on mergeos-bounties/gimp-mcp.

Badge Status
star / follow missing (core stars + org follow — not only this product repo)
evidence provided

Required community actions

Follow the org

Star both core repos

Policy: bounty Gate 1 requires all of:

  1. Follow https://github.com/mergeos-bounties
  2. Star https://github.com/mergeos-bounties/mergeos
  3. Star https://github.com/mergeos-bounties/mergeos-contracts

Starring only mergeos-bounties/gimp-mcp (or any single product) is not enough.

Order: badges → security → tests → merge.

Please complete the checklist above, attach evidence if needed, then comment when ready.

@TUPM96

TUPM96 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@AnasBabari Gate 1 (badges) blocked on mergeos-bounties/gimp-mcp.

Badge Status
star / follow missing (core stars + org follow — not only this product repo)
evidence provided

Required community actions

Follow the org

Star both core repos

Policy: bounty Gate 1 requires all of:

  1. Follow https://github.com/mergeos-bounties
  2. Star https://github.com/mergeos-bounties/mergeos
  3. Star https://github.com/mergeos-bounties/mergeos-contracts

Starring only mergeos-bounties/gimp-mcp (or any single product) is not enough.

Order: badges → security → tests → merge.

Please complete the checklist above, attach evidence if needed, then comment when ready.

@TUPM96

TUPM96 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@AnasBabari Gate 1 (badges) blocked on mergeos-bounties/gimp-mcp.

Badge Status
star / follow missing (core stars + org follow — not only this product repo)
evidence provided

Required community actions

Follow the org

Star both core repos

Policy: bounty Gate 1 requires all of:

  1. Follow https://github.com/mergeos-bounties
  2. Star https://github.com/mergeos-bounties/mergeos
  3. Star https://github.com/mergeos-bounties/mergeos-contracts

Starring only mergeos-bounties/gimp-mcp (or any single product) is not enough.

Order: badges → security → tests → merge.

Please complete the checklist above, attach evidence if needed, then comment when ready.

@TUPM96

TUPM96 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@AnasBabari Gate 1 (badges) blocked on mergeos-bounties/gimp-mcp.

Badge Status
star / follow missing (core stars + org follow — not only this product repo)
evidence provided

Required community actions

Follow the org

Star both core repos

Policy: bounty Gate 1 requires all of:

  1. Follow https://github.com/mergeos-bounties
  2. Star https://github.com/mergeos-bounties/mergeos
  3. Star https://github.com/mergeos-bounties/mergeos-contracts

Starring only mergeos-bounties/gimp-mcp (or any single product) is not enough.

Order: badges → security → tests → merge.

Please complete the checklist above, attach evidence if needed, then comment when ready.

@TUPM96

TUPM96 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@AnasBabari Gate 1 (badges) blocked on mergeos-bounties/gimp-mcp.

Badge Status
star / follow missing (core stars + org follow — not only this product repo)
evidence provided

Required community actions

Follow the org

Star both core repos

Policy: bounty Gate 1 requires all of:

  1. Follow https://github.com/mergeos-bounties
  2. Star https://github.com/mergeos-bounties/mergeos
  3. Star https://github.com/mergeos-bounties/mergeos-contracts

Starring only mergeos-bounties/gimp-mcp (or any single product) is not enough.

Order: badges → security → tests → merge.

Please complete the checklist above, attach evidence if needed, then comment when ready.

@TUPM96

TUPM96 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@AnasBabari Gate 1 (badges) blocked on mergeos-bounties/gimp-mcp.

Badge Status
star / follow missing (core stars + org follow — not only this product repo)
evidence provided

Required community actions

Follow the org

Star both core repos

Policy: bounty Gate 1 requires all of:

  1. Follow https://github.com/mergeos-bounties
  2. Star https://github.com/mergeos-bounties/mergeos
  3. Star https://github.com/mergeos-bounties/mergeos-contracts

Starring only mergeos-bounties/gimp-mcp (or any single product) is not enough.

Order: badges → security → tests → merge.

Please complete the checklist above, attach evidence if needed, then comment when ready.

@TUPM96

TUPM96 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@AnasBabari Gate 1 (badges) blocked on mergeos-bounties/gimp-mcp.

Badge Status
star / follow missing (core stars + org follow — not only this product repo)
evidence provided

Required community actions

Follow the org

Star both core repos

Policy: bounty Gate 1 requires all of:

  1. Follow https://github.com/mergeos-bounties
  2. Star https://github.com/mergeos-bounties/mergeos
  3. Star https://github.com/mergeos-bounties/mergeos-contracts

Starring only mergeos-bounties/gimp-mcp (or any single product) is not enough.

Order: badges → security → tests → merge.

Please complete the checklist above, attach evidence if needed, then comment when ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

evidence: provided PR includes acceptable visual/media evidence star: missing Must follow org AND star mergeos + mergeos-contracts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants