Skip to main content
Glama
liiklin

Dify Knowledge MCP Server

by liiklin

get_dify_config

Retrieve current API configuration status for Dify knowledge base access, enabling AI assistants to query information through natural language.

Instructions

Get current Dify API configuration status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execution handler for the 'get_dify_config' tool. It checks if DIFY_API_URL and DIFY_API_KEY are set and returns a formatted text response indicating the configuration status.
    case "get_dify_config": const isConfigured = DIFY_API_URL && DIFY_API_KEY; return { content: [ { type: "text", text: `Dify Configuration Status: API URL: ${DIFY_API_URL ? '✓ Configured' : '✗ Not configured'} API Key: ${DIFY_API_KEY ? '✓ Configured' : '✗ Not configured'} ${isConfigured ? 'Ready to query knowledge base!' : 'Please configure DIFY_API_URL and DIFY_API_KEY in .env file, environment variables, or command line arguments.'}` } ] };
  • index.js:142-149 (registration)
    The tool registration in the ListTools response, including name, description, and empty input schema (no parameters required).
    { name: "get_dify_config", description: "Get current Dify API configuration status", inputSchema: { type: "object", properties: {} } }
  • The input schema definition for the 'get_dify_config' tool, specifying an empty object (no input parameters).
    { name: "get_dify_config", description: "Get current Dify API configuration status", inputSchema: { type: "object", properties: {} } }

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liiklin/dify-knowledge-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server