
Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
aws-samples/sample-aws-pricing-calculator-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/aws-samples/sample-aws-pricing-calculator-mcp.
Обзор
aws-samples/sample-aws-pricing-calculator-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/aws-samples/sample-aws-pricing-calculator-mcp.
Обзор (машинный перевод)
Сервер Model Context Protocol (MCP), который создаёт, читает и обновляет оценки калькулятора цен AWS на естественном языке.
Ключевые особенности
- Построить оценки с естественного языка — агент формирует оценку с помощью инструментов MCP; сервер сохраняет её в калькуляторе цен AWS и возвращает доступный URL.
- Учетные данные AWS не требуются — использует публичные, неаутентифицированные конечные точки calculator.aws CDN.
- Определения сервисов в реальном времени — получает манифест калькулятора цен AWS во время выполнения (~436 сервисов).
- Verified Configs Catalog — 21 запись на сервис, объявляющая наименьшую конфигурацию, которая даёт ценовую оценку, с задокументированными подводными завохами.
- Отказ от ворса перед сохранением — отказывается от оценок, которые калькулятор отдаст только для чтения или обязательный ввод, с практическими подсказками по восстановлению.
- Импорт существующих оценок — скачивание по URL или ID в формате JSON (для смены регионов, модификаций) или Markdown (для анализа LLM).
- Чтение рассчитанных затрат -
get_estimate_costповторно делится оценкой через калькулятор (Обновить оценку → Share), чтобы AWS сохранял вычисленные расходы, а затем считывал их обратно: сначала, ежемесячные и 12-месячные итоги, дату ценообразования и каждую стоимость за строку.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
AWS Pricing Calculator MCP Server
Model Context Protocol (MCP) server that creates, reads, and updates AWS Pricing Calculator estimates through natural language.
Key Features
- Build estimates from natural language - agent constructs the estimate via MCP tools; the server saves it to AWS Pricing Calculator and returns a shareable URL.
- No AWS credentials required - uses public, unauthenticated calculator.aws CDN endpoints.
- Live service definitions - fetches the AWS Pricing Calculator manifest at runtime (~436 services).
- Verified Configs Catalog - 21 per-service entries declaring the smallest config that produces a priced estimate, with documented gotchas.
- Lint refusal before save - refuses estimates the calculator would render read-only or required-input, with actionable recovery hints.
- Import existing estimates - download by URL or ID as JSON (for region swaps, modifications) or Markdown (for LLM analysis).
- Read computed costs -
get_estimate_costre-shares an estimate through the calculator (Update estimate → Share) so AWS persists the computed costs, then reads them back: upfront, monthly, and 12-month totals, the pricing date, and every per-line cost. Uses an on-demand Playwright/Chromium dependency only needed for this tool. - Two transport modes - stdio (default, for local clients like Claude Desktop, Kiro, Cursor) and optional HTTP (
MCP_TRANSPORT=http) for hosted deployments.
Example
Prompt:
Create an AWS Pricing Calculator estimate for a common Wordpress environment on AWS (Dev, Quality, Production).
Output:
Quick Start
Requires Node.js®.
Via npx (recommended)
The published package on npm runs without cloning:
{
"mcpServers": {
"aws-pricing-calculator-mcp-server": {
"command": "npx",
"args": ["-y", "sample-aws-pricing-calculator-mcp@latest"]
}
}
}
Установка
npx -y sample-aws-pricing-calculator-mcp@latestКонфигурация
{
"mcpServers": {
"aws-pricing-calculator-mcp-server": {
"command": "npx",
"args": ["-y", "sample-aws-pricing-calculator-mcp@latest"]
}
}
}