MCP Local Server
Implements core computational tools including mathematical operations (sum), text processing (grep, SHA-256 hashing), and data validation utilities
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Local Serversum these numbers: 15, 23, 42.5"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 Server Basic Example
Usage
Run locally
python main.pyTest 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.pyExample tool call
echo '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"sum","arguments":{"values":[1,2,3.5]}}}' | python main.pyLogging
Setea MCP_LOG_FILE para escribir JSONL además de stderr:
$env:MCP_LOG_FILE="D:\ruta\log.jsonl"
python .\main.pyThis server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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