Labsco
bonau logo

Quire MCP Server

from bonau

Interact with Quire.io projects and tasks using the Quire API, enabling AI assistants to manage your workflow.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

โš ๏ธ Disclaimer: Vibe Coding Project โš ๏ธ

This is a "vibe-based" coding project. While functional, it is developed with a focus on rapid implementation and experimentation. Use it at your own risk. The author is not responsible for any consequences, data loss, or unexpected behavior that may arise from its use.


Quire MCP Server

This project provides a Model Context Protocol (MCP) server for Quire. It exposes tools that allow AI assistants to interact with your projects and tasks right from your AI chat interface.

This server uses OAuth2 for authentication and is designed to be run easily via npx.

1. Getting Your Quire Credentials

This server uses an OAuth2 refresh token for authentication. You only need to perform this setup process once.

Step 1: Create a Quire Application

  1. Go to the Quire Applications page.
  2. Click Create a new application.
  3. Fill in the details:
    • Name: Give your application a name (e.g., "My-MCP-Client").
    • Website: You can use a placeholder, like https://localhost.
    • Redirect URI: Set this to https://localhost. This is crucial for the next step.
  4. After creating the app, note down the Client ID and Client Secret.

Step 2: Get an Authorization Code

  1. Construct the following URL in your browser, replacing YOUR_CLIENT_ID with the ID you got in the previous step.
    https://quire.io/oauth?client_id=YOUR_CLIENT_ID&redirect_uri=https://localhost
  2. Visit the URL. You will be asked to log in to Quire and authorize the application.
  3. After authorizing, your browser will be redirected to a blank page with a URL like: https://localhost/?code=SOME_LONG_CODE
  4. Copy the code value from the URL. This code is temporary and will be used in the next step.

Step 3: Exchange the Code for a Refresh Token

  1. Open your terminal and use curl to make a POST request to Quire's token endpoint.

  2. Replace the placeholders with your actual credentials.

    curl -X POST https://quire.io/oauth/token \
      -d grant_type=authorization_code \
      -d code=PASTE_THE_CODE_FROM_STEP_2_HERE \
      -d client_id=YOUR_CLIENT_ID \
      -d client_secret=YOUR_CLIENT_SECRET
  3. The response will be a JSON object containing your access_token and refresh_token.

  4. Save the refresh_token value. This is the token you will use to run the server. It is long-lived and will be used to automatically fetch new access tokens.

4. For Developers

Running from Source

  1. Clone, install dependencies:
    git clone <repository_url>
    cd quire-mcp && npm install
  2. Create a .env file:
    QUIRE_CLIENT_ID=your_client_id
    QUIRE_CLIENT_SECRET=your_client_secret
    QUIRE_REFRESH_TOKEN=your_refresh_token
  3. Run the server:
    npm run build
    npm start

Running Tests

npm test

Features

  • List projects
  • List tasks within a project
  • (More features to be added)