MCP Dust Server logo

MCP Dust Server

by MCP-Mirror

This repository contains an implementation of a Model Context Protocol (MCP) server designed to interact with Dust agents. The server is separated into two main components: the MCP server and the MCP test client.

View on GitHub

Last updated: N/A

What is MCP Dust Server?

The MCP Dust Server is an implementation of a Model Context Protocol (MCP) server that facilitates interaction between client applications and Dust AI agents. It provides a standardized interface for managing context, sending messages, and executing tools within the Dust.tt ecosystem.

How to use MCP Dust Server?

To use the MCP Dust Server, you need to clone the repository, install the dependencies using npm install, configure the environment variables in a .env file, and then start the server and client components using npm run dev or npm run start for development and production modes, respectively. The client can be accessed via a web browser, and the server provides API endpoints for health checks and MCP protocol communication.

Key features of MCP Dust Server

  • Separate MCP server and test client components

  • Interaction with Dust AI agents via the Dust API

  • Real-time streaming responses using Server-Sent Events (SSE) and HTTP Stream Transport

  • Full JSON-RPC 2.0 support with 'initialize', 'message', 'terminate', and 'run' methods

  • Direct tool execution via the 'run' method for simplified client integration

Use cases of MCP Dust Server

  • Integrating Dust AI agents into existing applications

  • Building custom AI-powered workflows

  • Testing and debugging Dust agent interactions

  • Automating tasks using AI agents within an organization

FAQ from MCP Dust Server

What is the purpose of the MCP Dust Server?

The MCP Dust Server enables interaction with Dust AI agents using the Model Context Protocol (MCP), providing a standardized interface for managing context and executing tools.

What are the prerequisites for installing the server?

You need Node.js, npm, and TypeScript installed on your system.

How do I configure the server?

You need to create a .env file in the root directory and configure the environment variables, including the Dust API key, workspace ID, and agent ID.

How do I start the server and client?

You can use npm run dev for development mode or npm run start for production mode to start both the server and client. Separate scripts are available to start the server or client individually.

Where can I find more detailed documentation?

Detailed technical information, including project structure, API documentation, debugging tools, and security considerations, can be found in the Developer Documentation.