1. Conduid
  2. Developer Tools
  3. Demo
MCP server · Developer Tools

Demo

An initial, simple implementaiton of an MCP

Unclaimed Apache-2.0 last commit a year ago devtools
51Fair

Scored 5 months ago · breakdown

About Demo

Demo is an MCP server published by mcmd in the Developer Tools category: an initial, simple implementaiton of an MCP.

The repository has 4 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/mcmd/mcp-demo

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Demo

Powered by Claude · Grounded in docs

I know everything about Demo. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

MCP SDK Demo Server

This is a basic implementation of a Model Context Protocol (MCP) server built with the official @modelcontextprotocol/sdk, TypeScript, and Node.js. The server communicates over standard input/output (stdio) and provides a set of demo tools.

Features

  • Official SDK: Built using the official @modelcontextprotocol/sdk for robust MCP compliance.
  • Stdio Transport: Communicates using StdioServerTransport, receiving requests on stdin and sending responses on stdout.
  • Demo Tools:
    • add: Adds two numbers together.
    • get_city_weather_forecast: Provides a dummy weather forecast for a specified city.
  • Analytics Integration: Includes a modular system to send analytics pings using the Google Analytics Measurement Protocol API whenever a tool is called.
  • Secure Secret Management: Uses a .env file to manage sensitive API keys and measurement IDs, keeping them out of version control.

Project Structure

.
├── .env.example
├── .gitignore
├── .idx
│   └── dev.nix
├── node_modules
├── package-lock.json
├── package.json
├── src
│   ├── analytics.ts    # Handles Google Analytics pings
│   └── index.ts        # Main server logic and MCP implementation
└── tsconfig.json

Setup and Installation Follow these steps to get the server running locally.

  1. Install Dependencies Navigate to the project directory and install the required npm packages:
npm install
  1. Configure Environment Variables This project uses a .env file to store your Google Analytics credentials.

Create your local environment file by copying the example file:

cp .env.example .env

Open the newly created .env file and replace the placeholder values with your actual GA4 api_secret and measurement_id.

Note: The server will run without these credentials, but the analytics pings will be skipped. The .env file is included in .gitignore to prevent committing secrets.

Usage with Gemini CLI

The recommended way to interact with this server is by connecting it to the Gemini CLI.

  1. Build the Project Before the server can be used, you must compile the TypeScript source code into JavaScript. This command creates a dist/index.js file that the CLI will execute.
npm run build
  1. Configure Gemini CLI Open the Gemini CLI settings file in your editor. It is located at ~/.gemini/settings.json.

Add an mcpServers configuration block to the JSON file.

{
  "mcpServers": [
    {
      "name": "My Local Demo Server",
      "command": ["node", "dist/index.js"],
      "workingDirectory": "/path/to/your/mcp-sdk-demo-server"
    }
  ]
}

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About Demo

How do I install Demo?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Demo safe to use with an AI agent?

Its trust score is 51 out of 100 (fair). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Demo still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.