Skip to main content
Glama

Fastn Server

Official
by fastnai

Fastnサーバー

Fastnサーバーは、API定義に基づいた動的なツール登録と実行を可能にする、強力でスケーラブルなプラットフォームです。Claude.aiやCursor.aiなどのサービスとシームレスに統合し、幅広いタスクに対応する統合サーバーソリューションを提供します。堅牢なアーキテクチャを備えたFastnは、リアルタイムのAPIドリブンな運用において卓越したパフォーマンスと柔軟性を実現します。

はじめる

パッケージのインストール(推奨)

Fastn サーバーをインストールする最も簡単な方法は、pip を使用することです。

pip install fastn-mcp-server

インストール後、次のコマンドでサーバーを実行できます。

fastn-mcp-server --api_key YOUR_API_KEY --space_id YOUR_SPACE_ID

パッケージ インストールを使用する場合、AI アシスタントの構成は次のようになります。

macOS/Linux:

{ "mcpServers": { "fastn": { "command": "/path/to/fastn-mcp-server", "args": [ "--api_key", "YOUR_API_KEY", "--space_id", "YOUR_WORKSPACE_ID" ] } } }

ウィンドウズ:

{ "mcpServers": { "fastn": { "command": "C:\\path\\to\\fastn-mcp-server.exe", "args": [ "--api_key", "YOUR_API_KEY", "--space_id", "YOUR_WORKSPACE_ID" ] } } }

インストールされている fastn-server コマンドの正確なパスを見つけるには:

  • macOS/Linuxの場合: which fastn-server
  • Windowsのwhere fastn-server

特徴

  • 統合プラットフォームのサポート- 簡単なセットアップを完了すると、Slack、Notion、HubSpotなどのサービスをFastnサーバー経由で使用できます。
  • ログ記録サポート- 包括的なログ記録システム
  • エラー処理- さまざまなシナリオに対応する堅牢なエラー管理

ステップバイステップのセットアップガイド

ステップ1:Fastnのセットアップ

  1. Fastnアカウントにログイン
  2. 左側のサイドバーから「コネクタ」に移動します
  3. 「アクティブ化」をクリックして、使用したいサービスを有効にします。
  4. 左サイドバーから「設定」へ移動します
  5. 「APIキーを生成」をクリックし、ローカルのどこか(メモ帳など)に保存します。
  6. 上部バー(プロフィールの左側)にあるコピーボタンをクリックします。
  7. ワークスペースIDもコピーして保存します
  8. Fastnからのすべてのセットアップが完了しました

ステップ2: サーバーのセットアップ

オプション 1: パッケージインストールを使用する (推奨)

上記の「パッケージのインストール」セクションを参照してください。

オプション2: 手動セットアップ

前提条件

  • Python 3.10以上

クイックスタート

macOS

# Clone repository and navigate to directory git clone <your-repo-url> && cd fastn-server # Install UV, create virtual environment, and install dependencies in one go curl -LsSf https://astral.sh/uv/install.sh | sh && uv venv && source .venv/bin/activate && uv pip install -e . # Run server (specify platform with --platform flag) uv run fastn-server.py --api_key YOUR_API_KEY --space_id YOUR_SPACE_ID

ウィンドウズ

# Clone repository and navigate to directory git clone <your-repo-url> && cd fastn-server # Install UV, create a virtual environment, and install dependencies # Option 1: Install UV using pip python -m pip install uv # Make sure to copy the installation path and add it to your Windows environment variables. # Option 2: Install UV using PowerShell powershell -c "irm https://astral.sh/uv/install.ps1 | iex" && uv venv && .venv\Scripts\activate && uv pip install -e . # Run server (specify platform with --platform flag) uv run fastn-server.py --api_key YOUR_API_KEY --space_id YOUR_SPACE_ID

ステップ3: AIアシスタントとの統合

パッケージのインストール(オプション1)
  1. インストールした fastn-server へのパスを見つけます。
    • macOS/Linuxの場合: which fastn-server
    • Windowsのwhere fastn-server
  2. 手順 1 のパスを使用して AI アシスタントを構成します。
手動インストールの場合(オプション2)
Claude On Mac OSとの統合
  1. Claude 構成を開きます。
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
  1. 次の構成を追加します (プレースホルダーを実際の値に置き換えます)。
{ "mcpServers": { "fastn": { "command": "/path/to/your/uv", "args": [ "--directory", "/path/to/your/fastn-server", "run", "fastn-server.py", "--api_key", "YOUR_API_KEY", "--space_id", "YOUR_WORKSPACE_ID" ] } } }
カーソルとの統合
  1. カーソル設定を開く
  2. 設定メニューの「MCP」をクリックします
  3. 「新規追加」をクリックします
  4. サーバーの名前を追加します(例:「fastn」)
  5. タイプとして「コマンド」を選択します
  6. 次のコマンドを追加します (プレースホルダーを実際の値に置き換えます)。
/path/to/your/uv --directory /path/to/your/fastn-server run fastn-server.py --api_key YOUR_API_KEY --space_id YOUR_WORKSPACE_ID

詳細な統合手順

クロードのために
  1. Claude 構成ファイルを開きます。
    • Windows: notepad "%APPDATA%\Claude\claude_desktop_config.json"またはcode "%APPDATA%\Claude\claude_desktop_config.json"
    • Mac: open -a TextEdit ~/Library/Application\ Support/Claude/claude_desktop_config.jsonまたはcode ~/Library/Application\ Support/Claude/claude_desktop_config.json
  2. インストール方法に基づいて適切な構成 JSON を追加します。
カーソル用
  1. カーソル設定を開く
  2. 設定メニューの「MCP」をクリックします
  3. 「新規追加」をクリックします
  4. サーバーの名前を追加します(例:「fastn」)
  5. タイプとして「コマンド」を選択します
  6. インストール方法に応じて適切な構成を使用してください

トラブルシューティング

パッケージ構造エラー

インストール中に次のようなエラーが発生した場合:

ValueError: Unable to determine which files to ship inside the wheel using the following heuristics: The most likely cause of this is that there is no directory that matches the name of your project (fastn).

クイックフィックス:

  1. pyproject.tomlに wheel 構成があることを確認します。
[tool.hatch.build.targets.wheel] packages = ["."]
  1. 次に依存関係をインストールします。
uv pip install "httpx>=0.28.1" "mcp[cli]>=1.2.0"
  1. サーバーを実行します。
uv run fastn-server.py --api_key YOUR_API_KEY --space_id YOUR_SPACE_ID

ログ記録

ログは、タイムスタンプ、レベル、メッセージとともに次の形式で出力されます。

%(asctime)s - %(levelname)s - %(message)s

サポート

ご質問、問題、機能リクエストについては、次のサイトをご覧ください。

ライセンス

このプロジェクトは、 LICENSEファイルに含まれる条件に基づいてライセンスされます。

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

API 定義に基づいて動的なツールの登録と実行を可能にし、Claude.ai や Cursor.ai などのサービスとのシームレスな統合を実現する MCP サーバー。

  1. はじめる
    1. パッケージのインストール(推奨)
  2. 特徴
    1. ステップバイステップのセットアップガイド
      1. ステップ1:Fastnのセットアップ
      2. ステップ2: サーバーのセットアップ
    2. 前提条件
      1. クイックスタート
        1. macOS
        2. ウィンドウズ
        3. ステップ3: AIアシスタントとの統合
        4. 詳細な統合手順
        5. トラブルシューティング
      2. ログ記録
        1. サポート
          1. ライセンス

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              An MCP server implementation that standardizes how AI applications access tools and context, providing a central hub that manages tool discovery, execution, and context management with a simplified configuration system.
              Last updated -
              12
              Python
              MIT License
            • -
              security
              F
              license
              -
              quality
              A flexible server that enables communication between AI models and tools, supporting multiple MCP servers and compatible with Claude, MCP Dockmaster, and other MCP clients.
              Last updated -
              30
              1
              TypeScript
            • A
              security
              F
              license
              A
              quality
              An MCP server that allows users to create custom tools on the fly by stitching together actions from multiple MCP tools into reusable routines.
              Last updated -
              4
              23
              1
              TypeScript
            • A
              security
              F
              license
              A
              quality
              An MCP-compatible server that exposes automated API tools to MCP clients like Claude Desktop or Postman, allowing AI assistants to interact with your selected APIs.
              Last updated -
              3
              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/fastnai/mcp-fastn'

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