VT

v4lheru/trello-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 14 forks 质量 70 趋势 22MIT

一个模式背景协议(MCP)服务器,提供与Trello API互动的工具.

概览

一个模式背景协议(MCP)服务器,提供与Trello API互动的工具. 证书安全地存储在您的 OS 证书管理器中,而不是纯文本文件中 。 - 证书存储在 OS 证书管理器( Windows Creditential Manager, macOS keychain, 或 Linux libsect) - : 没有.env 文件, 证书的环境变量 - : 完整访问 Trello 板,列表,卡片, 以及更多 - : 支持所有主要 Trello 操作 - : 完整的类型脚本支持, 为 Trello 对象打入适当的打字 - : 整个代码库的强性错误管理 - 节点.js 18 或以上 - npm - Trello API 密钥和令牌(见下文) 这将激励您获取您的 Trello API 密钥和令牌, 然后存储在您的 OS 证书管理器中 。 1. 改为[T0] 2. 复制您的 API 键 3. 单击“ Generate a token ” 复制符号 若您有下列文件:.

概述(AI 翻译)

一个模式背景协议(MCP)服务器,提供与Trello API互动的工具.

证书安全地存储在您的 OS 证书管理器中,而不是纯文本文件中 。

□ 特性

  • ** 证书存储**:证书存储在OS证书管理器(Windows证书管理器,macOS Keychain或Linux libsect)中
  • ** 无Plaintext Secrets**:没有.env文件,没有证书的环境变量
  • ** 特雷罗一体化**: 完全进入Trello板、名单、卡片等
  • ** 综合API覆盖面**:支持所有主要的特雷洛行动
  • ** Type Security**:为Trello对象提供完整的类型脚本支持和适当的打字
  • ** 不当处理**: 整个代码库的有力错误管理

∮开始∮

· 先决条件

  • 节点.js 18或以上
  • 没有
  • Trello API 键和符号(见下文)

** 仅限Linux**: 安装 lib 机密

  • 安装
  1. 克隆此存储器:

  2. 安装依赖性:

  3. 建设项目:

  4. ** 安全地填写全权证书**:

这将激励您获取您的 Trello API 密钥和令牌, 然后存储在您的 OS 证书管理器中 。

** 为获得全权证书:**

  1. 改为https://trello.com/app-key
  2. 联合国.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Trello MCP Server

A Model Context Protocol (MCP) server that provides tools for interacting with the Trello API.

Credentials are stored securely in your OS credential manager, not in plaintext files.

Features

  • Secure Credential Storage: Credentials stored in OS credential manager (Windows Credential Manager, macOS Keychain, or Linux libsecret)
  • No Plaintext Secrets: No .env files, no environment variables for credentials
  • Trello Integration: Complete access to Trello boards, lists, cards, and more
  • Comprehensive API Coverage: Support for all major Trello operations
  • Type Safety: Full TypeScript support with proper typing for Trello objects
  • Error Handling: Robust error management throughout the codebase

Getting Started

Prerequisites

  • Node.js 18 or higher
  • npm
  • Trello API key and token (see below)

Linux only: Install libsecret

# Debian/Ubuntu
sudo apt install libsecret-1-dev

# Fedora
sudo dnf install libsecret-devel

# Arch
sudo pacman -S libsecret

Installation

  1. Clone this repository:

    git clone https://github.com/v4lheru/trello-mcp-server.git
    cd trello-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    
  4. Set up your credentials securely:

    npm run setup-credentials
    

    This will prompt you for your Trello API key and token, then store them in your OS credential manager.

    To get your credentials:

    1. Go to https://trello.com/app-key
    2. Copy your API Key
    3. Click “Generate a Token” and copy the token

Usage

Start the MCP server:

npm start

Migrating from .env Files

If you have existing credentials in a .env file, the setup script will automatically detect them:

npm run setup-credentials

You’ll see:

📁 Found existing credentials in: /path/to/.env
   Both API Key and Token found.

Migrate these credentials to secure storage? (Y/n):

After migration, you can optionally remove the credentials from your .env file.

Managing Credentials

  • Set/update credentials: npm run setup-credentials
  • Delete credentials: npm run delete-credentials

Credentials are stored in:

  • Windows: Credential Manager → Windows Credentials → trello-mcp-server
  • macOS: Keychain Access → trello-mcp-server
  • Linux: GNOME Keyring / KDE Wallet → trello-mcp-server

Claude Desktop Configuration

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "trello": {
      "command": "node",
      "args": ["C:/path/to/trello-mcp-server/build/index.js"]
    }
  }
}

Available Tools

Board Tools

  • get_boards - Get all boards for the authenticated user
  • get_board - Get a specific board by ID
  • create_board - Create a new board
  • update_board - Update an existing board
  • delete_board - Delete a board
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "trello": { "command": "node", "args": ["C:/path/to/trello-mcp-server/build/index.js"] } } }