This is a Model Context Protocol (MCP) server implementation that interacts with the Blues Notehub API using the official notehub_py
SDK. It allows large language models to interface with your Blues Notehub projects, devices, and data.
Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. It standardizes how LLMs interact with external tools and services.
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -r requirements.txt
Start the server with:
python notehub.py
The MCP server will run using stdio as the transport layer, which is the standard transport for most MCP clients.
This server uses X-Session-Token authentication with the Notehub API. You will need to provide your Notehub username (email) and password when using the tools. The server will automatically:
/auth/login
endpointFor macOS:
mkdir -p ~/Library/Application\ Support/Claude/
Edit or create ~/Library/Application Support/Claude/claude_desktop_config.json
:
{
"mcpServers": {
"notehub": {
"command": "python",
"args": [
"--directory",
"/path/to/your/mcp-server",
"run",
"notehub.py"
],
"availableTo": ["claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240307", "claude-3-haiku-20240307"]
}
}
}
For Windows, the config file is located at:
%APPDATA%\Claude\claude_desktop_config.json
If you're building a custom MCP client, you'll need to:
This MCP server exposes the following tools:
get-projects
- Get all accessible Notehub projectsget-project-devices
- Get all devices for a specific project (with optional filtering)get-project-events
- Get all events for a specific project (with optional filtering)send-note
- Send a note to a specific deviceWhen using with Claude for Desktop, you can ask questions like:
If you encounter issues:
Check the logs for any error messages:
~/Library/Logs/Claude/mcp-server-notehub.log
%APPDATA%\Claude\Logs\mcp-server-notehub.log
Verify your Notehub credentials are correct.
If you signed up with GitHub, make sure you've set a password in your Notehub account settings.
Make sure the server is running with the correct Python version.
Ensure both mcp
and notehub_py
packages are properly installed.
To add more capabilities to this server:
@mcp.tool()
decoratorMIT
{
"mcpServers": {
"notehub": {
"env": {},
"args": [
"--directory",
"/path/to/your/mcp-server",
"run",
"notehub.py"
],
"command": "python"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.