关于 Trellodotnetassistant
TrelloDotNet MCP 服务提供 TrelloDotNet C# NuGet 包的使用信息,帮助 AI 辅助编写 TrelloDotNet API 代码。适合使用 .NET 开发 Trello 集成的开发者。该包本身是 Trello REST API 的 .NET 实现。
主要功能
- 01TrelloClient 的看板、列表与卡片 CRUD 操作
- 02Automation Engine 与 Webhook 事件接收
- 03提供 TrelloDotNet 包的最新使用信息
适用场景
- 01借助 AI 编写 TrelloDotNet 的 API 调用代码
- 02在 .NET 项目中管理 Trello 看板与卡片
- 03处理 Trello Webhook 事件
MCP 相关
该 MCP 服务向 MCP 客户端提供 TrelloDotNet 的使用信息,使 AI 能据此生成相关代码。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://trellodotnetassistantbackend.azurewebsites.net/runtime/webhooks/mcp/sse?code=Tools一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http TrelloDotNet https://trellodotnetassistantbackend.azurewebsites.net/runtime/webhooks/mcp/sse?code=ToolsCursor.cursor/mcp.json
{"mcpServers":{"TrelloDotNet":{"type":"http","url":"https://trellodotnetassistantbackend.azurewebsites.net/runtime/webhooks/mcp/sse?code=Tools"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"TrelloDotNet":{"type":"http","url":"https://trellodotnetassistantbackend.azurewebsites.net/runtime/webhooks/mcp/sse?code=Tools"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"TrelloDotNet":{"type":"http","url":"https://trellodotnetassistantbackend.azurewebsites.net/runtime/webhooks/mcp/sse?code=Tools"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"TrelloDotNet":{"serverUrl":"https://trellodotnetassistantbackend.azurewebsites.net/runtime/webhooks/mcp/sse?code=Tools"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
2| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| question | string | 是 | 要询问的 TrelloDotNet 相关问题 |
详细介绍
TrelloDotNet
欢迎使用 TrelloDotNet - Trello REST API 的 .NET 实现
功能
- 用于对 Trello 功能进行 CRUD 操作的 TrelloClient
- 用于处理 webhook 事件的 Automation Engine 和 Webhook Data Receiver
快速开始
要开始使用,你可以按照以下步骤操作,或使用 TrelloDotNet MCP Server 让 AI 协助你并 Vibe Code 整个项目 8-)
- 安装 'TrelloDotNet' NuGet 包(
dotnet add package TrelloDotNet) - 从 Power-Ups Administration 获取你的 API Key 和 Token
- 创建
TrelloClient的新实例 (位于命名空间 'TrelloDotNet' 中) - 找到你的 Boards、Lists 和 Cards 的 ID(参见此处的视频或本 README 末尾)
- 根据以下示例和/或 [Wiki](https://github.com/rwjdk/trello-dotnet/ 使用 TrelloClient
使用示例:
TrelloClient client = new TrelloDotNet.TrelloClient("APIKEY", "TOKEN"); //IMPORTANT: Remember to NOT leave Key and Token in clear text!
//Get all boards that the Token Owner can access
List<Board> boards = await client.GetBoardsCurrentTokenCanAccessAsync();
//Get a specific board
Board board = await client.GetBoardAsync("<boardId>");
//Get lists on a board
List<List> lists = await client.GetListsOnBoardAsync("<boardId>");
//Get cards on a board
List<Card> cardsOnBoard = await client.GetCardsOnBoardAsync("<boardId>");
//Get cards in a specific list
List<Card> cardsInList = await client.GetCardsInListAsync("<listId>");
//Get a specific card
Card card = await client.GetCardAsync("<cardId>");
//Add a card (simple)
AddCardOptions newCardOptions = new AddCardOptions("<listId>", "My Card", "My Card description");
Card newCard = await client.AddCardAsync(newCardOptions);
//Add a card (advanced, with all options set)
Card newAdvancedCard = await client.AddCardAsync(new AddCardOptions
{
//Required options
ListId = "<listId>",
Name = "My Card",
//Optional options
Description = "Description of My Card",
Start = DateTimeOffset.Now,
Due = DateTimeOffset.Now.AddDays(3),
Cover = new CardCover(CardCoverColor.Blue, CardCoverSize.Normal),
LabelIds = new List<string>
{
"<labelId1>",
"<labelId2>",
},
MemberIds = new List<string>
{
"<memberId1>",
"<memberId2>"
},
Checklists = new List<Checklist>
{
new Checklist("Checklist 1", new List<ChecklistItem>
{
new ChecklistItem("Item 1"),
new ChecklistItem("Item 2"),
new ChecklistItem("Item 3")
}),
new Checklist("Checklist 2", new List<ChecklistItem>
{
new ChecklistItem("Item A"),
new ChecklistItem("Item B"),
new ChecklistItem("Item C")
}),
},
AttachmentUrlLinks = new List<AttachmentUrlLink>
{
new AttachmentUrlLink("https://www.google.com", "Google")
},
AttachmentFileUploads = new List<AttachmentFileUpload>
{
new AttachmentFileUpload(File.OpenRead(@"<pathToFile>"), "<Filename>", "<FileDescription>")
},
CustomFields = new List<AddCardOptionsCustomField>
{
new AddCardOptionsCustomField(customField1OnBoard, "ABC"),
new AddCardOptionsCustomField(customField2OnBoard, 123),
}
});
//Update a card (with new name and description and removal of Due Date)
var updateCard = await client.UpdateCardAsync("<cardId>", [
CardUpdate.Name("New Name"),
CardUpdate.Description("New Description"),
CardUpdate.DueDate(null),
]);
//Add a checklist to a card
var checklistItems = new List<ChecklistItem>
{
new("ItemA"),
new("ItemB"),
new("ItemC")
};
Checklist newChecklist = new Checklist("Sample Checklist", checklistItems);
Checklist addedChecklist = await client.AddChecklistAsync("<cardId>", newChecklist);
视频指南
- Trello 开发者基础
- TrelloDotNet
便捷链接
- Udemy 课程
- Wiki
- 更新日志
- 报告问题
- 报告安全问题
- TrelloDotNet NuGet 包
- 开发者 LinkedIn 群组
- 用于查找 ID 的 Power-Up
- Trello API YouTube 播放列表
- 用于管理 API 密钥和令牌的 Power-Ups 管理中心
- Trello API 文档
- Trello 更新日志
- 如何构建你的第一个 Power-Up
关于从 Trello 获取 ID
在 Trello 中获取 ID 最简单的方法是使用这个 Power-Up 来复制/粘贴它们(推荐)。

或者,使用项目中的分享按钮(无需 Power-Up,但更加繁琐)。

导出的内容如下所示(搜索 ID,或使用工具美化打印 JSON 以获得更好的查看效果):

祝玩得开心!
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。