MY

mattweg/ynab-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

15 stars 7 forks 품질 51 트렌드 29

YNAB Model Context Protocol (MCP) Claude Code 통합 서버

개요

YNAB Model Context Protocol (MCP) 서버는 예산 (YNAB)이 필요합니다. 이 저장소에는 Claude Code가 YNAB (You Need A Budget) 계정과 상호 작용할 수 있는 Docker 기반 MCP 서버를 포함합니다. OAuth 흐름을 구현하고 예산 관리, 거래 추적 및 금융 통찰력에 대한 포괄적 인 API를 제공합니다. 다음은 확인되었습니다. 1. - list transactions endpoint는 SinceDate 매개 변수를 사용할 때 "무효한 날짜" 오류가 실패합니다. - 소스 코드에 정의 된 몇 가지 엔드 포인트는 MCP 통합에서 사용할 수 없습니다. 3. - test-mcp로 테스트에서 일부 도구 작업.

개요(AI 번역)

YNAB Model Context Protocol (MCP) 서버는 예산 (YNAB)이 필요합니다.

개요

이 저장소에는 Claude Code가 YNAB (You Need A Budget) 계정과 상호 작용할 수 있는 Docker 기반 MCP 서버를 포함합니다. OAuth 흐름을 구현하고 예산 관리, 거래 추적 및 금융 통찰력에 대한 포괄적 인 API를 제공합니다.

알려진 문제

MCP 공구 가용성

다음과 같은 문제는 식별되었습니다 :

  1. Transactions API - list_transactions] endpoint는 sinceDate 매개 변수를 사용할 때 “invalid date” 오류로 실패합니다. 2.Missing API Tools - 소스 코드에 정의 된 몇 가지 엔드 포인트는 MCP 통합에서 사용할 수 없습니다. 3.Inconsistent Behavior - 일부 도구는 test-mcp.js와 테스트에서 작동하지만 실제 MCP 통합에 실패

문제 추적

우리는 뒤에 오는 고침에 적극적으로 일하고 있습니다:

  • fix-transactions-api 분지 : 트랜잭션 API에서 날짜 형식 처리 주소
  • fix-mcp-registration 분지: 모든 API 도구가 제대로 등록 및 사용 가능

특징

  • YNAB API를 이용한 OAuth 기반 인증
  • 예산 및 계정 관리

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

YNAB MCP

YNAB Model Context Protocol (MCP) server for Claude Code integration with You Need A Budget (YNAB).

Overview

This repository contains a Docker-based MCP server that enables Claude Code to interact with YNAB (You Need A Budget) accounts. It implements the OAuth flow and provides a comprehensive API for budget management, transaction tracking, and financial insights.

Known Issues

MCP Tool Availability

The following issues have been identified:

  1. Transactions API - The list_transactions endpoint fails with “invalid date” errors when using the sinceDate parameter
  2. Missing API Tools - Several endpoints that are defined in the source code are not available in the MCP integration
  3. Inconsistent Behavior - Some tools work in testing with test-mcp.js but fail in the actual MCP integration

Issue Tracking

We’re actively working on the following fixes:

  • fix-transactions-api branch: Addressing the date format handling in the transactions API
  • fix-mcp-registration branch: Ensuring all API tools are properly registered and available

Features

  • OAuth-based authentication with YNAB API
  • Complete budget and account management
  • Transaction creation and categorization
  • Advanced category management with bulk allocation and recommendations
  • Support for multiple budgets (personal and family)
  • Rate limit handling (YNAB API limit: 200 requests/hour)
  • Caching for improved performance

New Category Management Features

This MCP includes advanced category management capabilities:

  • Assign to Categories: Allocate funds from Ready to Assign to multiple categories in one operation
  • Recommended Allocations: Get AI-powered suggestions for budget distribution based on goals and spending patterns

See Category Management Documentation for details.

Getting Started

Prerequisites

  • Docker
  • Node.js v18+ (for development)
  • Claude Code CLI
  • YNAB account

Installation

  1. Clone this repository
  2. Copy config/config.example.js to config/config.js and add your YNAB API credentials
  3. Build the Docker image: docker build -t ynab-mcp:latest .
  4. Create a JSON configuration for Claude:
    {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-v",
        "/path/to/data:/app/data",
        "-v",
        "/path/to/config:/app/config",
        "-e",
        "NODE_ENV=production",
        "ynab-mcp:latest"
      ]
    }
    
  5. Register the MCP with Claude Code CLI:
    claude mcp add-json ynab '{"command": "docker", "args": ["run", "--rm", "-i", "-v", "/path/to/data:/app/data", "-v", "/path/to/config:/app/config", "-e", "NODE_ENV=production", "ynab-mcp:latest"]}'
    
    You can also save the JSON to a file and use:
    claude mcp add-json ynab "$(cat config.json)"
    
  6. Authenticate with your YNAB account when prompted by Claude

Integration with Claude

GitHub에서 전체 README 보기

설치

docker run --rm -i -v /path/to/data:/app/data -v /path/to/config:/app/config -e NODE_ENV=production ynab-mcp:latest
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →