MCP.so
登录
服务器

dify-server MCP 服务器

@AI-FE

A Model Context Protocol server for Dify

概览

What is dify-server MCP 服务器?

dify-server MCP 服务器 is a Model Context Protocol server built with TypeScript that integrates the Dify AI API to generate Ant Design business component code. It is intended for developers who want to use AI-powered code generation within MCP-compatible tools like Continue or Cline.

How to use dify-server MCP 服务器?

Configure the server by adding its entry to your MCP client’s settings (e.g., continue config.json or cline_mcp_settings.json), providing the build path and your DIFY_API_KEY environment variable. After building with npm run build, the server runs via stdio using the command node build/index.js.

Key features of dify-server MCP 服务器

  • Exposes a tool antd-component-codegen-mcp-tool for code generation.
  • Accepts text and optional image inputs.
  • Handles image file uploads.
  • Supports streaming responses from the Dify AI API.
  • Built entirely with TypeScript.

Use cases of dify-server MCP 服务器

  • Quickly generate Ant Design business components from natural language descriptions.
  • Build AI‑assisted code generation into MCP‑compatible IDEs (e.g., Continue, Cline).
  • Combine text and image prompts to refine component designs.
  • Automate repetitive UI component creation tasks.

FAQ from dify-server MCP 服务器

What runtime does dify-server MCP 服务器 require?

Node.js is required; the server is compiled to JavaScript and started with the node command.

How do I provide my Dify API key?

Set the DIFY_API_KEY environment variable in the env section of your MCP client’s configuration (e.g., continue config.json or cline_mcp_settings.json).

What transport does the server use?

It communicates via standard input/output (stdio), as configured in the MCP client settings.

How can I debug the server?

Use the MCP Inspector by running npm run inspector, which provides a browser‑based debugging tool.

Does the server store any data locally?

The README does not mention local storage; the server sends requests to the Dify AI API and returns responses without persisting data.

来自「其他」的更多内容