AWS成本和用量报告服务MCP服务器
中级
这是一个DevOps, AI RAG领域的自动化工作流,包含 11 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 面向AI代理的AWS成本与用量报告管理
前置要求
- •可能需要目标 API 的认证凭证
使用的节点 (11)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "PC34zn93Tjcxxnnk",
"meta": null,
"name": "AWS 成本和用量报告服务 MCP 服务器",
"tags": [],
"nodes": [
{
"id": "86a5f931-a4e4-4cf6-84b6-280671e6dbfb",
"name": "设置说明",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1380,
-240
],
"parameters": {
"color": 4,
"height": 1060,
"content": "### ⚙️ 设置说明"
},
"typeVersion": 1
},
{
"id": "9324c2d7-d72a-4dc2-99ca-f8c8c79e69e9",
"name": "工作流概览",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1120,
-100
],
"parameters": {
"width": 320,
"height": 920,
"content": "## 🛠️ AWS 成本和用量报告服务 MCP 服务器 ✅ 4 个操作"
},
"typeVersion": 1
},
{
"id": "6da3d323-bc86-4e2b-aa87-b623fbd3c71a",
"name": "AWS 成本和用量报告服务 MCP 服务器",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
-940,
-240
],
"webhookId": "ae940a41-a1bf-4d76-8150-9258788ffce6",
"parameters": {
"path": "aws-cost-and-usage-report-service-mcp"
},
"typeVersion": 1
},
{
"id": "e26fd347-1ec3-4545-9e62-14911c1d193b",
"name": "删除指定的报告。",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-400,
-200
],
"parameters": {
"url": "=http://cur.{region}.amazonaws.com/#X-Amz-Target=AWSOrigamiServiceGatewayService.DeleteReportDefinition",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Deletes the specified report.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "4f320e5a-d034-40a2-900e-c2b0c9357d08",
"name": "网格注释 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-500,
-260
],
"parameters": {
"color": 7,
"height": 220,
"content": "### 删除报告定义"
},
"typeVersion": 1
},
{
"id": "41668414-f5bd-4886-9ae6-413626fde12c",
"name": "列出可供使用的 AWS 成本和用量报告",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-120,
-200
],
"parameters": {
"url": "=http://cur.{region}.amazonaws.com/#X-Amz-Target=AWSOrigamiServiceGatewayService.DescribeReportDefinitions",
"method": "POST",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "MaxResults",
"value": "={{ $fromAI('MaxResults', 'Pagination limit', 'string') }}"
},
{
"name": "NextToken",
"value": "={{ $fromAI('NextToken', 'Pagination token', 'string') }}"
}
]
},
"toolDescription": "Lists the AWS Cost and Usage reports available to this account.\n\nParameters:\n- Query parameters:\n • MaxResults (optional) - Pagination limit\n • NextToken (optional) - Pagination token\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "bda5d18e-0082-4221-a962-55450edff0cc",
"name": "网格注释 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-220,
-260
],
"parameters": {
"color": 7,
"height": 220,
"content": "### 描述报告定义"
},
"typeVersion": 1
},
{
"id": "446e80a2-fc90-43aa-8f55-484cdf9733a4",
"name": "允许您以编程方式更新报告 p",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
160,
-200
],
"parameters": {
"url": "=http://cur.{region}.amazonaws.com/#X-Amz-Target=AWSOrigamiServiceGatewayService.ModifyReportDefinition",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Allows you to programatically update your report preferences.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "165854b7-f680-49a5-8192-25d4c4d25d63",
"name": "网格注释 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
60,
-260
],
"parameters": {
"color": 7,
"height": 220,
"content": "### 修改报告定义"
},
"typeVersion": 1
},
{
"id": "47091cfc-9c64-43d7-abe4-d0e6bbd98a1f",
"name": "使用您提供的描述创建新报告",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
440,
-200
],
"parameters": {
"url": "=http://cur.{region}.amazonaws.com/#X-Amz-Target=AWSOrigamiServiceGatewayService.PutReportDefinition",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Creates a new report using the description that you provide.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "4e966520-2d39-442e-ad7e-bdc249d3b313",
"name": "网格注释 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
320,
-260
],
"parameters": {
"color": 7,
"width": 280,
"height": 220,
"content": "## 放置报告定义"
},
"typeVersion": 1
}
],
"active": false,
"shared": [
{
"role": "workflow:owner",
"project": {
"id": "G5fce9xGuBAsWBXe",
"icon": null,
"name": "David Ashby <david.ashby.lds@gmail.com>",
"type": "personal",
"createdAt": "2025-06-04T02:55:02.013Z",
"updatedAt": "2025-06-04T02:56:01.361Z",
"projectRelations": [
{
"role": "project:personalOwner",
"user": {
"id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
"role": "global:owner",
"email": "david.ashby.lds@gmail.com",
"disabled": false,
"lastName": "Ashby",
"settings": {
"npsSurvey": {
"responded": true,
"lastShownAt": 1749357655581
},
"userActivated": true,
"userActivatedAt": 1749075994495,
"easyAIWorkflowOnboarded": true,
"firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
},
"createdAt": "2025-06-04T02:55:01.745Z",
"firstName": "David",
"isPending": false,
"updatedAt": "2025-06-08T04:40:58.399Z",
"mfaEnabled": false,
"personalizationAnswers": {
"version": "v4",
"personalization_survey_n8n_version": "1.95.3",
"personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
}
},
"userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
"createdAt": "2025-06-04T02:55:02.013Z",
"projectId": "G5fce9xGuBAsWBXe",
"updatedAt": "2025-06-04T02:55:02.013Z"
}
]
},
"createdAt": "2025-07-01T05:03:00.792Z",
"projectId": "G5fce9xGuBAsWBXe",
"updatedAt": "2025-07-01T05:03:00.792Z",
"workflowId": "PC34zn93Tjcxxnnk"
}
],
"pinData": {},
"settings": {
"timezone": "America/New_York"
},
"createdAt": "2025-07-01T05:03:00.789Z",
"updatedAt": "2025-07-01T05:03:30.000Z",
"versionId": "d9d701ef-7c2d-457f-9edb-1038f00432c4",
"isArchived": false,
"staticData": null,
"connections": {
"Deletes the specified report.": {
"ai_tool": [
[
{
"node": "AWS Cost and Usage Report Service MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Allows you to programatically update your report p": {
"ai_tool": [
[
{
"node": "AWS Cost and Usage Report Service MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Creates a new report using the description that yo": {
"ai_tool": [
[
{
"node": "AWS Cost and Usage Report Service MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Lists the AWS Cost and Usage reports available to ": {
"ai_tool": [
[
{
"node": "AWS Cost and Usage Report Service MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
}
},
"triggerCount": 0
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 开发运维, AI RAG 检索增强
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Amazon CloudWatch应用洞察MCP服务器
为AI工具公开Amazon CloudWatch应用洞察API,包含27个操作
Http Request Tool
Mcp Trigger
57 节点David Ashby
开发运维
CarbonDoomsDay MCP服务器
通过CarbonDoomsDay API为AI代理访问CO2测量数据
Http Request Tool
Mcp Trigger
6 节点David Ashby
工程
大鼠基因组数据库REST API MCP服务器
通过REST API MCP服务器访问大鼠基因组数据库,含100+操作
Http Request Tool
Mcp Trigger
125 节点David Ashby
工程
api.clarify.io MCP服务器
使用Clarify API和AI代理集成的音视频数据搜索与分析
Http Request Tool
Mcp Trigger
27 节点David Ashby
工程
AWS CodeDeploy MCP服务器
使用AWS CodeDeploy自动化应用程序部署
Http Request Tool
Mcp Trigger
98 节点David Ashby
开发运维
广播与音乐服务 MCP 服务器
BBC 广播与音乐 API 集成中心,用于 AI 助手
Http Request Tool
Mcp Trigger
94 节点David Ashby
工程
工作流信息
难度等级
中级
节点数量11
分类2
节点类型3
作者
David Ashby
@cfomodzA hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord
外部链接
在 n8n.io 查看 →
分享此工作流