Dify Scheduled Task MCP Server
by shenwii
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TZ | No | Standard system & cron scheduler timezone. | Asia/Shanghai |
| PORT | No | FastAPI & MCP server port. | 8000 |
| DIFY_INPUTS | No | JSON template for Dify inputs during Matrix chat. | {} |
| DIFY_API_KEY | Yes | Dify App API key. | |
| DATABASE_PATH | No | SQLite database file path (/app/data/bot.db in Docker). | ./data/bot.db |
| DIFY_BASE_URL | No | Dify API base URL. | https://api.dify.ai/v1 |
| MATRIX_USER_ID | Yes | Bot MXID (e.g. @bot:example.org). | |
| MCP_AUTH_TOKEN | No | Optional Bearer token protecting /sse and /messages/. | |
| MATRIX_PASSWORD | No | Password used when MATRIX_ACCESS_TOKEN is empty. | |
| MATRIX_AUTO_JOIN | No | Automatically accept room invitations. | true |
| MATRIX_DEVICE_ID | No | Matrix device ID. | DIFY_MATRIX_BOT |
| MATRIX_HOMESERVER | Yes | Matrix homeserver URL. | |
| MATRIX_STORE_PATH | No | Persistent E2EE key store directory (/app/data/crypto_store in Docker). | ./data/crypto_store |
| DIFY_SCHEDULED_USER | No | Fallback user field passed to Dify when task user_id is empty. | dify-scheduler |
| MATRIX_ACCESS_TOKEN | No | Access token (or provide MATRIX_PASSWORD). | |
| MATRIX_E2EE_ENABLED | No | Enable Matrix End-to-End Encryption (vodozemac). | true |
| DIFY_TIMEOUT_SECONDS | No | Dify HTTP streaming timeout. | 180 |
| DIFY_SCHEDULER_INPUTS | No | JSON template for Dify inputs during scheduled task runs. | {} |
| MATRIX_COMMAND_PREFIX | No | Optional command prefix to trigger the bot in groups. | |
| MATRIX_TRUST_ALL_DEVICES | No | Automatically trust room members' devices for seamless E2EE replies. | true |
| MATRIX_TYPING_TIMEOUT_MS | No | Typing event timeout sent to Matrix server. | 30000 |
| MATRIX_GROUP_CONTEXT_LIMIT | No | Max recent group messages included in $history. | 10 |
| MATRIX_TYPING_INTERVAL_SECONDS | No | Typing heartbeat refresh interval. | 15 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues