
用于使用自然语言创建专业PDF发票的模型背景协议服务器.
概览
用于使用自然语言创建专业PDF发票的模型背景协议服务器. 将以下json添加到您的 Claude 桌面配置文件 - :~/图书馆/应用程序支持/Claude/claude desktop config.json 可以在开发者标签中的 Claude 桌面设置中访问此选项 。 确保重启 Claude Desktop 供 MCP 服务器在聊天工具中显示 。 通过使用下面的指令,你将被提示确认或添加任何缺失的细节. 如有需要,您可以确认和创建发票,无需提供所有客户详情。 一个标志是可选的——如果提供的话,它必须是JPG,PNG或WebP图像文件的一个. URL应该以文件扩展名(.jpg,.png)为结尾并直接链接到图像,而不是网页. 我建议使用一个没有贴有标志的图像.
概述(AI 翻译)
用于使用自然语言创建专业PDF发票的模型背景协议服务器.
∮开始∮
· 先决条件
- 节点v18+
-
安装
-
配置克洛德桌面
将以下json添加到您的 Claude 桌面配置文件 -
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
可以在开发者标签中的 Claude 桌面设置中访问此选项 。
** 实例路径 - **
确保重新启动 Claude 桌面供 MCP 服务器在聊天工具中显示 。
□ 使用量
QQ 提示示例
你可以简短一点…
或者详细
通过使用下面的指令,你将被提示确认或添加任何缺失的细节. 如有需要,您可以确认和创建发票,无需提供所有客户详情。
□ 德莫语
逻辑要求
一个标志是可选的——如果提供的话,它必须是JPG,PNG或WebP图像文件的直接URL. URL应该以文件扩展名([[T1],[T2])为结尾并直接链接到图像,而不是网页. ** SVG 文件不支持。 **
我建议使用一个没有贴有标志的图像,
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Invoice MCP
A Model Context Protocol server for creating professional PDF invoices using natural language.
Getting Started
Prerequisites
- Node v18 +
1. Installation
git clone https://github.com/markslorach/invoice-mcp.git
cd invoice-mcp/server
npm install
npm run build
2. Configuring Claude Desktop
Add the following json to your Claude Desktop config file -
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
This can be accessed in Claude Desktop settings in the Developer tab.
{
"mcpServers": {
"Invoice MCP Server": {
"command": "node",
"args": ["/path/to/your/invoice-mcp/server/build/index.js"]
}
}
}
Example path -
{
"mcpServers": {
"Invoice MCP Server": {
"command": "node",
"args": ["/Users/markslorach/Desktop/invoice-mcp/server/build/index.js"]
}
}
}
Make sure to restart Claude Desktop for the MCP server to show in chat tools.
Usage
Prompt Examples
You can be brief -
Create an invoice to Mike Smith for web development work
Or detailed -
Create an invoice to Mike Smith for:
- Logo design (5 hours @ £75/hour)
- Website updates (3 hours @ £60/hour)
- Due in 14 days
123 Business Street, London, SW1A 1AA
[email protected]
By using the instructions below, you’ll be prompted to confirm or add any missing details. You can then confirm and create the invoice without all customer details if needed.
Demo
Logo Requirements
A logo is optional - if provided, it must be a direct URL to a JPG, PNG or WebP image file. The URL should end with the file extension (.jpg, .png) and link directly to the image, not a webpage. SVG files are not supported.
I recommend using an image with no padding around the logo for best results.
✅ Good: https://example.com/logo.png ❌ Bad: https://example.com/logo-page or https://example.com/logo.svg
Prompt Instructions
For consistent invoice generation, I recommend filling in and adding these instructions to a Claude Desktop project. If using another platform without project support - you can paste these instructions at the start of your conversation before creating an invoice.
# Invoice MCP Project Instructions
## Pre-filled Business Information
### Logo
[Your logo URL here]
### Sender Details:
**Name:** [Your Business Name]
**Address:** [Your Business Address]
**Email:** [Your Business Email]
### Payment Information:
**Account Name:** [Your Account Name]
**Account Number:** [Your Account Number]
**Sort Code:** [Your Sort Code]
### Default Terms:
- Payment due within 30 days of invoice date
- **VAT Rate:** 0% (no VAT unless explicitly requested)
- **Currency:** GBP (supported currencies: GBP, USD, CAD, EUR)
### Default Notes:
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"Invoice MCP Server": {
"command": "node",
"args": ["/path/to/your/invoice-mcp/server/build/index.js"]
}
}
}