Skip to main content
Glama

FreeAgent MCP Server

by markpitt

FreeAgent MCP サーバー

FreeAgentのタイムスリップとタイマーを管理するためのClaude MCP(Model Context Protocol)サーバー。このサーバーにより、ClaudeはFreeAgentアカウントと連携して、時間を追跡し、タイマーを管理し、タイムスリップの操作を処理できます。

特徴

  • ネストされたデータを含むタイムスリップの一覧表示とフィルタリング
  • 新しいタイムスリップを作成する
  • 既存のタイムスリップを更新する
  • タイマーの開始と停止
  • タイムスリップを削除する
  • OAuthトークンの自動更新
  • 包括的なエラー処理
  • Dockerサポート

前提条件

  • Node.js 18+ (Node.js を直接使用する場合)
  • Docker と Docker Compose (コンテナ化して使用する場合)
  • APIアクセス可能なFreeAgentアカウント
  • FreeAgent 開発者ダッシュボードからの OAuth 認証情報

インストール

オプション1: Node.jsの直接インストール

  1. リポジトリをクローンします。
git clone https://github.com/yourusername/freeagent-mcp.git cd freeagent-mcp
  1. 依存関係をインストールします:
npm install
  1. OAuth トークンを取得します。
# Set your FreeAgent credentials export FREEAGENT_CLIENT_ID="your_client_id" export FREEAGENT_CLIENT_SECRET="your_client_secret" # Run the OAuth setup script node scripts/get-oauth-tokens.js

オプション2: Dockerのインストール

  1. リポジトリをクローンします。
git clone https://github.com/yourusername/freeagent-mcp.git cd freeagent-mcp
  1. 環境ファイルを作成します。
cp .env.example .env # Edit .env with your FreeAgent credentials
  1. Docker イメージをビルドします。
docker build -t freeagent-mcp .

構成

サーバーを MCP 設定に追加します (通常は%APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonにあります)。

Node.js のインストールの場合:

{ "mcpServers": { "freeagent": { "command": "node", "args": ["path/to/freeagent-mcp/build/index.js"], "env": { "FREEAGENT_CLIENT_ID": "your_client_id", "FREEAGENT_CLIENT_SECRET": "your_client_secret", "FREEAGENT_ACCESS_TOKEN": "your_access_token", "FREEAGENT_REFRESH_TOKEN": "your_refresh_token" }, "disabled": false, "autoApprove": [] } } }

Docker インストールの場合:

{ "mcpServers": { "freeagent": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "FREEAGENT_CLIENT_ID", "-e", "FREEAGENT_CLIENT_SECRET", "-e", "FREEAGENT_ACCESS_TOKEN", "-e", "FREEAGENT_REFRESH_TOKEN", "freeagent-mcp" ], "env": { "FREEAGENT_CLIENT_ID": "your_client_id", "FREEAGENT_CLIENT_SECRET": "your_client_secret", "FREEAGENT_ACCESS_TOKEN": "your_access_token", "FREEAGENT_REFRESH_TOKEN": "your_refresh_token" }, "disabled": false, "autoApprove": [] } } }

使用法

設定が完了すると、Claude は次のツールを使用できるようになります。

タイムスリップ一覧

{ "from_date": "2024-01-01", // Start date (YYYY-MM-DD) "to_date": "2024-03-04", // End date (YYYY-MM-DD) "updated_since": "2024-03-04T12:00:00Z", // ISO datetime "view": "all", // "all", "unbilled", or "running" "user": "https://api.freeagent.com/v2/users/123", "task": "https://api.freeagent.com/v2/tasks/456", "project": "https://api.freeagent.com/v2/projects/789", "nested": true // Include nested resources }

タイムスリップを作成

{ "task": "https://api.freeagent.com/v2/tasks/123", "user": "https://api.freeagent.com/v2/users/456", "project": "https://api.freeagent.com/v2/projects/789", "dated_on": "2024-03-04", "hours": "1.5", "comment": "Optional comment" }

タイマーコントロール

// Start timer { "id": "123" } // Stop timer { "id": "123" }

発達

Node.js開発

# Build the project npm run build # Watch for changes npm run watch # Run tests (when implemented) npm test

Docker開発

# Build the Docker image docker build -t freeagent-mcp .

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature
  3. 変更をコミットします ( git commit -am 'Add some amazing feature' )
  4. ブランチにプッシュする ( git push origin feature/amazing-feature )
  5. プルリクエストを開く

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

謝辞

  • 優れたAPIドキュメントを提供するFreeAgent
  • MCP SDKのClaudeチーム

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Claude が FreeAgent アカウントと対話して時間を追跡し、タイマーを管理し、タイムスリップ操作を処理できるようにする Claude MCP サーバー。

  1. 特徴
    1. 前提条件
      1. インストール
        1. オプション1: Node.jsの直接インストール
        2. オプション2: Dockerのインストール
      2. 構成
        1. Node.js のインストールの場合:
        2. Docker インストールの場合:
      3. 使用法
        1. タイムスリップ一覧
        2. タイムスリップを作成
        3. タイマーコントロール
      4. 発達
        1. Node.js開発
        2. Docker開発
      5. 貢献
        1. ライセンス
          1. 謝辞

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              An MCP server that allows accessing and managing ledger files through Claude by providing account listing, balance checking, and transaction register viewing capabilities.
              Last updated -
              1
              Python
              GPL 3.0
              • Apple
            • A
              security
              A
              license
              A
              quality
              An MCP server that enables Claude to interact with Twitter, allowing for posting tweets and searching Twitter content.
              Last updated -
              2
              108
              195
              TypeScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server that connects Claude for Desktop with blockchain functionality, allowing users to check balances and send tokens on EVM and Solana chains through natural language interactions.
              Last updated -
              TypeScript
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server that allows Claude to interact with Discord by providing tools for sending/reading messages and managing server resources through Discord's API.
              Last updated -
              JavaScript

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/markpitt/freeagent-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server