Skip to content
Documentation
Command

/setup-freee

Lesson command — Freee MCP セットアップ

From plugin
ai-agent-camp
345200 skills8 agents200 commands
Install
$ npx -y skills add minicoohei/ai-agent-camp --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/setup-freee

Context preview

What this command does when you run it.

Lesson command — Freee MCP セットアップ

Command definition

setup-freee.md
description: "Lesson command — Freee MCP セットアップ"
duration: "約30分"
prerequisites: ["Freee MCP アカウント"]
level: "intermediate"
nonInteractiveMode: incompatible
tags: ["setup", "module-20"]

/setup-freee -- Freee MCP セットアップ

> freee 会計に MCP 経由で接続。ブラウザ OAuth + Client ID/Secret が必要。

**ハイライト**: Freee Developer App + OAuth ブラウザログイン必須

セットアップ手順

1. freee Developer Portal でアプリ作成

   https://app.secure.freee.co.jp/developers/applications

2. Client ID / Client Secret を控える — `(Web ブラウザのみ)`

3. freee-mcp を pin install — `npm install -g freee-mcp@0.26.0`

4. Claude Code に MCP 登録 — `claude mcp add --transport stdio freee -- npx freee-mcp@0.26.0`

5. OAuth ブラウザフローで認可 — `claude mcp の指示に従う`

つまずきポイント

  • 事業所 ID は `freee_get_companies` で取得 → `~/.config/freee-mcp/config.json` に保存
  • Sandbox / 本番アプリは別物。Sandbox で試してから本番アプリに切り替え

非対話モード

ブラウザ OAuth が必須なので `claude -p` / `cursor-agent --print` では完走できません。対話モードで実行してください。

関連スライド

  • aiagent-course Module 20: see slide deck for the full visual walkthrough
Ships withai-agent-camp

AI Agent Training for Non-Engineers - Complete Guide to Claude Code / Cursor / Codex ### ⚠️ Before you clone Official repository (maintained by the authors): Running AI agents from this repo grants them shell, file-write, and external-API permissions on your

Get the whole plugin