WhatsApp Business API (Meta Cloud API)
- New client: src/clients/whatsapp.ts
- Tools: whatsapp_send_message, whatsapp_send_template, whatsapp_list_templates
- REST endpoints: POST /api/whatsapp/send, POST /api/whatsapp/template, GET /api/whatsapp/templates
- Multi-account env var pattern: WHATSAPP_{ACCOUNT}_*
LinkedIn API (OpenID Connect)
- New client: src/clients/linkedin.ts
- Tools: linkedin_get_profile, linkedin_create_post, linkedin_search_connections, linkedin_send_message
- REST endpoints: GET /api/linkedin/profile, POST /api/linkedin/post, POST /api/linkedin/search-connections, POST /api/linkedin/message
- Multi-account env var pattern: LINKEDIN_{ACCOUNT}_*
- Uses /v2/userinfo (OpenID Connect) for profile reads
Domain migration
- hermes.fetcherpay.com -> hermes.squaremcp.com
- Updated K8s ingress, TLS cert, SERVER_URL env var
- Updated OPENCODE.md and opencode.json references
SquareMCP site
- Added logo assets (SVG, LinkedIn variants)
- Added terms.html
- Updated Dockerfile, nginx config, styles, index, privacy pages
Docs
- Added OPENCODE.md for opencode AI integration setup
- Updated .env.example with WhatsApp and LinkedIn credentials
- Added opencode.json to .gitignore (contains live API key)
Total tools: 19 (email 6, obsidian 5, whatsapp 4, linkedin 4)
57 lines
3.4 KiB
Plaintext
57 lines
3.4 KiB
Plaintext
# ── Yahoo Mail ───────────────────────────────────────────────────────────────
|
|
# Generate an App Password at: https://myaccount.yahoo.com/security → App passwords
|
|
YAHOO_EMAIL=you@yahoo.com
|
|
YAHOO_APP_PASSWORD=xxxx xxxx xxxx xxxx
|
|
|
|
# ── Gmail ────────────────────────────────────────────────────────────────────
|
|
# Generate an App Password at: https://myaccount.google.com/apppasswords
|
|
# Requires 2-Step Verification to be enabled on your Google account
|
|
GMAIL_EMAIL=you@gmail.com
|
|
GMAIL_APP_PASSWORD=xxxx xxxx xxxx xxxx
|
|
|
|
# ── Optional: Custom IMAP/SMTP Server ────────────────────────────────────────
|
|
# Uncomment and configure these if you want to use a second email account
|
|
# CUSTOM_EMAIL=you@yourdomain.com
|
|
# CUSTOM_PASSWORD=yourpassword
|
|
# CUSTOM_IMAP_HOST=mail.yourdomain.com
|
|
# CUSTOM_IMAP_PORT=993
|
|
# CUSTOM_SMTP_HOST=mail.yourdomain.com
|
|
# CUSTOM_SMTP_PORT=587
|
|
|
|
# ── MySQL ────────────────────────────────────────────────────────────────────
|
|
MYSQL_HOST=127.0.0.1
|
|
MYSQL_PORT=3306
|
|
MYSQL_USER=root
|
|
MYSQL_PASSWORD=your-mysql-password
|
|
|
|
# ── Server ───────────────────────────────────────────────────────────────────
|
|
PORT=3456
|
|
MCP_API_KEY=your-secret-api-key
|
|
|
|
# ── Obsidian Vault ───────────────────────────────────────────────────────────
|
|
# Path to the vault directory inside the container (mount in docker-compose.yml)
|
|
OBSIDIAN_VAULT_PATH=/vaults
|
|
# Syncthing GUI URL (accessible from within the container via host.docker.internal)
|
|
SYNCTHING_URL=http://host.docker.internal:8384
|
|
# API key from ~/.config/syncthing/config.xml → <apikey>
|
|
SYNCTHING_API_KEY=your-syncthing-api-key
|
|
# Folder ID as set in Syncthing config
|
|
SYNCTHING_FOLDER_ID=obsidian-vault
|
|
|
|
# ── WhatsApp Business API (Meta Cloud API) ───────────────────────────────────
|
|
# Get these from https://business.facebook.com/settings/whatsapp-business-accounts
|
|
# For default account:
|
|
WHATSAPP_DEFAULT_PHONE_NUMBER_ID=your-phone-number-id
|
|
WHATSAPP_DEFAULT_ACCESS_TOKEN=your-permanent-access-token
|
|
WHATSAPP_DEFAULT_BUSINESS_ACCOUNT_ID=your-business-account-id
|
|
# For additional accounts, duplicate with WHATSAPP_{ACCOUNT}_*
|
|
|
|
# ── LinkedIn ─────────────────────────────────────────────────────────────────
|
|
# Get an access token from LinkedIn Developer Portal: https://www.linkedin.com/developers/
|
|
# Required scopes: r_liteprofile, w_member_social
|
|
# For default account:
|
|
LINKEDIN_DEFAULT_ACCESS_TOKEN=your-linkedin-access-token
|
|
LINKEDIN_DEFAULT_CLIENT_ID=your-linkedin-client-id
|
|
LINKEDIN_DEFAULT_CLIENT_SECRET=your-linkedin-client-secret
|
|
# For additional accounts, duplicate with LINKEDIN_{ACCOUNT}_*
|