MCP 서버

pdf-text

co.kymac.pdf/pdf-text
지식 및 문서 사용 불가 MCP 2026-07-28

이 MCP로 할 수 있는 일

Extracts text from text-layer PDF files provided by URL, with caller key and prepaid credit management.

checkout_credits
Checkout credit pack — pdf text, pdf extract, document text
Stripe TEST PaymentIntent for a pack (POST /credits/checkout). Intent only — returns credits_pending; credits are not granted or spendable until confirm_credits succeeds. Requires a caller key.
입력 스키마
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['pack_id'], 'properties': {'pack_id': {'type': 'string', 'description': 'Pack id from list_credit_packs (e.g. pack_10).'}}}
confirm_credits
Confirm TEST credit purchase — pdf text, pdf extract, document text
Confirm a TEST PaymentIntent with Stripe test card pm_card_visa (POST /credits/confirm). This is when credits become granted/spendable (appends credit.purchase with credits_added). TEST only.
입력 스키마
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['stripe_payment_intent_id'], 'properties': {'stripe_payment_intent_id': {'type': 'string', 'description': 'PaymentIntent id (pi_â\x80¦) from checkout_credits.'}}}
credit_balance
Credit balance — pdf text, pdf extract, document text
Derived prepaid balance for this caller_id (GET /credits/balance).
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}}
credit_events
Credit ledger events — pdf text, pdf extract, document text
Append-only Ledger events for this caller_id (GET /credits/events): credit.grant (first_key), credit.purchase, credit.debit (pdf_success), optional credit.balance_snapshot.
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}}
health
Health — pdf text, pdf extract, document text
Public readiness (GET /health): billing (test|gated) and runner_ready. No key.
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}}
issue_key
Issue caller key — pdf text, pdf extract, document text
Mint a caller key (POST /keys). Bot install starts at GET https://pdf.kymac.co/llms.txt (sole advertised entry). Secret ssm_… is returned once. Prefer Authorization: Bearer; X-API-Key is an alias. First issue grants 1 free credit (credit.grant reason=first_key). Quote cost with quote_credits before pdf_extract.
입력 스키마
{'type': 'object', 'properties': {}}
list_credit_packs
List credit packs — pdf text, pdf extract, document text
Prepaid TEST packs (GET /credits/packs). checkout_credits is intent only; credits grant after confirm_credits.
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}}
pdf_extract
Extract pdf text / pdf extract (document text) — pdf text, pdf extract, document text
Text-layer PDF extract (POST /pdf). Install via GET https://pdf.kymac.co/llms.txt only. Prefer Authorization: Bearer; X-API-Key is an alias. Golden URL https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf — compare ok true/false JSON in llms.txt. First key includes 1 free credit. Quote first with quote_credits (no debit). Debits 1 credit on ok:true (credit.debit reason=pdf_success). 200 bodies include credits_burned and credits_remaining. HTTP fails use code/message/retryable/next (error aliases message). 401 next=refresh key. 402: code=insufficient_credits, retryable=false, next=buy credits. Retryable fails use next=retry. No OCR.
읽기 전용
입력 스키마
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'Absolute http(s) URL of a text-layer PDF. Golden proof URL: https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf'}}}
quote_credits
Quote credit cost — pdf text, pdf extract, document text
Dry-run cost for an op without debit (GET /credits/quote?op=pdf). Returns cost, balance, and would_succeed.
읽기 전용
입력 스키마
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'op': {'type': 'string', 'description': 'Operation to quote. Defaults to pdf.'}}}
revoke_key
Revoke caller key — pdf text, pdf extract, document text
Invalidate the presented secret (POST /keys/revoke). Same id is revoked; old secret then fails 401 invalid_api_key. Prefer Authorization: Bearer; X-API-Key is an alias only. No ops file-edit.
파괴적 작업
입력 스키마
{'type': 'object', 'properties': {}}
rotate_key
Rotate caller key — pdf text, pdf extract, document text
Replace the presented secret (POST /keys/rotate). Same id/caller_id and credits. New ssm_… is returned once. Old secret then fails 401 invalid_api_key. Prefer Authorization: Bearer; X-API-Key is an alias only. No ops file-edit.
입력 스키마
{'type': 'object', 'properties': {}}
verify_key
Verify caller key — pdf text, pdf extract, document text
Confirm PDF_TEXT_API_KEY or Authorization: Bearer (GET /keys/verify). X-API-Key is an alias only. Does not echo the secret.
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}}
추가됨
health
2026년 9월 19일 2:40 AM
추가됨
pdf_extract
2026년 9월 19일 2:40 AM
추가됨
credit_events
2026년 9월 19일 2:40 AM
추가됨
credit_balance
2026년 9월 19일 2:40 AM
추가됨
quote_credits
2026년 9월 19일 2:40 AM
추가됨
confirm_credits
2026년 9월 19일 2:40 AM
추가됨
checkout_credits
2026년 9월 19일 2:40 AM
추가됨
list_credit_packs
2026년 9월 19일 2:40 AM
추가됨
revoke_key
2026년 9월 19일 2:40 AM
추가됨
rotate_key
2026년 9월 19일 2:40 AM
추가됨
verify_key
2026년 9월 19일 2:40 AM
추가됨
issue_key
2026년 9월 19일 2:40 AM