Skip to content

feat: implement bounty CRUD, batch operations, and MCP server for Claude Code ( Issue #844)#1250

Open
Tusharkhadde wants to merge 2 commits into
SolFoundry:mainfrom
Tusharkhadde:feat/cli-crud-mcp
Open

feat: implement bounty CRUD, batch operations, and MCP server for Claude Code ( Issue #844)#1250
Tusharkhadde wants to merge 2 commits into
SolFoundry:mainfrom
Tusharkhadde:feat/cli-crud-mcp

Conversation

@Tusharkhadde
Copy link
Copy Markdown

Feature: Bounty Management CLI & Claude Code Skill (MCP)

This PR expands the SolFoundry CLI with full bounty lifecycle management (CRUD), batch operations, and a native Claude Code skill via the Model Context Protocol (MCP). It also resolves critical environment issues and property-mapping bugs found in the existing CLI codebase. #844

🛠️ Key Improvements & Bug Fixes

  • Dependency Resolution: Fixed missing tsx and correctly linked the local @solfoundry/sdk to resolve "module not found" errors during development.
  • Fixed Property Mapping: Corrected bugs in profile and status commands where incorrect SDK properties (e.g., total_earnings instead of total_earned) were being accessed.
  • Type Safety: Fixed TypeScript compilation errors related to private constructors and type casting that prevented the CLI from building.

🚀 New CLI Commands

  • Bounty CRUD: Added full support for create, update, and delete commands directly from the terminal.
  • Batch Creation: Implemented a batch create <file.json> command for bulk bounty deployment.
  • Example Config: Included batch-example.json as a template for batch operations.

🤖 Claude Code Skill (MCP)

  • MCP Server Integration: Implemented a JSON-RPC 2.0 server using @modelcontextprotocol/sdk.
  • Exposed Tools: list_bounties, get_bounty, create_bounty, and update_bounty are now available natively to Claude Code and other AI agents.

✅ Verification Results

  • All 51 unit tests in sdk/cli are passing.
  • Verified CLI help menus and command registration.
  • Successfully built both sdk and cli packages.

Wallet - JDkFAXAaysAradjqQkCtpu2seJZR43F9qrfHZvgPYfvL

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.

1 participant