Back to Home
NaziurRahman1312 icon

mcp-server-101

Verified Safe

by NaziurRahman1312

Overview

An HTTP-friendly Model Context Protocol (MCP) server providing a JSON-RPC interface for clients and a REST API for managing prompts, resources, and tools, with FAISS-powered semantic search.

Installation

Run Command
python run_server.py

Security Notes

The server demonstrates good security practices by using Pydantic for input validation on both REST and MCP endpoints, and SQLAlchemy for database interactions, mitigating common injection risks. Crucially, user-provided tool code (stored in the database) is not executed by the server; it is merely returned as text. Configuration is externalized via environment variables. The broad CORS policy (allow_origins=['*']) is noted, which is common for development but should be restricted in production environments.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-11-25

Tags

MCPFastAPIJSON-RPCREST APISemantic SearchFAISSSQLiteClean Architecture