Skip to main content
Glama

MCP Server

by srafi26

MCP Server

A Model Context Protocol (MCP) server implementation that provides basic tools and utilities.

Features

This MCP server provides the following tools:

  • echo: Echo back the input text
  • uppercase: Convert text to uppercase
  • calculate: Perform basic mathematical calculations (add, subtract, multiply, divide)

Installation

  1. Install dependencies:
    npm install
  2. Build the server:
    npm run build

Usage

Development

Run the server in development mode:

npm run dev

Production

Build and run the server:

npm run build npm start

Configuration

To use this MCP server with Claude Desktop or other MCP clients, add the following to your MCP configuration:

{ "mcpServers": { "mcp-server": { "command": "node", "args": ["/path/to/your/mcp-server/dist/index.js"] } } }

Examples

Echo Tool

{ "name": "echo", "arguments": { "message": "Hello, World!" } }

Uppercase Tool

{ "name": "uppercase", "arguments": { "text": "hello world" } }

Calculate Tool

{ "name": "calculate", "arguments": { "operation": "add", "a": 5, "b": 3 } }

License

MIT

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

A Model Context Protocol server implementation that provides basic utility tools including echo, uppercase text conversion, and mathematical calculations.

  1. Features
    1. Installation
      1. Usage
        1. Development
        2. Production
      2. Configuration
        1. Examples
          1. Echo Tool
          2. Uppercase Tool
          3. Calculate Tool
        2. License

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
            Last updated -
            12
            1
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A simple implementation of a Model Context Protocol server that demonstrates core functionality including mathematical tools (add, subtract) and personalized greeting resources.
            Last updated -
            56
            Python
            GPL 3.0
          • A
            security
            F
            license
            A
            quality
            A simple Model Context Protocol server that provides standardized tool functionality, currently implementing a basic calculator for adding two numbers together.
            Last updated -
            2
            738
            JavaScript
          • -
            security
            F
            license
            -
            quality
            A sample implementation of Model Context Protocol server demonstrating core functionality with simple arithmetic tools and greeting resources.
            Last updated -
            Python

          View all related MCP servers

          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/srafi26/mcp-server'

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