Conversation
- Implement Model Context Protocol (MCP) server as a Flask blueprint. - Add tools for event info, project search, project details, activities, and write operations (add post, update status). - Implement browser-based authentication generating a unique `mcp_token` for users at `/mcp/auth`. - Support remote access via Server-Sent Events (SSE) at `/api/mcp/sse`. - Add `mcp_token` to `User` model with database migrations. - Add "Connect to MCP" link to the user profile edit page. - Ensure the server is robust and uses the official `mcp` SDK. Co-authored-by: loleg <31819+loleg@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR adds Model Context Protocol (MCP) server support to Dribdat, allowing AI agents to interact with hackathon data.
Key Changes:
dribdat/public/mcp.pyimplements the MCP server using themcpSDK. It provides tools for searching projects, retrieving event and project data, viewing activity feeds, adding posts, and updating project status./api/mcp/sse. This allows tools like Claude Desktop or custom agents to connect to a running Dribdat instance securely.mcp_tokencolumn to theUsermodel to store the unique connection tokens, with associated Flask-Migrate migrations.Verification:
PR created automatically by Jules for task 9742420306395792374 started by @loleg