mcpField
T
Trellodotnetassistant

Trellodotnetassistant

远程服务
github.com/rwjdk开发工具251 周前更新
代码仓库

关于 Trellodotnetassistant

TrelloDotNet MCP 服务提供 TrelloDotNet C# NuGet 包的使用信息,帮助 AI 辅助编写 TrelloDotNet API 代码。适合使用 .NET 开发 Trello 集成的开发者。该包本身是 Trello REST API 的 .NET 实现。

主要功能

  1. 01TrelloClient 的看板、列表与卡片 CRUD 操作
  2. 02Automation Engine 与 Webhook 事件接收
  3. 03提供 TrelloDotNet 包的最新使用信息

适用场景

  1. 01借助 AI 编写 TrelloDotNet 的 API 调用代码
  2. 02在 .NET 项目中管理 Trello 看板与卡片
  3. 03处理 Trello Webhook 事件

MCP 相关

该 MCP 服务向 MCP 客户端提供 TrelloDotNet 的使用信息,使 AI 能据此生成相关代码。

配置

远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。

服务地址https://trellodotnetassistantbackend.azurewebsites.net/runtime/webhooks/mcp/sse?code=Tools
一键复制安装命令
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。

工具

2
参数类型必填说明
questionstring是要询问的 TrelloDotNet 相关问题

详细介绍

GitHub Actions Workflow Status GitHub Issues or Pull Requests by label Libraries.io dependency status for GitHub repo Coveralls

TrelloDotNet

欢迎使用 TrelloDotNet - Trello REST API 的 .NET 实现

NuGet WIKI Changelog YouTube Rest API API Keys MCP Server

功能

快速开始

要开始使用,你可以按照以下步骤操作,或使用 TrelloDotNet MCP Server 让 AI 协助你并 Vibe Code 整个项目 8-)

  1. 安装 'TrelloDotNet' NuGet 包(dotnet add package TrelloDotNet)
  2. 从 Power-Ups Administration 获取你的 API Key 和 Token
  3. 创建 TrelloClient 的新实例 (位于命名空间 'TrelloDotNet' 中)
  4. 找到你的 Boards、Lists 和 Cards 的 ID(参见此处的视频或本 README 末尾)
  5. 根据以下示例和/或 [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 获取 ID

在 Trello 中获取 ID 最简单的方法是使用这个 Power-Up 来复制/粘贴它们(推荐)。

API Developer ID Helper Power-Up

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

Trello Board

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

JSON Example

祝玩得开心!

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

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