IY

ichinya/yougile-mcp

开发工具

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

20 stars 10 forks 质量 72 趋势 30

Yougile MCP 服务器将模型上下文协议(MCP)的强大功能带入 Yougile,使 AI 代理和开发者工具能够以程序方式与您的 Yougile 工作区交互。

概览

Yougile MCP 服务器将模型上下文协议(MCP)的强大功能带入 Yougile,使 AI 代理和开发者工具能够以程序方式与您的 Yougile 工作区交互。 - :采用TypeScript构建,提升可靠性和可维护性 - :所有导出函数的全面JSDoc注释 - :共享辅助功能减少代码重复 - :已更新至最新稳定版本(Yargs v18、Zod v4、ESLint v10) 这个服务器为所有使用 Yougile 的人解锁了各种有用的功能: - 管理项目(获取、创建、更新)- 管理任务(获取、创建、更新、分配)- 管理用户(邀请、获取详细信息、更新)- 管理板块和栏目 - 更新任务状态并移动任务在列之间 - 构建与 Yougile 自然交互的智能应用 - Node.js 20.19或更高版本 - 具有适当权限的Yougile账户- Yougile公司的API密钥 获取API密钥最简单的方法是内置的Yougile配置器。

概述(AI 翻译)

Yougile MCP 服务器将模型上下文协议(MCP)的强大功能带入 Yougile,使 AI 代理和开发者能够使用 工具,可以与你的 Yougile 工作区进行程序化交互。

特色

  • 类型安全:采用TypeScript构建,以提升可靠性和可维护性
  • 文档详尽:所有导出函数的全面JSDoc注释
  • 重构:共享辅助功能减少代码重复
  • 现代依赖:更新至最新稳定版本(Yargs v18、Zod v4、ESLint v10)

你能拿它做什么?

这个服务器为所有使用 Yougile 的人解锁了各种有用的功能:

  • 管理项目(获取、创建、更新)
  • 管理任务(获取、创建、更新、分配)
  • 管理用户(邀请、获取详情、更新)
  • 管理板和柱子
  • 更新任务状态并在列间移动任务
  • 构建与Yougile自然交互的智能应用

先修条件

  • Node.js 20.19或更高
  • 具有适当权限的Yougile账户
  • Yougile 公司的 API 密钥

获取你的Yougile API密钥

方法1:使用Yougile配置器(推荐)

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

README

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

Yougile MCP Server

The Yougile MCP Server brings the power of Model Context Protocol (MCP) to Yougile, allowing AI agents and developer tools to interact programmatically with your Yougile workspace.

Features

  • Type-Safe: Built with TypeScript for enhanced reliability and maintainability
  • Well-Documented: Comprehensive JSDoc comments for all exported functions
  • Refactored: Shared helper functions reduce code duplication
  • Modern Dependencies: Updated to latest stable versions (Yargs v18, Zod v4, ESLint v10)

What can you do with it?

This server unlocks all sorts of useful capabilities for anyone working with Yougile:

  • Manage projects (get, create, update)
  • Manage tasks (get, create, update, assign)
  • Manage users (invite, get details, update)
  • Manage boards and columns
  • Update task statuses and move tasks between columns
  • Build smart apps that interact naturally with Yougile

Prerequisites

  • Node.js 20.19 or higher
  • A Yougile account with appropriate permissions
  • An API key for your Yougile company

Getting Your Yougile API Key

The easiest way to get your API key is through the built-in Yougile configurator.

How to open the configurator:

  • Press Ctrl + ~ in the Yougile app, or
  • Go to the Projects page → click the gear icon ⚙️ next to your company name → select “Configure” (Настроить)

Once in the configurator:

  1. Navigate to API settings
  2. Generate or copy your API key

Method 2: Using cURL

You can get your API key programmatically using the following cURL command:

curl -X POST "https://yougile.com/api-v2/auth/keys" \
  -H "Content-Type: application/json" \
  -d '{
    "login": "[email protected]",
    "password": "your_password",
    "companyId": "your_company_id"
  }'

Note: This creates a new API key. Make sure to save the returned API key securely.

Method 3: Get existing API keys

To retrieve your existing API keys:

curl -X POST "https://yougile.com/api-v2/auth/keys/get" \
  -H "Content-Type: application/json" \
  -d '{
    "login": "[email protected]",
    "password": "your_password"
  }'

Getting Company ID

You’ll need your Company ID for some API operations. Here are the ways to get it:

Keyboard Shortcut (Recommended)

  • Press Ctrl + Alt + Q (Windows/Linux) or Ctrl + Option + Q (Mac) in Yougile
  • The Company ID will appear on screen and automatically copy to your clipboard

Via API

  • Use the /api-v2/auth/companies endpoint with your login credentials to list all your companies

Installation

  1. Clone or download this repository
  2. Install dependencies:
npm install
  1. Build the server:
npm run build

Configuration

MCP Configuration

The server is configured through the global MCP configuration file. Update the configuration with your API key:

{
  "mcpServers": {
    "yougile-mcp": {
      "command": "node",
在 GitHub 查看完整 README

安装

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

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

配置

{ "mcpServers": { "yougile-mcp": { "command": "node", "args": [ "D:\\Projects\\yougile-mcp\\yougile.cjs" ], "env": { "YOUGILE_API_KEY": "your_actual_api_key_here" }, "disabled": false, "alwaysAllow": [] } } }