Docs: document all SMTP_* and other undocumented env vars for self-hosting
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- documentation
Research direction
Start by comparing .env.example with the environment variables read in packages/backend/src/settings/email.service.ts, knowledge-graph/identifier.ts, and the other locations named in the issue. Then check docs/deployment.md against those settings. Done means the SMTP variables and the five other undocumented variables are listed with their defaults or behavior in .env.example, all seven SMTP variables are documented in the deployment guide, and the misleading comment is corrected.
Written by the indexing model from the issue text.
Description
Problem
When self-hosting, I couldn't find a complete list of environment variables:
.env.exampleL269 says the cloud jobs "mail through the SMTP_* settings above", but.env.exampledoesn't define anySMTP_*variables.packages/backend/src/settings/email.service.ts(L166–178) readsSMTP_HOST,SMTP_PORT(default 587),SMTP_USER,SMTP_PASS,SMTP_FROM,SMTP_SECUREandSMTP_REPLY_TO.docs/deployment.mdL427 lists only the first four.- These are read in code but not documented anywhere:
KG_HASH_SECRET(knowledge-graph/identifier.tsL122; falls back toENCRYPTION_KEY, thenJWT_SECRET, then a hardcoded 'anythingmcp-kg-dev-secret'),KG_MCP_TOOL(off disables it),KG_OBSERVE_COOLDOWN_SEC(default 45),SHUTDOWN_TIMEOUT_MS(default 20000),SENTRY_MCP_TRACES_SAMPLE_RATE(default: base rate / 5).
Proposed Solution
Add a commented SMTP block (plus the variables above) to .env.example, and list all seven SMTP variables in docs/deployment.md. I'm happy to send a PR.
Alternatives Considered
At minimum, reword the L269 comment so it doesn't refer to settings "above".
Area
Documentation
Additional Context
No response
- Dominant language
- TypeScript
- Stars
- 856
- Forks
- 82
- Avg merge
- 6h 49m
- Merged PRs (30d)
- 152
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HelpCode-ai/anythingmcp
-
good first issue hacktoberfest
Difficulty 2/5 Half a day Newbie friendliness 70/100
HelpCode-ai/anythingmcp#996 ·
Maintainers usually reply within 1 day
-
good first issue hacktoberfest
Difficulty 2/5 Half a day Newbie friendliness 72/100
HelpCode-ai/anythingmcp#995 ·
Maintainers usually reply within 1 day
-
enhancement good first issue hacktoberfest help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
HelpCode-ai/anythingmcp#982 ·
Maintainers usually reply within 1 day
-
Upload the new social previewPossibly taken @helpcodeai claimed this today. Open
HelpCode-ai/anythingmcp#1087 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
enhancement hacktoberfest help wanted
Difficulty 3/5 1-2 days Newbie friendliness 50/100
HelpCode-ai/anythingmcp#1014 ·
Maintainers usually reply within 1 day
All issues in HelpCode-ai/anythingmcp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AvaProtocol/ava-sdk-js#276 ·
Maintainers usually reply within 1 day
-
useFragment does not require `variables` when the fragment's variables type has required fieldsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apollographql/apollo-client#13493 ·
Maintainers usually reply within 1 day
-
Custom hosts written as trailing-dot FQDNs (`host.local.`) aren't detected as local backendsPossibly taken @roboomp claimed this today. Openbug prio:p2 providers triaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
can1357/oh-my-pi#15798 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
code-yeongyu/oh-my-openagent#10172 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
PDFCraftTool/pdfcraft#189 ·