MCP 서버

image-ocr

co.kymac.ocr/image-ocr
미디어 및 콘텐츠 사용 불가 MCP 2026-07-28

이 MCP로 할 수 있는 일

Extracts plain text from images provided by URL using OCR, with caller key and prepaid credit management.

checkout_credits
Checkout credit pack — image ocr, ocr text, vision 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 — image ocr, ocr text, vision 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 — image ocr, ocr text, vision text
Derived prepaid balance for this caller_id (GET /credits/balance).
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}}
credit_events
Credit ledger events — image ocr, ocr text, vision text
Append-only Ledger events for this caller_id (GET /credits/events): credit.grant (first_key), credit.purchase, credit.debit, optional credit.balance_snapshot.
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}}
health
Health — image ocr, ocr text, vision text
Public readiness (GET /health): billing (test|gated) and runner_ready. No key.
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}}
issue_key
Issue caller key — image ocr, ocr text, vision text
Mint a caller key (POST /keys). Bot install starts at GET https://ocr.kymac.co/llms.txt (sole advertised entry). Secret ocr_… 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 ocr_extract.
입력 스키마
{'type': 'object', 'properties': {}}
list_credit_packs
List credit packs — image ocr, ocr text, vision text
Prepaid TEST packs (GET /credits/packs). checkout_credits is intent only; credits grant after confirm_credits.
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}}
ocr_extract
OCR image URL to plain text — image ocr, ocr text, vision text
Image OCR (POST /ocr). Install via GET https://ocr.kymac.co/llms.txt only. Prefer Authorization: Bearer; X-API-Key is an alias. Golden URL https://placehold.co/600x160/000000/FFFFFF/png?text=HELLO+OCR — compare ok true 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=ocr_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.
읽기 전용
입력 스키마
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'Absolute http(s) image URL to OCR. Golden proof URL: https://placehold.co/600x160/000000/FFFFFF/png?text=HELLO+OCR'}}}
quote_credits
Quote credit cost — image ocr, ocr text, vision text
Dry-run cost for an op without debit (GET /credits/quote?op=ocr). 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 ocr.'}}}
revoke_key
Revoke caller key — image ocr, ocr text, vision 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 — image ocr, ocr text, vision text
Replace the presented secret (POST /keys/rotate). Same id/caller_id and credits. New ocr_… 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 — image ocr, ocr text, vision text
Confirm IMAGE_OCR_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
추가됨
ocr_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