feat: add Trello MCP integration and env config
This commit is contained in:
parent
f2c1a9e2d6
commit
a8ee1edaf0
3 changed files with 44 additions and 0 deletions
21
.env.example
Normal file
21
.env.example
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
# BilHej Environment Variables
|
||||||
|
# Copy this file to .env and fill in your keys.
|
||||||
|
|
||||||
|
# PostgreSQL
|
||||||
|
POSTGRES_DB=bilhej
|
||||||
|
POSTGRES_USER=bilhej
|
||||||
|
POSTGRES_PASSWORD=change_me
|
||||||
|
|
||||||
|
# JWT
|
||||||
|
JWT_SECRET=change_me_to_a_random_64_char_string
|
||||||
|
|
||||||
|
# Stripe
|
||||||
|
STRIPE_SECRET_KEY=sk_test_...
|
||||||
|
STRIPE_WEBHOOK_SECRET=whsec_...
|
||||||
|
STRIPE_PRICE_ID=price_...
|
||||||
|
|
||||||
|
# Trello (for OpenCode MCP integration)
|
||||||
|
# API Key: https://trello.com/app-key
|
||||||
|
# Token: https://trello.com/1/authorize?expiration=never&name=BilHej&scope=read,write&response_type=token&key=YOUR_API_KEY
|
||||||
|
TRELLO_API_KEY=
|
||||||
|
TRELLO_TOKEN=
|
||||||
12
AGENTS.md
12
AGENTS.md
|
|
@ -191,6 +191,18 @@ public vehicle info) must be excluded from the Spring Security filter chain.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Task Tracking
|
||||||
|
|
||||||
|
Project tasks live in Trello (imported from `trello-import.csv`).
|
||||||
|
Before starting work, use the `trello` tool to check the board for the next
|
||||||
|
pending card in priority order. When a task is complete, move its card to a
|
||||||
|
"Done" list.
|
||||||
|
|
||||||
|
Trello integration is configured via MCP in `opencode.json`. Requires
|
||||||
|
`TRELLO_API_KEY` and `TRELLO_TOKEN` env vars (see `.env.example`).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## External References
|
## External References
|
||||||
|
|
||||||
For detailed conventions, load `@CODING_GUIDELINES.md`.
|
For detailed conventions, load `@CODING_GUIDELINES.md`.
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,16 @@
|
||||||
"permission": {
|
"permission": {
|
||||||
"edit": "ask",
|
"edit": "ask",
|
||||||
"bash": "ask"
|
"bash": "ask"
|
||||||
|
},
|
||||||
|
"mcp": {
|
||||||
|
"trello": {
|
||||||
|
"type": "local",
|
||||||
|
"command": ["npx", "-y", "@delorenj/mcp-server-trello"],
|
||||||
|
"environment": {
|
||||||
|
"TRELLO_API_KEY": "{env:TRELLO_API_KEY}",
|
||||||
|
"TRELLO_TOKEN": "{env:TRELLO_TOKEN}"
|
||||||
|
},
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue