Send To Kindle Server
БесплатноНе проверенA Model Context Protocol (MCP) server that allows Claude Desktop to send documents directly to your Kindle e-reader.
Описание
A Model Context Protocol (MCP) server that allows Claude Desktop to send documents directly to your Kindle e-reader.
README
A Model Context Protocol (MCP) server that allows Claude Desktop to send documents directly to your Kindle e-reader. Convert text or markdown content into beautifully formatted EPUB files and deliver them instantly to your Kindle library.
Features
- 📚 Convert text and markdown to EPUB format
- 📧 Send documents directly to Kindle via email
- 📖 Automatic chapter creation from markdown headings (H1, H2, etc.)
- 🎨 Properly formatted with CSS styling for optimal reading
- ⚡ Fast and easy integration with Claude Desktop
- 🔒 Secure email configuration with environment variables
- 👤 Customizable author name via environment variable
Prerequisites
- Python 3.10 or higher
- A Kindle e-reader or Kindle app
- An email account with SMTP access (Gmail recommended)
- Your Kindle email address (found in Amazon account settings)
Installation
1. Clone or download this repository
cd ~/path/to/your/projects
git clone <repository-url> send-to-kindle-mcp
cd send-to-kindle-mcp
2. Create a virtual environment and install dependencies
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .
3. Configure your credentials
Option A: Create a .env file (for local testing)
Copy the example environment file and fill in your details:
cp .env.example .env
Edit .env with your information:
# For Gmail users:
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
[email protected]
SMTP_PASSWORD=your-app-password # See note below
# Your Kindle email address
[email protected]
# Sender email (usually same as SMTP_USER)
[email protected]
# Author name (optional - defaults to "Claude" if not set)
AUTHOR_NAME=Your Name
Note: The .env file is useful for local testing (e.g., using test_smtp.py), but Claude Desktop does NOT automatically load .env files. You must also set these values in the Claude Desktop config file (see step 4).
Important Notes:
- Gmail Users: You must use an App Password, not your regular Gmail password
- Kindle Email: Find this in your Amazon account under "Manage Your Content and Devices" → "Preferences" → "Personal Document Settings"
- Approved Senders: Make sure to add your sending email address to your Kindle's approved email list in Amazon settings
4. Configure Claude Desktop
Add the server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"send-to-kindle": {
"command": "/path/to/send-to-kindle-mcp/venv/bin/python",
"args": ["/path/to/send-to-kindle-mcp/server.py"],
"env": {
"SMTP_HOST": "smtp.gmail.com",
"SMTP_PORT": "587",
"SMTP_USER": "[email protected]",
"SMTP_PASSWORD": "your-app-password",
"KINDLE_EMAIL": "[email protected]",
"FROM_EMAIL": "[email protected]",
"AUTHOR_NAME": "Your Name"
}
}
}
}
Replace the following:
/path/to/send-to-kindle-mcpwith the actual path to this directory- All placeholder values in the
envsection with your actual credentials
Note: If you created a .env file in step 3, you can copy those same values into the env section above. The values must be set here for Claude Desktop to use them.
5. Restart Claude Desktop
Quit and restart Claude Desktop for the changes to take effect.
Usage
Once configured, you can ask Claude to send documents to your Kindle:
"Please send this research paper to my Kindle"
"Create a summary of this conversation and send it to my Kindle as 'Meeting Notes'"
"Convert this markdown document to EPUB and send to Kindle"
Claude will use the send_to_kindle tool to:
- Ask you for a title and author (if not provided)
- Convert your content to a properly formatted EPUB with chapter navigation
- Email it to your Kindle address
- Confirm successful delivery
Chapter Navigation: The tool automatically detects markdown headings (H1, H2, etc.) and creates separate chapters for each major section. This makes it easy to navigate longer documents on your Kindle using the table of contents.
The document will appear in your Kindle library within a few minutes.
Troubleshooting
Viewing Error Logs
The server logs detailed information to help debug issues. To view logs in Claude Desktop:
macOS:
- Open Console.app (Applications → Utilities → Console)
- Filter by "Claude" or search for "send-to-kindle"
- Look for log messages with timestamps
Windows:
- Check the Claude Desktop logs in
%APPDATA%\Claude\logs\ - Or view logs in the Windows Event Viewer
The logs will show:
- Connection attempts to SMTP servers
- Authentication steps and errors
- Detailed error messages with troubleshooting hints
- Configuration validation issues
Email not sending
- Most common issue: Environment variables not set in Claude Desktop config file. Remember:
.envfiles are NOT automatically loaded by Claude Desktop. You must set all variables in theclaude_desktop_config.jsonfile. - Verify your SMTP credentials are correct in the Claude Desktop config file
- For Gmail, ensure you're using an App Password, not your regular password
- Test your connection using
python test_smtp.pyto verify credentials work - Check the logs (see above) for specific error messages
- Restart Claude Desktop after making config changes
Document not appearing on Kindle
- Verify your Kindle email address is correct
- Check your Amazon approved email list includes your sending address
- Look in your Amazon "Personal Documents" section to see if it was received
- Check your spam folder
Import errors
# Make sure you're in the virtual environment
source venv/bin/activate
# Reinstall dependencies
pip install -e .
Development
Testing SMTP Connection
Test your SMTP configuration independently of Claude Desktop:
source venv/bin/activate
python test_smtp.py
This will verify your credentials and connection work correctly before using with Claude Desktop.
Running the Server Standalone
To run the server standalone for testing:
source venv/bin/activate
python server.py
Security Notes
- Never commit your
.envfile or expose your credentials - Use App Passwords for email services that support them
- Keep your Kindle approved sender list limited to trusted addresses
License
MIT License - feel free to modify and distribute as needed.
Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.
Установка Send To Kindle Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/wahiggins3/send-to-kindle-mcpFAQ
Send To Kindle Server MCP бесплатный?
Да, Send To Kindle Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Send To Kindle Server?
Нет, Send To Kindle Server работает без API-ключей и переменных окружения.
Send To Kindle Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Send To Kindle Server в Claude Desktop, Claude Code или Cursor?
Открой Send To Kindle Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Send To Kindle Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
