Sentinel-MCP
Extensible trading-intelligence MCP server with diagnostic tools, structured logging, and tool registration; currently provides server info tool with plans for market data adapters.
README
Sentinel-MCP
Sentinel-MCP is an extensible trading-intelligence platform whose first interface is a Model Context Protocol (MCP) server. Milestone 1 provides a robust server foundation: configuration, structured logging, automatic tool registration, error boundaries, testing, and a diagnostic tool.
Trading execution and market-data integrations are intentionally out of scope for this milestone.
Architecture
The application follows dependency-oriented boundaries:
corecreates the MCP server and cross-cutting concerns such as logging and errors.configvalidates the runtime environment before startup.toolscontains independently registerable MCP capabilities.servicescontains application logic that tools depend on.modelscontains stable, provider-agnostic data contracts.
Future provider adapters (TradingView, Dhan, NSE, news, and caching) can be added behind service interfaces without changing the MCP entry point.
Requirements
- Node.js 22 or later (current LTS recommended)
- pnpm 9 or later
Installation
git clone <your-repository-url>
cd sentinel-mcp
pnpm install
cp .env.example .env
Development
pnpm dev
Build and run
pnpm build
pnpm start
The server communicates over standard input/output, as required by local MCP clients. Logs are written to stderr so they never corrupt the MCP protocol stream.
To use it with Claude Desktop after building, add a server entry that invokes the built file:
{
"mcpServers": {
"sentinel-mcp": {
"command": "node",
"args": ["/absolute/path/to/sentinel-mcp/dist/index.js"]
}
}
}
Available tools
get_server_info
Returns structured runtime data including server name, version, status, ISO timestamp, uptime, Node.js version, and host platform. It is a safe connection and health diagnostic.
Quality commands
pnpm typecheck
pnpm lint
pnpm test
pnpm format:check
Folder structure
src/
config/ Environment validation and runtime settings
core/ Server composition, errors, logging
models/ Provider-agnostic application contracts
providers/ External-provider contracts and future adapters
schemas/ Shared validation schemas
services/ Reusable application services
tools/ Self-registering MCP tools and registry
cache/ Cache implementations and policies
types/ Shared TypeScript declarations
utils/ Small, framework-independent helpers
tests/ Vitest coverage for foundation components
docs/ Project documentation (reserved for design documents)
scripts/ Project automation (reserved for operational scripts)
Configuration
Copy .env.example to .env. The defaults work for local development.
| Variable | Default | Purpose |
|---|---|---|
SENTINEL_APP_NAME |
Sentinel-MCP |
Server identity exposed to clients |
SENTINEL_APP_VERSION |
0.1.0-alpha |
Server version exposed to clients |
SENTINEL_LOG_LEVEL |
info |
Pino log level |
SENTINEL_TRANSPORT |
stdio |
MCP transport for this milestone |
Roadmap
- Provider interfaces and resilient market-data adapters.
- Shared cache, rate-limit, and retry policies.
- Symbol lookup and market intelligence tools.
- News enrichment and configurable alerting.
- Optional authenticated provider integrations.
License
Choose and add an open-source license before public distribution.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.