Skip to main content
Glama
Diegoval-Dev

MCP Local Server

by Diegoval-Dev

MCP Local Server

Minimal Model Context Protocol (MCP) server written in Python.

Features

  • Implements JSON-RPC stdio transport.

  • Tools:

    • sum: safely sum a list of numbers.

    • grep_lines: filter lines containing a substring.

    • sha256: compute SHA-256 hash of text.

    • json_validate: validate data against a JSON Schema.

Related MCP server: MCP Math Tools

Usage

Run locally

python main.py

Test with jq or PowerShell

echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"Test","version":"0.1"}}}' | python main.py

Example tool call

echo '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"sum","arguments":{"values":[1,2,3.5]}}}' | python main.py

Logging

Setea MCP_LOG_FILE para escribir JSONL además de stderr:

$env:MCP_LOG_FILE="D:\ruta\log.jsonl"
python .\main.py
F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (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
    B
    quality
    D
    maintenance
    A Model Context Protocol server implementation that provides basic utility tools including echo, uppercase text conversion, and mathematical calculations.
    3
    270
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Provides basic mathematical operations like addition, subtraction, multiplication, and division via the Model Context Protocol using stdio transport. This project serves as a complete reference implementation for a functional MCP server and client setup.
  • F
    license
    A
    quality
    D
    maintenance
    A lightweight MCP server providing utility tools for math, text processing, data conversion, and URL fetching. It supports both STDIO and SSE communication modes for seamless integration with Claude Desktop and remote AI agents.
    5
    1
  • F
    license
    -
    quality
    C
    maintenance
    A model-agnostic MCP server exposing example tools (add1, multiply2, greet) for learning purposes, working with any LLM through stdio transport.

View all related MCP servers

Related MCP Connectors

  • A Model Context Protocol server for Wix AI tools

  • MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol

  • Remote MCP server: 10 developer utilities (base64, JWT, DNS, UUID, URL, JSON, UA, IP lookup).

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

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