Provides a Node.js-based MCP server implementation for AI Note integration, supporting task management with categories, search, priority management, and due date features.
Allows installation and distribution of the AI Note MCP server package through npm registry, making it easily accessible for Claude Desktop users.
AI Note MCP Server
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.
Table of Contents
- Features
- Prerequisites
- Installation
- Configuration
- Usage
- Available Tools
- API Reference
- Development
- Troubleshooting
- Contributing
- License
Features
- 📝 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
Prerequisites
- Node.js >= 16.0.0
- npm or yarn
- AI Note API access (API key required)
- Claude Desktop with MCP support enabled
Installation
Option 1: Install from npm
Option 2: Install from source
Configuration
To connect the MCP server with Claude Desktop, follow these steps.
Step 1: Get your AI Note API Key
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.
Step 2: Configure Claude Desktop
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.
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.
Step 3: Restart Claude Desktop
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.
Usage
Once configured, you can interact with your AI Note tasks through Claude:
Example Conversations
Available Tools
list_tasks
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_task
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_task
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
delete_task
Soft delete a task.
Parameters:
id
(required): Task ID to delete
list_categories
List all available categories.
Parameters: None
API Reference
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.
Development
Running Locally
Testing with Claude Desktop
- 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
Project Structure
Troubleshooting
Common Issues
- "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
Debug Mode
To enable debug logging:
Contributing
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
Development Guidelines
- Follow the existing code style
- Add tests for new features
- Update documentation as needed
- Ensure all tests pass before submitting PR
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
- 📧 Email: support@ainote.dev
- 🐛 Issues: GitHub Issues
- 💬 Discord: Join our community
Acknowledgments
- Built with Model Context Protocol SDK
- Powered by AI Note
- Made for Claude Desktop
This server cannot be installed
A Model Context Protocol server that connects Claude Desktop to AI Note task management, enabling task creation, updates and management through natural language conversations.
Related MCP Servers
- AsecurityAlicenseAqualityModel Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.Last updated -101,147167JavaScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.Last updated -12111JavaScript
- AsecurityAlicenseAqualityA Model Context Protocol server that allows Claude Desktop to manage and execute tasks in a queue-based system, supporting planning, execution, and completion phases.Last updated -101,1475TypeScriptMIT License
302AI BrowserUse MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that enables Claude Desktop to browse the web, likely allowing the AI to access and interact with web content.Last updated -2135JavaScriptMIT License