Replies: 3 comments 1 reply
-
|
MCP comes later not now. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I think havig BLT-MCP is a dope idea, and quite challenging but in current scenario the resource and tools we have will make it a brezee. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I feel like an MPC as like an API these days. So I think we should have this as a project. But is it 350 hours or 5 minutes? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Idea Z — BLT-MCP: Model Context Protocol Server for Complete BLT Interface
One line
A Model Context Protocol (MCP) server that provides comprehensive, AI-agent-friendly access to all aspects of BLT including issues, repos, contributions, rewards, and workflows.
Problem & personas
Today, integrating with BLT programmatically requires:
BLT-MCP solves this by implementing the Model Context Protocol — an open standard that allows AI assistants (Claude Desktop, custom agents, automation tools) to seamlessly interact with BLT as if it were a native capability. MCP provides resource reading (issues, repos, contributions), tool invocation (create issues, award BACON, update workflows), and prompt templates (common BLT tasks) in a standardized, discoverable format.
Core idea
A comprehensive MCP server that exposes BLT's entire feature set through a unified, AI-agent-friendly interface:
1. Resources (read-only data access)
MCP resources provide structured, contextual data that AI agents can query:
blt://issues/{id}— Issue details, comments, linked PRs, statusblt://repos/{owner}/{name}— Repository metadata, stats, verification statusblt://contributors/{id}— Profile, reputation, badges, BACON balance, contribution historyblt://workflows/{id}— Workflow state, steps, blockers, progressblt://leaderboards/{category}— Rankings (top contributors, repos, organizations)blt://rewards/{id}— Reward details, eligibility, claim statusblt://campaigns/{id}— Active campaigns, goals, participationblt://adventures/{id}— Education tracks, labs, progress2. Tools (actions agents can invoke)
MCP tools allow AI agents to perform actions:
submit_issue— Create new vulnerability report with metadata (severity, type, description)update_issue_status— Change issue state (open, in-progress, verified, closed)award_bacon— Grant BACON rewards to contributors (with justification)create_workflow— Initialize a new workflow (e.g., disclosure, remediation)add_comment— Post comment to issue or PRregister_contribution— Log contributor activity (PR merged, review completed)enroll_in_campaign— Join security campaignclaim_reward— Claim eligible rewardget_recommendations— AI-powered suggestions (next issues, learning tracks, similar patterns)3. Prompts (reusable task templates)
MCP prompts provide pre-built workflows for common BLT tasks:
triage_vulnerability— Guide agent through assessing and categorizing a new reportplan_remediation— Generate remediation plan for verified issuereview_contribution— Structured review of contributor PR or issue fixassign_rewards— Calculate and award appropriate BACON/badges based on contributionfind_similar_issues— Search for related vulnerabilities or patternsgenerate_disclosure_summary— Create responsible disclosure summary for maintainerTechnical architecture
MCP Server Implementation
Protocol Details
MCP uses JSON-RPC 2.0 over stdio (local) or HTTP/SSE (remote). The server implements:
blt://scheme for addressing BLT entitiesData model (MCP interface layer)
No new database tables. BLT-MCP is a presentation layer that exposes existing Django models through MCP protocol.
Resource schemas (examples)
Tool schemas (examples)
API surface
MCP servers don't expose traditional REST endpoints. Instead, they implement JSON-RPC methods:
Initialization & Capabilities
initialize— Negotiate protocol version, capabilitiesinitialized— Confirm handshake completeResources
resources/list— List available resources (optionally filtered)resources/read— Read specific resource by URIresources/templates— Discover resource URI patternsTools
tools/list— List all available tools with schemastools/call— Invoke a tool with argumentsPrompts
prompts/list— List available prompt templatesprompts/get— Fetch prompt template with injected contextSampling (optional)
sampling/createMessage— Request LLM completion (if BLT-MCP acts as orchestrator)Auth: OAuth 2.0 bearer tokens or API keys passed via MCP session metadata.
UX flows
AI agent creating a vulnerability report
Claude Desktop querying contributor stats
Automation tool tracking workflow progress
Integration examples
Claude Desktop integration
Users install BLT-MCP server locally:
Now Claude can naturally interact with BLT:
Custom AI agent
Third-party dashboard
Dashboard tool connects to BLT-MCP to display real-time security metrics:
Development program scope (350h)
Must-have (MVP):
blt://with proper routing and validation.Nice-to-have (stretch):
blt-mcp-clifor testing and debugging (e.g.,blt-mcp-cli read blt://issues/123).Evaluation metrics (for development program)
Pros / cons
Pros
Cons
Why it fits development program
Integration points
Related ideas
ask_security_question).get_next_issue_recommendation).blt://contributors/{id}/reputation.Last Updated: February 2026
Beta Was this translation helpful? Give feedback.
All reactions