Duly MCP server
2026년 10월 22일 커밋가계 서류를 마감일, 보증 상태, 청구서나 서신에 대한 답장 초안 등 실행 가능한 답변으로 변환합니다.
다른 이름 devcaos/duly
- 스타
- 0
- Tools
- 8
- 다운로드, 30일
- —
- 최신 버전
- —
- 마지막 커밋
- 2026년 10월 22일
- 라이선스
- MIT
Duly MCP란?
가계 서류를 마감일, 보증 상태, 청구서나 서신에 대한 답장 초안 등 실행 가능한 답변으로 변환합니다. 8개 도구를 제공합니다. 예: add_document, list_deadlines, explain_document.
프로젝트 README에서 생성된 요약
Duly MCP server 정보
청구서, 서신, 보증서를 실행 가능한 데이터로 변환하여 가계 서류 관리를 자동화합니다. 이 원격 MCP server를 사용하면 사용자는 마감일을 추출하고, 약관을 설명하며, 서비스 제공업체에 보낼 답장 초안을 작성할 수 있습니다. 커스텀 커넥터나 Alexa+ 인터페이스를 통해 Claude와 같은 AI 클라이언트와 함께 사용할 수 있도록 설계되었으며, 음성 상호작용에 적합한 짧은 구어체 답변을 제공합니다.
이 시스템은 문서 추출 및 추론을 위해 Amazon Bedrock을 사용하며, 음성 합성을 위해 Amazon Polly를 활용합니다. 데이터 관리는 Amazon DynamoDB와 S3를 사용하지만, 로컬 테스트를 위해 인메모리 저장소로 실행할 수도 있습니다. 사용자는 list_deadlines를 사용하여 다가오는 결제일을 추적하거나, check_warranty로 제품 보증 범위를 확인하거나, compare_bills로 사용량 추세 및 가격 변동을 분석하는 등의 특정 도구를 사용할 수 있습니다.
개발자는 streamable HTTP 전송 방식을 사용하여 이 server를 워크플로우에 통합할 수 있습니다. 이 server에는 사진이나 3 MB 이하의 PDF를 처리하는 add_document 및 긴급한 작업을 요약하는 weekly_brief와 같은 특화된 도구가 포함되어 있습니다. 프로덕션 환경에서는 공유 데모 가계 데이터를 사용하지만, 로컬 설정을 통해 전체 문서 관리 및 데이터 유지가 가능합니다.
활용 사례
- 1다가오는 가계 결제 관리다음 달 내에 지불해야 하는 모든 재정적 의무를 AI에게 확인합니다.
- 2제품 보증 상태 확인특정 가전제품이 제조사 보증 범위에 여전히 포함되는지 확인합니다.
- 3공공요금 변동 분석최근 에너지 요금이 일반적인 평균보다 높은지 판단합니다.
- 4공식 서신 초안 작성청구서 결제 기한 연장을 요청하는 정중한 이메일을 생성합니다.
- 5복잡한 문서 이해법적 통지서의 내용과 이를 무시했을 때의 결과에 대해 쉬운 언어로 설명을 듣습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Duly MCP 도구 8
README에서 감지됨add_documentlist_deadlinesexplain_documentcheck_warrantydraft_replysearch_documentscompare_billsweekly_brief
| add_document | — | |
| list_deadlines | — | |
| explain_document | — | |
| check_warranty | — | |
| draft_reply | — | |
| search_documents | — | |
| compare_bills | — | |
| weekly_brief | — |
구성
MOCK_POLLY
| 이름 | 설명 | 유형 |
|---|---|---|
| MOCK_POLLY | — |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능devcaos/duly is public and reachablegithub.com/devcaos/duly ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-10-22github.com/devcaos/duly ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음8 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨No tool named like delete, drop or exec통과
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기Duly
Paperwork, duly handled.

Built for the Alexa+ track of the Amazon Developer Hackathon "Build, Ship, Shape" (plus the AWS Builder and Open Source mini challenges; the latter via mcp-bedrock-bridge).
Duly is a remote MCP server that turns Alexa+ into a household paperwork manager. Give it a bill, a letter or a warranty and it remembers every deadline, explains the fine print in plain language and drafts replies, with short answers meant to be spoken. It runs on AWS (Amazon Bedrock, DynamoDB, S3 and Polly) and ships with fictional sample documents only.
Try it
| MCP endpoint (Streamable HTTP, no sign-in) | https://duly-home.vercel.app/api/mcp |
| Web demo (Echo Show-style web demo that runs in any browser) | https://duly-home.vercel.app |
The web demo simulates how Alexa+ would use Duly; it does not run on a real Echo Show device. Press the mic or type a question, or tap a suggestion chip. Voice input needs Chrome or Edge: Brave blocks the browser's speech service, and on Edge the Windows setting Online speech recognition (Settings > Privacy & security > Speech) must be on.
Add Duly to Claude as a custom connector
- In Claude, go to Customize > Connectors, click + Add, then Add custom connector.
- Name it
Duly, pastehttps://duly-home.vercel.app/api/mcpand click Continue. - Under Authentication, choose No sign in, then click Add.
- In a chat, click + at the lower left, open Connectors and turn on Duly.
Then ask: "What do I need to pay this month?", "Is my dishwasher still under warranty?", "Is my Brightwave bill higher than usual?" or "Write a polite email to Brightwave Energy asking for a two-week payment extension."
MCP Inspector
- Run
npx @modelcontextprotocol/inspector(it opens in your browser). - Set Transport Type to
Streamable HTTPand URL tohttps://duly-home.vercel.app/api/mcp. - Click Connect, open Tools, click List Tools and run any tool, for example
list_deadlineswith no arguments orcheck_warrantywithproduct: "dishwasher".
The production server holds one shared demo household. To call every tool from a terminal (including add_document, which saves a new document), use a local server instead: see Check that it works.
Architecture
flowchart LR
alexa["Alexa+"] --> mcp
claude["Claude (custom connector)"] --> mcp
inspector["MCP Inspector"] --> mcp
subgraph vercel["Next.js app on Vercel"]
web["Web demo (/)"] --> chat["/api/chat agent"]
web --> speak["/api/speak"]
chat --> client["MCP client"]
client --> mcp["/api/mcp (Streamable HTTP, MCP 2025-11-25)"]
mcp --> tools["8 tools"]
tools --> storage["Storage adapter (aws or memory)"]
tools --> llm["LLM adapter"]
end
chat --> bedrock["Amazon Bedrock (Nova 2 Lite)"]
llm --> bedrock
llm -. "fallback" .-> gemini["Google Gemini"]
storage --> dynamo["Amazon DynamoDB"]
storage --> s3["Amazon S3"]
speak --> polly["Amazon Polly"]
- MCP server (
app/api/mcp/route.ts):mcp-handler+ the official MCP TypeScript SDK, stateless Streamable HTTP. Every tool returns a short spoken sentence plusstructuredContentwith the full data for screens. Requests are rate-limited per IP. - Protocol versions: the server speaks both. Clients that start with the
initializehandshake (MCP Inspector,npm run tools) negotiate 2025-11-25, the SDK's latest handshake version. The web demo's own client uses the SDK'sversionNegotiation: { mode: "auto" }(lib/agent/mcpClient.ts), which speaks 2026-07-28 (server/discoverinstead ofinitialize). That is whyFRICTION.mdmentions both: thesubscriptions/listenentry is about 2026-07-28 clients. - Storage adapter (
lib/storage/):STORAGE=aws(DynamoDB + S3) orSTORAGE=memory(in-process). Both adapters store only uploaded documents and add the sample documents on every read (lib/storage/merge.ts). - LLM adapter (
lib/llm/):LLM_PROVIDER=bedrockorgemini, with an optionalLLM_FALLBACK. - Web demo:
app/api/chat/route.tsruns a Bedrock Converse agent (lib/agent/agent.ts) that is an MCP client of Duly's own/api/mcp(lib/agent/mcpClient.ts): it lists the tools over MCP, lets the model pick one and calls it over MCP, the same way Alexa+ would.
Tools
| Tool | What it does | Example question | LLM |
|---|---|---|---|
add_document |
Saves a bill, letter, warranty... from text or a photo/PDF (base64, max 3 MB) and extracts type, issuer, amounts, deadlines and action items. | "Save this letter." | yes |
list_deadlines |
Upcoming deadlines sorted by date, with amounts and days left (default: next 30 days). payable: true returns everything with an amount to pay; query answers about one item and says so if it isn't on file. |
"What do I need to pay this month?", "When does the car insurance renew?" | no |
explain_document |
Plain-language explanation, what happens if it's ignored and the recommended next step. Finds the document itself from keywords or the sender. | "What happens if I ignore the parking notice?" | yes |
check_warranty |
One product's warranty (end date, days left, how to claim), or every warranty with its status: active, expiring soon or expired. | "Is my dishwasher still under warranty?" | no |
draft_reply |
Short letter or email replying to a document, using its real numbers and dates (tone polite or firm). |
"Ask Brightwave Energy for a payment extension." | yes |
search_documents |
Finds stored documents by keywords (id, title, issuer, type). | "Find my car insurance documents." | no |
compare_bills |
Latest bill from a company vs the previous one and vs the usual (average) amount, with percentages. When the bills store usage in the same unit (kWh, gallons), it also tells "you used more" apart from "the price per unit went up". Only states the numbers, never a reason. | "Is my electricity bill higher than usual?" | no |
weekly_brief |
The next 7 days (or days), most urgent first: deadlines with amounts, renewals you can still cancel, warranties ending within 60 days and bills at least 15% above usual. |
"Give me my weekly brief." | no |
When a company has several bills, search, explanations and drafts always use the latest one. Duly explains documents; it does not give legal or financial advice.
Sample data
14 fictional documents (marked SAMPLE): an electricity bill, a car insurance renewal, a dishwasher receipt with warranty, a parking notice, a gym auto-renewal and a school field-trip form, plus four more warranties (a TV, a fridge that is about to run out, an expired washing machine and a laptop) and two earlier electricity and water bills each, so bills can be compared (the electricity bills also store their kWh usage). All dates are relative to today: the sample documents are never stored, the server rebuilds them from the date of each request (UTC) with both STORAGE=memory and STORAGE=aws, so their deadlines are always upcoming however long the deployment runs. A stored document with the same id as a sample document is ignored. The earlier bills are already paid and never show up as deadlines.
The PNG/PDF files in samples/ are different: the dates printed on them are fixed on the day they were generated, while the server's sample documents move with today's date. So if you upload a sample file whose printed due date has already passed, the saved document will not show an upcoming deadline. To get files whose dates match a given day, regenerate them with npm run samples (set SAMPLES_TODAY=YYYY-MM-DD for a fixed base date).
More
skills/duly/SKILL.md: Agent Skill that tells any agent when and how to use the Duly tools.FRICTION.md: friction log of the problems we hit with AWS and MCP tools.samples/README.md: the sample documents (PNG/PDF) and the expected extraction for each one.npm run samplesregenerates them with dates relative to today; setSAMPLES_TODAY=YYYY-MM-DDto use a fixed base date instead (e.g. the demo day, so the dates on paper match the seed that day).
Built with AWS
Duly runs on AWS when STORAGE=aws and LLM_PROVIDER=bedrock (region eu-west-1).
| AWS service | What it does in Duly | Files |
|---|---|---|
Amazon Bedrock (Converse API, Amazon Nova 2 Lite via the EU cross-region inference profile eu.amazon.nova-2-lite-v1:0) |
Reads photos (PNG/JPEG) and PDFs of household paperwork and extracts type, issuer, amounts, deadlines and action items as validated JSON (add_document). Writes plain-language explanations (explain_document) and reply drafts (draft_reply). Uses a forced tool call so the answer always matches the zod schema. In the web demo, it is also the agent that picks which Duly MCP tool to call (Converse tool use). |
lib/llm/bedrock.ts, lib/llm/index.ts, lib/llm/fallback.ts, lib/agent/agent.ts |
Amazon DynamoDB (on-demand table duly, keys pk = HOUSEHOLD#<id>, sk = DOC#<id>) |
Stores uploaded documents (the samples are built on every read). All tools read from it. | lib/storage/aws.ts, lib/aws.ts |
Amazon S3 (private bucket duly-devcaos-files, all public access blocked) |
Keeps the original uploaded file of each document (households/<id>/<doc-id>.pdf); its key is saved in Document.fileKey. |
lib/storage/aws.ts, lib/tools/addDocument.ts |
Amazon Polly (neural voice, Joanna en-US by default, POLLY_VOICE_ID to change it) |
Speaks the web demo's replies (MP3). If Polly fails, the page falls back to the browser's speechSynthesis. |
app/api/speak/route.ts, components/echo/voice.ts |
Setup scripts (AWS SDK for JavaScript v3):
scripts/setup-aws.ts:npm run setup:awscreates the DynamoDB table and the private S3 bucket. Safe to run again.scripts/seed-aws.ts:npm run seed:awsclears the demo household: it deletes every stored document (uploads, and sample copies written by older versions of the script). It writes nothing: the sample documents (lib/storage/seed.ts) are added by the server on every read. Deploy first, then runnpm run seed:aws(it only clears stored uploads; the samples are built on every read): an older deployment reads only from DynamoDB, so clearing the table before deploying leaves the demo with no documents.
If Bedrock is throttled, temporarily unavailable or times out, LLM_FALLBACK=gemini retries the same request with Google Gemini, and the server log says which provider answered ([llm] answered by bedrock). The fallback is not used for AccessDenied, validation or other client errors: those mean the AWS setup is wrong, so Duly logs AWS is misconfigured and returns a generic error. Logs only contain the error name, HTTP status and a short message (ARNs, account IDs and request IDs are masked), and tool callers never see configuration details.
IAM permissions
docs/iam-policy.json is the exact policy of the IAM user that Duly runs with. Replace ACCOUNT_ID with your AWS account ID. Every statement is scoped to Duly's own resources (one model, one table, one bucket), but the policy is not strictly minimal: it also allows some actions the code does not use today (see below).
| Statement | Allows | Used by |
|---|---|---|
BedrockInvokeNova2Lite |
InvokeModel / InvokeModelWithResponseStream on Nova 2 Lite: the eu inference profile in eu-west-1 and the foundation model in the EU regions that profile routes to |
lib/llm/bedrock.ts, lib/agent/agent.ts |
DynamoDbDulyTable |
Item access (GetItem, PutItem, UpdateItem, DeleteItem, Query, Scan) and DescribeTable on the duly table only |
lib/storage/aws.ts, scripts/seed-aws.ts |
S3DulyBucket / S3DulyObjects |
PutObject / GetObject on the objects of duly-devcaos-files, plus bucket-level ListBucket and GetBucketLocation |
lib/storage/aws.ts |
PollySpeech |
SynthesizeSpeech (Polly has no resource-level permissions, so Resource is *) |
app/api/speak/route.ts |
Three actions are only needed by npm run setup:aws: dynamodb:CreateTable, s3:CreateBucket and s3:PutBucketPublicAccessBlock. After the table and bucket exist you can remove them from the policy; the running server and npm run seed:aws don't use them.
The code does not currently call these either: bedrock:InvokeModelWithResponseStream (Duly uses Converse, not streaming), dynamodb:UpdateItem and dynamodb:Scan (it uses GetItem, PutItem, DeleteItem and Query), and s3:GetObject, s3:ListBucket and s3:GetBucketLocation (it only uploads with PutObject). They stay in the policy because it is the real IAM user's policy, unchanged.
The bucket must stay private.
setup:awsblocks all public access on every run. Never add a bucket policy, ACL or CloudFront rule that makesduly-devcaos-filespublic: it holds the original documents people upload.
Run it locally
Commands are the same on macOS, Linux and Windows; the npm scripts set no environment variables inline. Where a command sets a variable for one run, both the bash (macOS/Linux) and PowerShell (Windows) forms are shown.
1. Install
Prerequisites: Node.js 20.12 or later (with npm) and Git.
git clone https://github.com/devcaos/duly.git
cd duly
npm install
2. Configure
Copy .env.example to .env.local and fill in what you need (never commit .env.local):
cp .env.example .env.local # macOS / Linux
Copy-Item .env.example .env.local # Windows PowerShell
What works with which settings:
Settings in .env.local |
What works |
|---|---|
Nothing (defaults: STORAGE=memory, LLM_PROVIDER=gemini) |
npm run test:unit; the MCP server with the sample documents; the tools that don't use an LLM (list_deadlines, check_warranty, search_documents, compare_bills, weekly_brief); the web demo's "Coming up" list. |
+ GEMINI_API_KEY |
Also add_document, explain_document and draft_reply. |
+ AWS_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY (IAM user with the policy above) |
Bedrock (LLM_PROVIDER=bedrock), DynamoDB + S3 (STORAGE=aws, after setup:aws), Polly, and the web demo's questions (the /api/chat agent always uses Bedrock). |
npm run mock:aws (no AWS account) |
The web demo with canned answers, see Test the web demo without AWS. |
With STORAGE=memory, documents you add can disappear when the server restarts; the sample documents always come back.
3. Set up AWS (optional)
Only with AWS credentials in .env.local:
npm run setup:aws # creates the DynamoDB table and the private S3 bucket
npm run seed:aws # clears uploaded documents (the sample documents are never stored)
Deploy first, then run npm run seed:aws (it only clears stored uploads; the samples are built on every read).
One manual step: in the AWS console, enable DynamoDB TTL on the attribute expiresAt (table duly, region eu-west-1, Additional settings > Time to Live (TTL)). Without it, expired uploads stay in the table but are always hidden.
Then set STORAGE=aws, LLM_PROVIDER=bedrock (and optionally LLM_FALLBACK=gemini) in .env.local.
4. Start
npm run dev
Open http://localhost:3000 for the web demo; the MCP endpoint is http://localhost:3000/api/mcp.
Check that it works
npm run test:unit
Unit tests, no server and no keys needed.
npm run tools (scripts/call-tools.mjs) calls every tool against a running server, including add_document, which saves a new document. Run it against a local server with in-memory storage, so it never writes into a real table. Start the server in one terminal:
STORAGE=memory npm run dev # macOS / Linux
$env:STORAGE="memory"; npm run dev # Windows PowerShell
Then, in another terminal:
npm run tools # text-only calls
npm run tools -- samples/07-riverside-water-bill.pdf # also add_document with a PDF
A variable set in the shell wins over .env.local, so this works even if .env.local says STORAGE=aws. The LLM tools need GEMINI_API_KEY or AWS credentials.
npm run smoke:bedrock (scripts/smoke-bedrock.mjs) sends the demo questions to /api/chat (Bedrock needed), one by one and as a conversation. It only asks questions and never saves documents. For each one it prints the tool chosen, the route (model: Nova picked it; forced-keyword / forced-any: asked again, requiring a tool; server-default: the server called the tool itself) and the spoken reply. Pass a base URL to test a deployment:
npm run smoke:bedrock -- https://duly-home.vercel.app
Test the web demo without AWS
scripts/mock-aws.mjs is a local stand-in for Bedrock and Polly with canned, keyword-based answers. The app code doesn't change: the AWS SDK sends its requests to the mock because of the AWS_ENDPOINT_URL_* variables.
- In one terminal:
npm run mock:aws. - In
.env.local, setLLM_PROVIDER=bedrock,AWS_ACCESS_KEY_ID=mock,AWS_SECRET_ACCESS_KEY=mock,AWS_ENDPOINT_URL_BEDROCK_RUNTIME=http://localhost:4010andAWS_ENDPOINT_URL_POLLY=http://localhost:4010(andSTORAGE=memory). - In another terminal:
npm run dev, then open http://localhost:3000.
Like real Bedrock, the mock answers in text when a tool result in the history mixes text and JSON (see FRICTION.md). Test hooks in the mock: put [text-first] in a question to make the model answer in text first (tests the forced-tool retry), [text-always] to answer in text even when a tool is required, [bad-input] to send arguments the server rejects (both test the server-side default call), [search-only] to make it call only search_documents (tests the explain fallback), and [bad-draft] / [bad-draft-twice] in a draft_reply intent to test the letter validator's retry and the template letter.
The mock Polly plays a short chime instead of speech. To test the browser voice fallback, start it with:
MOCK_POLLY=fail npm run mock:aws # macOS / Linux
$env:MOCK_POLLY="fail"; npm run mock:aws # Windows PowerShell
Remove the AWS_ENDPOINT_URL_* lines to use real AWS.
How the web demo works
- Press the mic and ask a question (Web Speech API,
en-US, Chrome or Edge), or type it. Brave blocks the speech service, so in Brave the mic shows "Voice input doesn't work in Brave" instead of listening. On Edge, turn on Online speech recognition in Windows (Settings > Privacy & security > Speech). The suggestion chips run the demo questions. - Add document uploads a photo or PDF (JPEG, PNG or PDF, max 3 MB) and saves it with
add_document. - The reply is spoken with Amazon Polly (neural voice). If Polly is unavailable, the browser's own voice reads it.
- The screen shows result cards: deadlines, the saved document, the warranty, or a letter draft with Copy and Make it firmer.
What the assistant says is the tool's own spoken sentence; the model never writes the reply, so it can't leak ids or JSON or claim actions it didn't take. If the model answers with text instead of choosing a tool, the app asks once more with toolChoice: any (a tool call is required) before giving a help sentence. A safety filter (lib/speech.ts) still removes ids and JSON and turns ISO dates into spoken dates. The home screen's "Coming up" list, uploads and the Make it firmer button call list_deadlines, add_document and draft_reply directly, without the model (a model can't copy a whole file into a tool call). Set MCP_URL to point the app at another Duly server.
Deploy to Vercel
- Import the repository in Vercel (framework preset: Next.js; no build settings to change).
- Go to Settings > Environments, open Production and add each variable from
.env.example(Key = the variable name, Value = its value). Then do the same in Preview, and redeploy so the new values are used. For the AWS setup:STORAGE=aws,LLM_PROVIDER=bedrock,LLM_FALLBACK=gemini,AWS_REGION,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,BEDROCK_MODEL_ID,DYNAMODB_TABLE,S3_BUCKET,POLLY_VOICE_ID,GEMINI_API_KEY,GEMINI_MODELandDULY_INTERNAL_TOKEN(a different random value per environment). SetMCP_ALLOWED_HOSTSto your production alias (e.g.duly-home.vercel.app, see below). LeaveMCP_URLand theAWS_ENDPOINT_URL_*variables unset. - After the redeploy, check it with
npm run smoke:bedrock -- https://<your-deployment>.vercel.app.
Rate limits: /api/mcp, /api/chat and /api/speak limit each client by IP (RATE_LIMIT_PER_MIN for requests and LLM_RATE_LIMIT_PER_MIN for LLM calls on /api/mcp and /api/chat; /api/speak has its own fixed limit). DULY_INTERNAL_TOKEN lets the web demo's own calls to /api/mcp skip the per-IP limit there; without it, every visitor shares the server's IP bucket on /api/mcp. The token is only sent when the MCP URL's host is this deployment's own (VERCEL_URL, VERCEL_BRANCH_URL or VERCEL_PROJECT_PRODUCTION_URL) or localhost, so setting MCP_URL never sends the secret to another server. The in-memory limiter tracks at most 10,000 keys; when it is full, expired keys go first and then the oldest.
Host check: /api/mcp answers only when the Host header is localhost, 127.0.0.1 or [::1] (any port), one of this deployment's own hosts (VERCEL_URL, VERCEL_BRANCH_URL, VERCEL_PROJECT_PRODUCTION_URL) or a host listed in MCP_ALLOWED_HOSTS (comma-separated). Anything else, including a missing Host, gets 403 before the body is read. This blocks DNS rebinding against a local server. Origin is not checked, so server-side clients like Alexa+ and Claude keep working. VERCEL_PROJECT_PRODUCTION_URL holds only one production domain (the shortest), so add any other alias to MCP_ALLOWED_HOSTS. Do the same for a custom domain, or a LAN IP when you test from another device (e.g. MCP_ALLOWED_HOSTS=192.168.1.20 in .env.local). Hosts in this list never receive DULY_INTERNAL_TOKEN.
Duly MCP 질문
Duly MCP는 어떤 도구를 제공하나요?
8개 도구를 제공합니다. 예: add_document, list_deadlines, explain_document, check_warranty, draft_reply.
Duly로 가계 서류를 어떻게 처리할 수 있나요?
마감일을 기억하고, 깨알 같은 약관을 쉬운 언어로 설명하며, 청구서나 서신에 대한 답장 초안을 작성합니다.
Duly가 법률 또는 금융 자문을 제공하나요?
아니요, Duly는 문서를 설명하기 위해 설계되었으며 법률 또는 금융 자문은 제공하지 않습니다.