AIでカードに添付したファイルを読み込ませる方法をご教授ください
Hi @桝谷, Hope you are doing well,Welcome to the community!!As @Tomislav Tobijas suggested, we don't have support to read card attachments on our MCP yet.There are two ways to have AI read the files attached to your Trello cards right now.Manual option: simply download the attachment from your Trello card and upload it directly to your AI tool of choice (Claude, ChatGPT, etc.). Trello's native AI (Atlassian Intelligence) works on text in card descriptions and comments, but reading attached files directly is not yet supported.
API option, you can use the Trello REST API to download the attachment and then pass it to your AI tool. First, retrieve the attachment list with GET <a href="https://api.trello.com/1/cards/%7BcardID%7D/attachments?key=APIKey&token=APIToken" target="_blank" rel="nofollow noopener noreferrer">https://api.trello.com/1/cards/{cardID}/attachments?key=APIKey&token=APIToken</a>, then download the file using the /cards/{cardID}/attachments/{attachmentID}/download/{filename} endpoint with an Authorisation header (note: query parameter auth is not supported on the download endpoint). Full details are in the API reference: The Trello REST API and https://community.developer.atlassian.com/t/update-authenticated-access-to-s3/43681/8
GET <a href="https://api.trello.com/1/cards/%7BcardID%7D/attachments?key=APIKey&token=APIToken" target="_blank" rel="nofollow noopener noreferrer">https://api.trello.com/1/cards/{cardID}/attachments?key=APIKey&token=APIToken</a>
/cards/{cardID}/attachments/{attachmentID}/download/{filename}
Authorisation
Thanks.
Hi @桝谷 ,
Are you using native AI within Trello or MCP/connectors? Native AI could potentially do it (depending on the file type). On the other hand, MCP still cannot read attachments (this is in the works, I believe), so you'd need to download the attachment from the Trello card and upload it to the AI you're using. 📄
Cheers,Tobi
It looks like you're new here. Sign in or register to get started.