Skip to content

feat: add work item attachment tools#147

Merged
Prashant-Surya merged 2 commits into
mainfrom
feat-attachment-tools
Jun 15, 2026
Merged

feat: add work item attachment tools#147
Prashant-Surya merged 2 commits into
mainfrom
feat-attachment-tools

Conversation

@akhil-vamshi-konam

@akhil-vamshi-konam akhil-vamshi-konam commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Description

Add MCP tools for work item attachment CRUD.

Tools added:

  • list_work_item_attachments — list attachments with metadata (name, size, content type)
  • get_work_item_attachment_download_url — returns presigned S3 URL.
  • upload_work_item_attachment_from_url — fetch public URL server-side, upload via 3-step S3 presigned POST flow; includes SSRF protection (blocks private/internal IPs).
  • delete_work_item_attachment — delete by attachment ID
  • read_work_item_attachment — fetch attachment content for LLM consumption: images (PNG/JPEG/GIF/WEBP ≤5 MB) returned as vision-readable, text files (TXT/MD/CSV/HTML/XML/YAML/JSON
    ≤1 MB) returned as string

Bumps plane-sdk to 0.2.16 which adds upload_from_bytes and get_download_url methods on WorkItemAttachments.

Type of Change

  • Feature (non-breaking change which adds functionality)

Test Scenarios

  • List attachments on a work item
  • Upload file from public URL, verify appears in list
  • Get download URL, open in browser / fetch with curl
  • Delete attachment, verify removed from list
attachments

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@akhil-vamshi-konam, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 29 minutes and 47 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4746eb6d-bc25-47b4-b721-5be4be36812c

📥 Commits

Reviewing files that changed from the base of the PR and between 3d54d1a and acbe8ed.

📒 Files selected for processing (3)
  • plane_mcp/tools/__init__.py
  • plane_mcp/tools/work_item_attachments.py
  • pyproject.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat-attachment-tools

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@akhil-vamshi-konam
akhil-vamshi-konam marked this pull request as ready for review June 15, 2026 06:38
@Prashant-Surya
Prashant-Surya merged commit c7ac466 into main Jun 15, 2026
1 check passed
@akhil-vamshi-konam
akhil-vamshi-konam deleted the feat-attachment-tools branch June 16, 2026 03:04
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.

2 participants