drio
Open app

MCP Chat Demo

Source

A sample chat application demonstrating integration with Model Context Protocol (MCP) servers

Catalog onlyCatalog onlySTDIO

Overview

MCP Chat Demo is a sample chat application that showcases the integration with Model Context Protocol (MCP) servers, allowing users to engage in real-time conversations.

To use MCP Chat Demo, clone the repository from GitHub, install the necessary dependencies, and start the development server to run the application locally.

  • Seamless connection to local or remote MCP servers - Intuitive real-time chat interface - Support for various MCP tools and resources - Message history functionality to track conversations - Built-in error handling and reconnection logic
  1. Testing real-time messaging applications with MCP integration.
  2. Developing custom chat applications utilizing the Model Context Protocol.
  3. Exploring the capabilities of MCP servers in managing chat functionalities.

Add to your AI client

Use these steps to connect MCP Chat Demo in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-chat-demo-ehartye": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chat-demo-ehartye"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-chat-demo-ehartye": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chat-demo-ehartye"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-chat-demo-ehartye": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chat-demo-ehartye"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-chat-demo-ehartye": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chat-demo-ehartye"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-chat-demo-ehartye": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chat-demo-ehartye"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-chat-demo-ehartye": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chat-demo-ehartye"
      ]
    }
  }
}

FAQ

Is MCP Chat Demo free to use?

Yes! MCP Chat Demo is available for free on GitHub.

Can I customize the chat interface?

Yes! The application is built using React and TailwindCSS, allowing for easy customization of the interface.

What technologies are used in MCP Chat Demo?

The project is built with React 18, TypeScript, Vite, TailwindCSS, and utilizes the MCP TypeScript SDK.