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 Server
A Model Context Protocol (MCP) server for Quip document operations that enables direct interaction with Quip documents from AI assistants like Claude.
Features
Read Documents: Fetch and display Quip document content by ID
Append Content: Add content to the end of existing documents
Prepend Content: Add content to the beginning of documents
Replace Content: Update document content
Create Documents: Intended support for creating new documents (currently redirects to web interface)
Related MCP server: Aider MCP Server
How It Works
This MCP server acts as a bridge between Claude and Quip documents. It works by:
Receiving requests from Claude through the MCP protocol
Executing a Python script (
quip_edit_fixed.py) with the appropriate parametersReturning the results back to Claude
Prerequisites
Node.js v18 or higher
TypeScript
Python with
quiplibrary installedA valid Quip access token
Installation
Clone this repository:
git clone https://github.com/AvinashBole/quip-mcp-server.git cd quip-mcp-serverInstall dependencies:
npm installBuild the project:
npm run buildConfigure your MCP settings:
{ "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": [] } } }
Usage
Once connected, the following MCP tools become available to Claude:
quip_read_document: Read a Quip document by its thread IDquip_append_content: Append content to a documentquip_prepend_content: Add content to the beginning of a documentquip_replace_content: Replace document contentquip_create_document: Create a new document (currently unsupported)
Example usage in Claude:
Python Script Integration
The server expects a Python script called quip_edit_fixed.py in the path specified by the PYTHON_SCRIPT_PATH constant. This script should support the following operations:
read: Read document contentappend: Add content to the end of a documentprepend: Add content to the beginning of a documentreplace: Update document content
License
ISC License
Author
AvinashBole