MCP Server is a structured, standards-compliant API for serving metadata, service discovery endpoints, and machine learning content. It's designed to help AI and data science applications discover model context, training artefacts, research notebooks, and statistical methods efficiently.
This server follows the MCP specification and is production-ready, built with clean TypeScript code and a modular design.
.well-known/model-context
for structured model-level context resolution.well-known/v1.json
to define a public semantic schema using JSON-LD – this is your@context
document, allowing linked data vocab reuse- Service discovery endpoint at
/v1/discovery
/v1/content
endpoint to list available ML resources and data science artefacts- Clean Fastify setup using plugin architecture and async route loading
.env
support for flexible configuration, including versioning and metadata
npm install
to install all dependencies.npm run dev
to start the server in development mode with auto-reload (ts-node-dev
).- Copy
.env.dist
to.env
and configure the variables to fit your environment.
npm run start
– start the compiled server in normal mode (no hot reload)npm run prod
– full production build and run (builds and launches)npm run build
– compile TypeScript source code intodist/
JavaScript
npm run prettier:check
– check formatting issues using Prettiernpm run prettier:fix
– auto-format source files
The .env
file supports the following values:
APP_PORT=3000
APP_VERSION=1.0.0
MCP_VERSION=1.0.0
MCP_NAME="Data Science Services by Pierre"
MCP_DESCRIPTION="Freelance data scientist providing machine learning models, statistical analysis, and data-driven consulting."
MCP_TAGS="data science,machine learning,statistics,freelance,MCP"
MCP_CONTACT_EMAIL=[email protected]
MCP_CONTACT_WEBSITE=https://ph7.me
I regularly share updates, deep dives, and tutorials on building MCP servers and related AI infrastructure on social media:
Feel free to follow along, ask questions, and engage!
A Model Context Protocol (MCP) server is not just another REST API. Rather than simply exposing data, it provides machine-readable context and metadata about your ML services or models—using linked data formats like JSON-LD.
Its core purpose is to expose structured discovery endpoints—typically under .well-known/
—which allow AI agents and tooling ecosystems to understand your capabilities without needing human interpretation.
- Purpose: Normal APIs deliver functional data. MCP servers deliver semantic metadata.
- Endpoints: MCP uses
.well-known/model-context
andv1.json
for semantic discovery. - Format: All responses are structured as JSON-LD (not plain JSON), enabling interoperability and reuse across systems.
- Consumers: Designed for machines, not people—MCP endpoints target AI agents, search engines, or distributed tools.
Made with ❤️ by Pierre-Henry Soria. A super passionate & enthusiastic Problem-Solver / Senior Software Engineer. Also a true cheese 🧀, ristretto ☕️, and dark chocolate lover! 😋
Distributed under the MIT License 🎉 Happy hacking! 🤠