Dabouelhassan

Provides a simple MCP server exposing health and context endpoints for parameterized prompts.
  • python

0

GitHub Stars

python

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

You can run a lightweight MCP server that exposes a health check and a context endpoint to process parameterized prompts. This server is built with Python and FastAPI, making it easy to test prompt templates and see how your MCP client retrieves contextual information.

How to use

You interact with the server by calling two endpoints. The health check ensures the server is running, and the context endpoint returns a prepared context for a given prompt and set of parameters. Use your MCP client to send a request to the context endpoint with a prompt_id and a parameters object. The server responds with the generated context based on the prompt template and supplied values.

How to install

Prerequisites: Python 3.8 or newer and a functioning network environment.

Create and activate a virtual environment.

Install dependencies from the requirements file.

Run the server with the development server command.

python -m venv venv
source venv/bin/activate

pip install -r requirements.txt

uvicorn src.main:app --reload

Additional notes

The server provides two endpoints you should know about: a GET request to the root for health status and a POST request to /context to obtain a contextual output for a given prompt_id and parameters. Ensure your client handles JSON responses and tracks the status of the HTTP calls.

Available tools

healthCheck

Health check endpoint at GET / to verify the server is running and responsive.

contextEndpoint

Context endpoint at POST /context to retrieve contextual output for a given prompt_id and parameters.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational