Skip to content

Commit 3488bb2

Browse files
effieklimiclaude
andcommitted
feat: add landing page with project info and tool listing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 91ccc2a commit 3488bb2

1 file changed

Lines changed: 28 additions & 2 deletions

File tree

index.ts

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,35 @@ function startHttpServer(port: number): void {
177177
}
178178

179179
// Health check
180-
if (req.method === "GET" && (req.url === "/" || req.url === "/health")) {
180+
if (req.method === "GET" && req.url === "/health") {
181181
res.writeHead(200, { "Content-Type": "application/json" });
182-
res.end(JSON.stringify({ status: "ok", name: "ensembl-mcp", version: "1.0.0" }));
182+
res.end(JSON.stringify({ status: "ok" }));
183+
return;
184+
}
185+
186+
// Landing page
187+
if (req.method === "GET" && req.url === "/") {
188+
res.writeHead(200, { "Content-Type": "application/json" });
189+
res.end(JSON.stringify({
190+
name: "Ensembl MCP Server",
191+
version: "1.0.0",
192+
description: "Model Context Protocol server for the Ensembl genomics database. Provides AI-powered access to gene lookup, variant analysis (VEP), comparative genomics, regulatory features, coordinate mapping, and sequence retrieval across 300+ species.",
193+
mcp_endpoint: "/mcp",
194+
transport: "Streamable HTTP (MCP spec)",
195+
tools: [
196+
"ensembl_lookup - Gene/transcript/variant lookup by ID or symbol",
197+
"ensembl_feature_overlap - Find features overlapping a genomic region",
198+
"ensembl_variation - Variant analysis and VEP consequence prediction",
199+
"ensembl_sequence - DNA, RNA, and protein sequence retrieval",
200+
"ensembl_compara - Homology, gene trees, and cross-species alignments",
201+
"ensembl_regulatory - Regulatory features and binding matrices",
202+
"ensembl_mapping - Coordinate mapping between assemblies and systems",
203+
"ensembl_meta - Species lists, server info, and data releases",
204+
"ensembl_protein_features - Protein domains and annotations",
205+
"ensembl_ontotax - Ontology and taxonomy search",
206+
],
207+
source: "https://github.com/effieklimi/ensembl-mcp-server",
208+
}, null, 2));
183209
return;
184210
}
185211

0 commit comments

Comments
 (0)