Skip to main content
Glama
liiklin

Dify Knowledge MCP Server

by liiklin

get_dify_config

Retrieve the current configuration status of the Dify API to ensure integration and operational readiness with the Dify Knowledge MCP Server.

Instructions

Get current Dify API configuration status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implements the logic for the 'get_dify_config' tool by checking if DIFY_API_URL and DIFY_API_KEY are configured and returning a formatted status message.
    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)
    Registers the 'get_dify_config' tool in the list tools response, including its description and input schema (no required parameters).
    { name: "get_dify_config", description: "Get current Dify API configuration status", inputSchema: { type: "object", properties: {} } }

Other Tools

Related 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