[BOUNTY #13] Add Green Tracker resource to MCP server#43
Open
chenzhizhuan wants to merge 1 commit intoScottcjn:mainfrom
Open
[BOUNTY #13] Add Green Tracker resource to MCP server#43chenzhizhuan wants to merge 1 commit intoScottcjn:mainfrom
chenzhizhuan wants to merge 1 commit intoScottcjn:mainfrom
Conversation
Exposes Machines Preserved fleet data from rustchain.org/preserved.html as a read-only MCP resource at rustchain://green-tracker. Returns: total_preserved, by_architecture, machines list with architecture, multiplier, power_draw, co2_saved, status. Closes Scottcjn#13
FlintLeng
reviewed
Apr 19, 2026
FlintLeng
left a comment
There was a problem hiding this comment.
Code Review
Minimal, focused implementation. ✅
11 additions, 1 file. Exposes Green Tracker data as a read-only MCP resource at rustchain://green-tracker.
Assessment
- Right scope for the task (read-only resource)
- Single file change minimizes risk
- Clean approach
Note
- PR #42 also claims the same bounty with 442 additions. This PR (#43) is the more appropriate scope per #452 guidelines.
Recommended merge. ✅
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Exposes the Machines Preserved fleet data from rustchain.org/preserved.html as a read-only MCP resource at
rustchain://green-tracker.Changes
rustchain://green-trackerresource toserver.pyResource Output Example
{ "total_preserved": 15, "by_architecture": {"PowerPC G4": 4, "POWER8": 1, "x86_64": 4, ...}, "machines": [ {"name": "Power Mac G4 MDD", "architecture": "PowerPC G4", "multiplier": "2.5x", "power_draw": "150W", "co2_saved_kg": 820, "status": "active"}, ... ], "source": "https://rustchain.org/preserved.html" }Bounty
10 RTC — Add Green Tracker resource to MCP server (Issue #13)
Closes
Closes #13