drio
Open app

Installation

Source

Catalog onlyCatalog onlySTDIO

Overview

The mcp-server-demo is a project that demonstrates the installation and setup of a chat server using LibreChat and Ollama, allowing users to create chat agents that can respond to queries about IP addresses.

To use the mcp-server-demo, follow the installation steps to set up the necessary servers and configurations, then access the LibreChat UI to create and interact with chat agents.

  • Easy installation process with step-by-step instructions. - Integration with MongoDB for data storage. - Ability to create chat agents that utilize various models for responses. - Support for querying local and external IP addresses.
  1. Setting up a local chat server for testing and development.
  2. Creating chatbots that can provide network-related information.
  3. Demonstrating the capabilities of the Ollama model in a chat environment.

Add to your AI client

Use these steps to connect Installation 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-server-demo-dev-johnny-gh": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-demo-dev-johnny-gh"
      ]
    }
  }
}

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-server-demo-dev-johnny-gh": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-demo-dev-johnny-gh"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-demo-dev-johnny-gh": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-demo-dev-johnny-gh"
      ]
    }
  }
}

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-server-demo-dev-johnny-gh": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-demo-dev-johnny-gh"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-demo-dev-johnny-gh": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-demo-dev-johnny-gh"
      ]
    }
  }
}

Cline

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

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-demo-dev-johnny-gh": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-demo-dev-johnny-gh"
      ]
    }
  }
}

FAQ

What is required to run mcp-server-demo?

You need Node.js, MongoDB, and the Ollama model to run the demo.

Can I customize the chat agents?

Yes! You can create agents with different names and model providers as per your requirements.

Is there a graphical interface?

Yes, you can access the LibreChat UI through your web browser.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2784,"uuid":"f83e38da-9607-43ef-a28d-25f95d46c3aa","name":"mcp-server-demo","title":"Installation","description":"","avatar_url":"https://avatars.githubusercontent.com/u/1694541?v=4","created_at":"2025-03-14T01:51:31.147Z","updated_at":"2025-03-14T04:08:51.620Z","status":"created","author_name":"dev-johnny-gh","author_avatar_url":"https://avatars.githubusercontent.com/u/1694541?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/dev-johnny-gh/mcp-server-demo","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-13 22:59:48\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]