Skip to main content
Glama
james-gibson

MCP CLI

by james-gibson

MCP CLI

A command-line interface for creating and running Model Context Protocol (MCP) servers.

Overview

MCP CLI is a tool that makes it easy to create and run MCP servers that can expose resources, tools, and prompts to LLM clients. It's built with NestJS and Commander.js, and uses the official MCP TypeScript SDK.

Related MCP server: MCP TypeScript SDK

Installation

# Clone the repository
git clone https://github.com/yourusername/mcp-cli.git
cd mcp-cli

# Install dependencies
npm install

# Build the project
npm run build

# Link the CLI globally (optional)
npm link

Usage

Creating a Basic MCP Server

# Using npx
npx mcp-cli create-server

# Or if globally linked
mcp-cli create-server

Options:

  • -n, --name <name> - Server name (default: "example-server")

  • -v, --version <version> - Server version (default: "1.0.0")

Features

The basic MCP server includes:

Resources

  • Static server information resource

  • Dynamic echo resource

Tools

  • Calculator tool (add, subtract, multiply, divide)

  • Text processing tool (uppercase, lowercase, reverse, count)

Prompts

  • Greeting prompt

  • Team greeting prompt with completable arguments

Extending the CLI

See CONTRIBUTING.md and CLAUDE.md for information on how to extend the CLI with new commands and MCP components.

License

This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.

Acknowledgments

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
3Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A Python implementation of the Model Context Protocol that allows applications to provide standardized context for LLMs, enabling creation of servers that expose data and functionality to LLM applications through resources, tools, and prompts.
    Last updated
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A toolkit for building Model Context Protocol servers and clients that provide standardized context for LLMs, allowing applications to expose resources, tools, and prompts through stdio or Streamable HTTP transports.
    Last updated
    48,250,012
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server built with FastMCP that features dynamic tool loading and modular management via a dedicated tool directory. It supports both stdio and HTTP transport modes, enabling efficient development and deployment of custom MCP tools.
    Last updated

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

  • MCP (Model Context Protocol) server for Appwrite

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/james-gibson/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server