Simple MCP POC
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., "@Simple MCP POCread the contents of notes.txt"
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.
Simple MCP POC
A simple Model Context Protocol (MCP) server that exposes tools for:
Reading local files
Performing basic arithmetic operations
This project is intended as a proof of concept (POC) to understand how MCP servers work and how tools are exposed to clients.
Prerequisites
Node.js v18 or higher
npm (comes with Node.js)
node -v npm -v
---
## Installation
1. Clone or copy this repository
2. Open a terminal in the project directory
3. Install dependencies:
```bash
npm installRelated MCP server: Test MCP Server
Running the Server
Start the MCP server using standard I/O (stdio):
node server.jsThe server will start and wait for JSON-RPC messages on stdin/stdout.
Testing with MCP Inspector
The easiest way to test the server is using the MCP Inspector tool.
Windows (PowerShell)
$env:DANGEROUSLY_OMIT_AUTH="true"
npx mcp-inspector node server.jsmacOS / Linux
DANGEROUSLY_OMIT_AUTH=true npx mcp-inspector node server.jsAfter running, open your browser to http://localhost:6274 to interact with the tools.
Available Tools
The server exposes two tools:
1. read_file
Reads the content of a local text file.
Arguments:
path(string): The relative or absolute path to the file.
Example usage:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "read_file",
"arguments": {
"path": "notes.txt"
}
}
}2. calculator
Performs basic arithmetic operations.
Arguments:
a(number): First operandb(number): Second operandoperation(string): One ofadd,subtract,multiply,divide
Example usage:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "calculator",
"arguments": {
"a": 10,
"b": 5,
"operation": "add"
}
}
}Manual Testing (JSON-RPC)
You can also test the server by sending raw JSON-RPC messages to the running server process.
Example: Read notes.txt
# Start server
node server.js
# In another terminal, send JSON-RPC request
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"read_file","arguments":{"path":"notes.txt"}}}' | node server.jsProject Structure
mcp-poc/
├── server.js # Main MCP server entry point
├── package.json # Project dependencies
└── README.md # This fileThis server cannot be installed
Maintenance
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
- FlicenseAqualityDmaintenanceA simple and extendable MCP server that currently provides basic addition functionality and can be easily extended by defining new tools with docstrings.Last updated4
- Alicense-qualityDmaintenanceA simple learning-focused MCP server that demonstrates basic functionality with tools for mathematical operations, system information, and email validation, plus sample file resources. Perfect for understanding MCP protocol basics and testing integrations.Last updated2,955ISC
- Flicense-qualityDmaintenanceA simple educational MCP server providing basic math operations, string manipulation, and greeting functionality. Demonstrates how to implement MCP tools for learning purposes.Last updated
- Flicense-qualityDmaintenanceA sample MCP server that provides basic arithmetic tools like addition, subtraction, multiplication, and division. It serves as a demonstration for implementing the Model Context Protocol and connecting custom tools to clients like Claude Desktop.Last updated
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
MCP server exposing the Backtest360 engine API as tools for AI agents.
A basic MCP server to operate on the Postman API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Ghanishtha12/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server