quip-mcp

command module
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2025 License: MIT Imports: 6 Imported by: 0

README ΒΆ

Quip MCP Server

A Model Context Protocol (MCP) server providing AI assistants with comprehensive Quip document access and management.

Install MCP Server

✨ Features

  • Full Document Lifecycle: Create, read, edit, delete Quip documents
  • Smart Search: Find documents with comprehensive search capabilities
  • Recent Documents: Access your recently viewed/edited documents
  • User Management: Get user information and details
  • Comments: Retrieve and manage document discussions
  • Markdown Support: Clean markdown formatting throughout
  • Robust API: Handles complex Quip API response structures
  • Secure: Token-based authentication with enterprise support

πŸš€ Quick Install

Step 1: Install the binary
One-line install (macOS/Linux)
curl -sSL https://raw.githubusercontent.com/bug-breeder/quip-mcp/main/install.sh | bash
Manual download

Download the appropriate binary for your platform from the releases page.

Step 2: Add to Cursor (One-click)

After installing the binary, click the button below to add the MCP server configuration to your Cursor IDE:

Install MCP Server

Note: This button only adds the MCP configuration to Cursor. You must install the quip-mcp binary first (Step 1).

πŸ”„ Updates

Quick Update

Update to the latest version with one command:

curl -sSL https://raw.githubusercontent.com/bug-breeder/quip-mcp/main/install.sh | bash -s -- --update

The update script will:

  • βœ… Check your current version
  • βœ… Skip update if you already have the latest version
  • βœ… Only install if a newer version is available
  • βœ… Preserve your existing configuration
Check Current Version
quip-mcp --version

⚑ Quick Start

  1. Get your API token

    • Visit your Quip instance: https://your-company.quip.com/dev/token
    • Generate a new API token
  2. Configure the server

    quip-mcp --setup
    
  3. Add to your MCP client

    {
      "mcpServers": {
        "quip": {
          "command": "quip-mcp"
        }
      }
    }
    

That's it! Your AI assistant can now access your Quip documents.

πŸ› οΈ Available Tools

Tool Description
get_recent_threads Get your recently viewed/edited documents
search_documents Search for documents by keyword or query
get_document Retrieve full document content by ID
create_document Create new documents with markdown content
edit_document Update existing documents (append/prepend/replace)
delete_document Delete documents permanently
get_user Get current user or specific user information
get_document_comments Retrieve document comments and discussions

πŸ“– Usage Examples

Get Recent Documents
Show my recent Quip documents
Search Documents
Search for documents about "project planning"
Read Document Content
Get the full content of document V9T5AFuROlBN
Create New Document
Create a document titled "Meeting Notes" with markdown content about today's team meeting
Edit Existing Document
Add a new section to document ABC123 about next week's goals
Delete Document
Delete the test document XYZ789

βš™οΈ Configuration

Environment Variable
export QUIP_API_TOKEN="your-token-here"
quip-mcp
Configuration File

The server automatically saves your token to:

  • Linux/macOS: ~/.config/quip-mcp/config.yaml
  • Windows: %APPDATA%/quip-mcp/config.yaml
CLI Options
quip-mcp --help          # Show help
quip-mcp --version       # Show version
quip-mcp --setup         # Interactive token setup
quip-mcp --config        # Show current configuration

🏒 Company Instances

This server works with both Quip.com and company-specific instances:

  • Quip.com: Standard public Quip
  • Company instances: https://your-company.quip.com

The API token automatically handles routing to your specific instance.

πŸ”’ Security

  • Tokens are stored with restricted file permissions (0600)
  • All API communication uses HTTPS
  • No sensitive data is logged

πŸ›‘οΈ Troubleshooting

Common Issues

"No API token found"

# Run interactive setup
quip-mcp --setup

# Or set environment variable
export QUIP_API_TOKEN="your-token-here"

"Search not available"

  • Some Quip instances have search disabled
  • Use direct document IDs instead
  • Extract document ID from Quip URLs: https://company.quip.com/DOCUMENT_ID/title "Permission denied"
  • Ensure your API token has appropriate permissions
  • Check document access levels in Quip

πŸ”§ Development

Build from Source
git clone https://github.com/bug-breeder/quip-mcp.git
cd quip-mcp
make build
Quality Assurance Workflow
# Run comprehensive pre-commit checks (recommended before any commit)
make pre-commit

# Individual commands
make test          # Unit tests only
make test-all      # Unit + integration tests  
make lint          # Code linting
make format        # Code formatting
make security      # Security scan
Testing
# Unit tests (mocked)
make test-unit

# Integration tests (requires QUIP_API_TOKEN)
export QUIP_API_TOKEN="your-token"
make test-integration

# Run all tests
make test-all
Development Tools
make help          # Show all available commands
make dev-setup     # Install development dependencies
make coverage      # Generate test coverage report

πŸ“„ License

MIT License - see LICENSE file for details.

🀝 Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL