Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DIFY_API_KEY | Yes | API key for authenticating with the Dify API | |
| DIFY_KNOWLEDGE_ID | Yes | The specific Dify knowledge base ID to query | |
| DIFY_KNOWLEDGE_ENDPOINT | Yes | Dify external knowledge API endpoint URL (e.g., https://your-endpoint.com) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query_dify_knowledge | Query Dify external knowledge base to retrieve relevant information based on a search query. Returns ranked documents with content, scores, titles, and metadata. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |