bonau/quire-mcp
If you are the rightful owner of quire-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Quire MCP Server is a Model Context Protocol server designed to integrate AI assistants with Quire projects and tasks, enabling seamless interaction through an AI chat interface.
⚠️ 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
- Go to the Quire Applications page.
- Click Create a new application.
- 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.
- After creating the app, note down the Client ID and Client Secret.
Step 2: Get an Authorization Code
- 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
- Visit the URL. You will be asked to log in to Quire and authorize the application.
- After authorizing, your browser will be redirected to a blank page with a URL like:
https://localhost/?code=SOME_LONG_CODE
- 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
-
Open your terminal and use
curl
to make a POST request to Quire's token endpoint. -
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
-
The response will be a JSON object containing your
access_token
andrefresh_token
. -
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.
2. Quick Start & Usage
Set Environment Variables
Set the following three environment variables in your terminal.
# Replace with the credentials you obtained above
export QUIRE_CLIENT_ID="your_client_id"
export QUIRE_CLIENT_SECRET="your_client_secret"
export QUIRE_REFRESH_TOKEN="your_refresh_token"
Run with npx
Once the environment variables are set, you can run the server with a single command:
npx quire-mcp
3. Cursor Setup Guide
-
Find your
mcp.json
file:~/.cursor-settings/mcp.json
-
Add the server configuration:
{ "mcpServers": { "quire": { "command": "npx", "args": [ "-y", "quire-mcp" ], "env": { "QUIRE_CLIENT_ID": "${env:QUIRE_CLIENT_ID}", "QUIRE_CLIENT_SECRET": "${env:QUIRE_CLIENT_SECRET}", "QUIRE_REFRESH_TOKEN": "${env:QUIRE_REFRESH_TOKEN}" } } } }
-
Ensure Environment Variables are Set: Before launching Cursor, make sure the variables are set in your shell environment (
.zshrc
,.bash_profile
, etc.). -
Restart Cursor to load the new MCP server.
4. For Developers
Running from Source
- Clone, install dependencies:
git clone <repository_url> cd quire-mcp && npm install
- Create a
.env
file:QUIRE_CLIENT_ID=your_client_id QUIRE_CLIENT_SECRET=your_client_secret QUIRE_REFRESH_TOKEN=your_refresh_token
- 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)