A Model Context Protocol (MCP) server that connects Claude Desktop to your AI Note task management system. This server allows Claude to directly interact with your AI Note tasks, enabling task creation, updates, and management through natural language conversations.
- Features
- Prerequisites
- Installation
- Configuration
- Usage
- Available Tools
- API Reference
- Development
- Troubleshooting
- Contributing
- License
- π Task Management: Create, update, delete, and list tasks directly from Claude Desktop
- π·οΈ Category Support: Organize tasks with categories
- π Advanced Search: Search tasks by content, status, and more
- β Priority Management: Mark tasks as important
- π Due Date Support: Set and manage task due dates
- π Secure API Integration: Uses API key authentication for secure access
- Node.js >= 16.0.0
- npm or yarn
- AI Note API access (API key required)
- Claude Desktop with MCP support enabled
npm install -g @ainote/mcp
git clone https://github.com/ainote-dev/ainote-mcp.git
cd ainote-mcp-server
npm install
To update to the latest version when installed via npm:
npm update -g @ainote/mcp
Or to install a specific version:
npm install -g @ainote/mcp@1.0.2
If you installed from source:
cd ainote-mcp-server
git pull origin main
npm install
After updating, restart Claude Desktop to load the new version.
To connect the MCP server with Claude Desktop, follow these steps.
You need an API key from your AI Note account to allow Claude to access your tasks. You can find or generate your API key in the AI Note app's settings screen.
Add the ainote-mcp
server to your Claude Desktop configuration file. This file is located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Open the file and add the following JSON block inside the mcpServers
object. Replace your-api-key-here
with your actual AI Note API key.
{
"mcpServers": {
"ainote": {
"command": "ainote-mcp",
"env": {
"AINOTE_API_KEY": "your-api-key-here"
}
}
}
}
Note: If you need to connect to a self-hosted or different AI Note server, you can add the AINOTE_API_URL
environment variable as well.
"env": {
"AINOTE_API_KEY": "your-api-key-here",
"AINOTE_API_URL": "https://your-custom-api-url.com"
}
After saving the configuration file, restart Claude Desktop completely. The new MCP server will be loaded, and you can start managing your AI Note tasks through Claude.
Once configured, you can interact with your AI Note tasks through Claude:
You: "Show me my pending tasks"
Claude: I'll retrieve your pending tasks from AI Note...
You: "Create a new task to review the quarterly report by Friday"
Claude: I'll create that task for you with a due date set for Friday...
You: "Mark task ID 123 as completed"
Claude: I'll mark that task as completed...
List tasks from AI Note with filtering options.
Parameters:
status
(optional): Filter by status - "pending" or "completed"limit
(optional): Maximum number of tasks (default: 25, max: 500)search
(optional): Search keyword in task content
Create a new task in AI Note.
Parameters:
content
(required): Task descriptionis_important
(optional): Mark as important (boolean)due_date
(optional): Due date in ISO formatcategory_id
(optional): Category ID to assign
Update an existing task.
Parameters:
id
(required): Task IDcontent
(optional): New task contentis_important
(optional): Update important statuscompleted_at
(optional): Mark as completed (ISO format) or null to uncomplete
Soft delete a task.
Parameters:
id
(required): Task ID to delete
List all available categories.
Parameters: None
The MCP server communicates with the AI Note API using the following endpoints:
GET /api/mcp/tasks
- List tasksPOST /api/mcp/tasks
- Create taskPUT /api/mcp/tasks/:id
- Update taskDELETE /api/mcp/tasks/:id
- Delete taskGET /api/mcp/categories
- List categories
All requests require authentication via the Authorization
header with your API key.
# Clone the repository
git clone https://github.com/ainote-dev/ainote-mcp.git
cd ainote-mcp-server
# Install dependencies
npm install
# Run the server
npm start
- Update your Claude Desktop config to point to your local development server
- Set environment variables for testing
- Restart Claude Desktop
- Check the MCP connection status in Claude Desktop settings
ainote-mcp-server/
βββ index.js # Main server implementation
βββ package.json # Package configuration
βββ README.md # English documentation
βββ README-ko.md # Korean documentation
βββ LICENSE # MIT license
-
"API key not found" error
- Ensure
AINOTE_API_KEY
is set in your environment or Claude config - Check that the API key is valid and has proper permissions
- Ensure
-
"Connection refused" error
- Verify the API URL is correct
- Check network connectivity
- Ensure the AI Note API server is running
-
"Tool not found" error
- Restart Claude Desktop after configuration changes
- Verify the MCP server is properly configured in Claude Desktop
-
Tasks not appearing
- Check API key permissions
- Verify you're querying the correct status (pending/completed)
- Try using the search parameter
To enable debug logging:
export DEBUG=mcp:*
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Follow the existing code style
- Add tests for new features
- Update documentation as needed
- Ensure all tests pass before submitting PR
This project is licensed under the MIT License - see the LICENSE file for details.
- π§ Email: support@ainote.dev
- π Issues: GitHub Issues
- π¬ Discord: Join our community
- Built with Model Context Protocol SDK
- Powered by AI Note
- Made for Claude Desktop