Quip MCP Server

by AvinashBole
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Enables direct interaction with Quip documents, providing tools for reading document content, appending content to the end of documents, prepending content to the beginning, and replacing document content.

Quip MCP サーバー

Quip ドキュメント操作用のモデル コンテキスト プロトコル (MCP) サーバー。これにより、Claude などの AI アシスタントから Quip ドキュメントを直接操作できるようになります。

特徴

  • ドキュメントの読み取り: ID で Quip ドキュメントのコンテンツを取得して表示します
  • コンテンツの追加: 既存のドキュメントの末尾にコンテンツを追加します
  • コンテンツの先頭に追加: ドキュメントの先頭にコンテンツを追加します
  • コンテンツの置換: ドキュメントのコンテンツを更新します
  • ドキュメントの作成: 新しいドキュメントの作成をサポートする予定です (現在は Web インターフェースにリダイレクトされます)

仕組み

このMCPサーバーは、ClaudeとQuipのドキュメント間のブリッジとして機能します。その仕組みは以下のとおりです。

  1. MCPプロトコルを介してクロードからのリクエストを受信する
  2. 適切なパラメータを使用してPythonスクリプト( quip_edit_fixed.py )を実行する
  3. 結果をクロードに返す

前提条件

  • Node.js v18以上
  • タイプスクリプト
  • quipライブラリがインストールされたPython
  • 有効なQuipアクセストークン

インストール

  1. このリポジトリをクローンします:
    git clone https://github.com/AvinashBole/quip-mcp-server.git cd quip-mcp-server
  2. 依存関係をインストールします:
    npm install
  3. プロジェクトをビルドします。
    npm run build
  4. MCP 設定を構成します。
    { "mcpServers": { "quip": { "command": "node", "args": ["path/to/quip-server/build/index.js"], "env": { "QUIP_ACCESS_TOKEN": "your-quip-access-token", "QUIP_BASE_URL": "https://platform.quip.com" }, "disabled": false, "autoApprove": [] } } }

使用法

接続すると、Claude は次の MCP ツールを使用できるようになります。

  • quip_read_document : スレッドIDでQuipドキュメントを読む
  • quip_append_content : ドキュメントにコンテンツを追加する
  • quip_prepend_content : ドキュメントの先頭にコンテンツを追加する
  • quip_replace_content : ドキュメントのコンテンツを置き換える
  • quip_create_document : 新しいドキュメントを作成する (現在はサポートされていません)

Claude での使用例:

<use_mcp_tool> <server_name>quip</server_name> <tool_name>quip_read_document</tool_name> <arguments> { "threadId": "YOUR_DOCUMENT_ID" } </arguments> </use_mcp_tool>

Pythonスクリプト統合

サーバーは、 PYTHON_SCRIPT_PATH定数で指定されたパスにquip_edit_fixed.pyという Python スクリプトが存在することを期待しています。このスクリプトは以下の操作をサポートする必要があります。

  • read : 文書の内容を読む
  • append : 文書の末尾にコンテンツを追加する
  • prepend : 文書の先頭にコンテンツを追加する
  • replace : ドキュメントの内容を更新する

ライセンス

ISCライセンス

著者

アビナッシュ・ボール

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

Claude のような AI アシスタントが一連の専用ツールを通じて Quip ドキュメントを直接読み取り、編集できるようにするモデル コンテキスト プロトコル サーバー。

  1. Features
    1. How It Works
      1. Prerequisites
        1. Installation
          1. Usage
            1. Python Script Integration
              1. License
                1. Author
                  ID: lem340e0cs