Skip to main content
Glama
Dify Scheduled Task MCP Server

Dify Scheduled Task MCP Server

by shenwii

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoStandard system & cron scheduler timezone.Asia/Shanghai
PORTNoFastAPI & MCP server port.8000
DIFY_INPUTSNoJSON template for Dify inputs during Matrix chat.{}
DIFY_API_KEYYesDify App API key.
DATABASE_PATHNoSQLite database file path (/app/data/bot.db in Docker)../data/bot.db
DIFY_BASE_URLNoDify API base URL.https://api.dify.ai/v1
MATRIX_USER_IDYesBot MXID (e.g. @bot:example.org).
MCP_AUTH_TOKENNoOptional Bearer token protecting /sse and /messages/.
MATRIX_PASSWORDNoPassword used when MATRIX_ACCESS_TOKEN is empty.
MATRIX_AUTO_JOINNoAutomatically accept room invitations.true
MATRIX_DEVICE_IDNoMatrix device ID.DIFY_MATRIX_BOT
MATRIX_HOMESERVERYesMatrix homeserver URL.
MATRIX_STORE_PATHNoPersistent E2EE key store directory (/app/data/crypto_store in Docker)../data/crypto_store
DIFY_SCHEDULED_USERNoFallback user field passed to Dify when task user_id is empty.dify-scheduler
MATRIX_ACCESS_TOKENNoAccess token (or provide MATRIX_PASSWORD).
MATRIX_E2EE_ENABLEDNoEnable Matrix End-to-End Encryption (vodozemac).true
DIFY_TIMEOUT_SECONDSNoDify HTTP streaming timeout.180
DIFY_SCHEDULER_INPUTSNoJSON template for Dify inputs during scheduled task runs.{}
MATRIX_COMMAND_PREFIXNoOptional command prefix to trigger the bot in groups.
MATRIX_TRUST_ALL_DEVICESNoAutomatically trust room members' devices for seamless E2EE replies.true
MATRIX_TYPING_TIMEOUT_MSNoTyping event timeout sent to Matrix server.30000
MATRIX_GROUP_CONTEXT_LIMITNoMax recent group messages included in $history.10
MATRIX_TYPING_INTERVAL_SECONDSNoTyping 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources