{
"mcpServers": {
"mcp-server-generic": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 228 days ago.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Server Generic and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server written in Go that provides three useful tools: sum numbers, multiply numbers, and count letters in a sentence.
Install dependencies:
go mod tidy
Run the server:
go run .
The server will start on port 8084 by default. You should see:
MCP Server starting on port 8084
Health check available at: http://localhost:8084/health
MCP endpoint available at: http://localhost:8084/mcp
Available tools: sum_numbers, multiply_numbers, count_letters
Health Check: Visit http://localhost:8084/health to verify the server is running.
The server implements the MCP (Model Context Protocol) specification. All requests should be sent as POST to /mcp with JSON-RPC 2.0 format.
curl -X POST http://localhost:8084/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {"name": "test-client", "version": "1.0.0"}
}
}'
curl -X POST http://localhost:8084/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/list",
"params": {}
}'
curl -X POST http://localhost:8084/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "sum_numbers",
"arguments": {
"numbers": [1, 2, 3, 4, 5]
}
}
}'
curl -X POST http://localhost:8084/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 4,
"method": "tools/call",
"params": {
"name": "multiply_numbers",
"arguments": {
"numbers": [2, 3, 4]
}
}
}'
curl -X POST http://localhost:8084/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 5,
"method": "tools/call",
"params": {
"name": "count_letters",
"arguments": {
"sentence": "Hello, World! 123"
}
}
}'
PORT: Server port (default: 8084)Example:
PORT=9000 go run .
mcp-server/
├── go.mod # Go module file
├── main.go # Server entry point
├── server.go # MCP server implementation
├── tools.go # Tool implementations
├── types.go # MCP protocol types
└── README.md # This file
go build -o mcp-server
./mcp-server
Use the curl examples above or any HTTP client that supports JSON-RPC 2.0.
This server implements the Model Context Protocol (MCP) specification with support for:
initialize - Initialize the MCP connectiontools/list - List available toolstools/call - Execute a tool with argumentsThe server provides detailed error messages for:
This project is open source and available under the MIT License.