ichinya/yougile-mcp
If you are the rightful owner of yougile-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 Yougile MCP Server integrates Model Context Protocol (MCP) with Yougile, enabling AI agents and developer tools to programmatically interact with Yougile workspaces.
Yougile MCP Server
The Yougile MCP Server brings the power of Model Context Protocol (MCP) to Yougile, allowing AI agents and developer tools to interact programmatically with your Yougile workspace.
What can you do with it?
This server unlocks all sorts of useful capabilities for anyone working with Yougile:
- Manage projects (get, create, update)
- Manage tasks (get, create, update, assign)
- Manage users (invite, get details, update)
- Manage boards and columns
- Update task statuses and move tasks between columns
- Build smart apps that interact naturally with Yougile
Prerequisites
- Node.js 18 or higher
- A Yougile account with appropriate permissions
- An API key for your Yougile company
Getting Your Yougile API Key
Method 1: Using the Yougile Web Interface
- Log in to your Yougile account at https://yougile.com
- Go to Settings > API Keys
- Create a new API key with the necessary permissions
- Copy the API key (save it securely, as you won't be able to see it again)
Method 2: Using cURL
You can get your API key programmatically using the following cURL command:
curl -X POST "https://yougile.com/api-v2/auth/keys" \
-H "Content-Type: application/json" \
-d '{
"login": "your_email@example.com",
"password": "your_password",
"companyName": "Your Company Name"
}'
Note: This creates a new API key. Make sure to save the returned API key securely.
Method 3: Get existing API keys
To retrieve your existing API keys:
curl -X POST "https://yougile.com/api-v2/auth/keys/get" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_EXISTING_API_KEY" \
-d '{
"company": "Company ID or Name"
}'
Installation
- Clone or download this repository
- Install dependencies:
npm install
- Build the server:
npm run build
Configuration
MCP Configuration
The server is configured through the global MCP configuration file. Update the configuration with your API key:
{
"mcpServers": {
"yougile-mcp": {
"command": "node",
"args": [
"D:\\Projects\\yougile-mcp\\yougile.cjs"
],
"env": {
"YOUGILE_API_KEY": "your_actual_api_key_here"
},
"disabled": false,
"alwaysAllow": []
}
}
}
For Claude Desktop or other MCP-compatible tools, you can add Yougile by updating your global MCP configuration file (
typically located at C:\Users\{username}\.kilocode\globalStorage\kilo code.kilo-code\settings\mcp_settings.json):
{
"mcpServers": {
"yougile-mcp": {
"command": "node",
"args": [
"D:\\Projects\\yougile-mcp\\yougile.cjs"
],
"env": {
"YOUGILE_API_KEY": "your_actual_api_key_here"
}
}
}
}
Alternatively, if you prefer to manage your API key through system environment variables:
{
"mcpServers": {
"yougile-mcp": {
"command": "node",
"args": [
"D:\\Projects\\yougile-mcp\\yougile.cjs"
],
"env": {
"YOUGILE_API_KEY": "${env.YOUGILE_API_KEY}"
}
}
}
}
Troubleshooting
If you experience "MCP error -32000: Connection closed" when working with different projects:
- Make sure the server file extension is
.cjs(CommonJS) rather than.js(ES modules) to properly support__dirname - Ensure that the path in your MCP configuration points to
yougile.cjsand notyougile.js - If the problem persists, check that your global MCP configuration is properly set up
- Restart your MCP client (Claude Desktop, KiloCode, etc.) after making configuration changes
Environment Variables
YOUGILE_API_KEY- Your Yougile API token (required)YOUGILE_API_HOST_URL(optional) - The host URL of the Yougile API Server. Defaults to https://yougile.com/api-v2/
Available Tools
Users
get_users- Get all users in the companyget_user- Get a specific user by IDcreate_user- Invite a user to the companyupdate_user- Update an existing userdelete_user- Remove a user from the company
Projects
get_projects- Get all projects for the current userget_project- Get a specific project by IDcreate_project- Create a new projectupdate_project- Update an existing project
Tasks
get_tasks- Get all tasks for a specific project or columnget_task- Get a specific task by IDcreate_task- Create a new taskupdate_task- Update an existing task
Boards
get_boards- Get all boards in the companyget_board- Get a specific board by IDcreate_board- Create a new boardupdate_board- Update an existing board
Columns
get_columns- Get all columns in a boardget_column- Get a specific column by IDcreate_column- Create a new columnupdate_column- Update an existing column
Task Chat/Comments
get_task_chat- Get chat messages/comments for a specific tasksend_task_message- Send a message/comment to a specific task's chatget_task_messages- Get messages/comments for a specific task (alternative method)
Usage
Claude Desktop
You can add Yougile to Claude Desktop by updating your MCP configuration file:
{
"mcpServers": {
"yougile-mcp": {
"command": "node",
"args": [
"path/to/yougile.js"
],
"env": {
"YOUGILE_API_KEY": "${env.YOUGILE_API_KEY}"
}
}
}
}
Command Line
To run the server directly:
npm run serve
Development
To build the TypeScript code:
npm run build
To run in development mode with auto-rebuild:
npm run dev
API Documentation
For more details about the Yougile API endpoints, see the OpenAPI specification at docs/open-api-v2.json.
License
This project is licensed under the MIT License.