BlackLotus MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
BlackLotus MCP Server (Node.js + StreamableHTTPServerTransport)
An MCP server that responds with plain text content for AI tools, built with Node.js/TypeScript and the Model Context Protocol SDK. It uses the Streamable HTTP transport with session management over Express.
Server name:
context7-mcp-serverTransport:
StreamableHTTPServerTransportTools:
create_plan,create_tasks,create_role
Prerequisites
Node.js >= 18.18
Related MCP server: Spec Workflow MCP
Install & Run
From the blacklotus_mcp/ directory:
npm install
npm run devThe server starts on http://localhost:3000 by default.
Endpoints
POST /mcp– JSON-RPC over HTTP for client->server messages. Used for initialization and tool calls.GET /mcp– Server-Sent Events for server->client notifications (requiresmcp-session-idheader).DELETE /mcp– Terminates a session (requiresmcp-session-idheader).GET /health– Basic readiness probe.
CORS is enabled for demo purposes with origin: "*", and exposes the Mcp-Session-Id response header. Adjust for production.
JSON-RPC Examples (curl)
1) Initialize a session
curl -i \
-H "Content-Type: application/json" \
-X POST http://localhost:3000/mcp \
--data '{
"jsonrpc":"2.0",
"id":"1",
"method":"initialize",
"params":{
"protocolVersion":"2024-11-05",
"capabilities":{},
"clientInfo":{"name":"curl","version":"0.0.1"}
}
}'On success, the response will include a
Mcp-Session-Idheader. Copy its value for subsequent calls.
2) Call create_plan tool
curl -i \
-H "Content-Type: application/json" \
-H "mcp-session-id: <PASTE_SESSION_ID>" \
-X POST http://localhost:3000/mcp \
--data '{
"jsonrpc":"2.0",
"id":"2",
"method":"tools/call",
"params":{
"name":"create_plan",
"arguments":{"text":"Build an e-commerce app with payments and order tracking"}
}
}'3) Call create_tasks tool
curl -i \
-H "Content-Type: application/json" \
-H "mcp-session-id: <PASTE_SESSION_ID>" \
-X POST http://localhost:3000/mcp \
--data '{
"jsonrpc":"2.0",
"id":"3",
"method":"tools/call",
"params":{
"name":"create_tasks",
"arguments":{"text":"<PASTE_THE_PLAN_TEXT_HERE>"}
}
}'4) Call create_role tool
curl -i \
-H "Content-Type: application/json" \
-H "mcp-session-id: <PASTE_SESSION_ID>" \
-X POST http://localhost:3000/mcp \
--data '{
"jsonrpc":"2.0",
"id":"4",
"method":"tools/call",
"params":{
"name":"create_role",
"arguments":{"text":"<PROJECT_CONTEXT_AND_GOALS>"}
}
}'5) Subscribe to notifications (SSE)
curl -N \
-H "mcp-session-id: <PASTE_SESSION_ID>" \
http://localhost:3000/mcp6) End the session
curl -i \
-X DELETE \
-H "mcp-session-id: <PASTE_SESSION_ID>" \
http://localhost:3000/mcpCode Overview
src/index.tsCreates an Express app with CORS and JSON body parsing.
Manages MCP sessions with
StreamableHTTPServerTransportand a session map.Defines three tools via
McpServer:create_plan(text: string)– returns a comprehensive technical design document as plain text (intended forplan.md).create_tasks(text: string)– returns a phase-based checklist as plain text (intended fortasks.md).create_role(text: string)– returns a detailed role definition as plain text (intended forrole.md).
tsconfig.json– TypeScript config usingNodeNextmodules.package.json– Scripts fordev,build,start.
Security Notes
For local-only usage, you can enable DNS rebinding protection:
const transport = new StreamableHTTPServerTransport({
sessionIdGenerator: () => randomUUID(),
enableDnsRebindingProtection: true,
allowedHosts: ["127.0.0.1"],
});Adjust CORS origin, allowedHeaders, and exposed headers for your deployment environment.
Production
Run
npm run buildto compile todist/, thennpm start.Place behind a reverse proxy and configure TLS and CORS appropriately.
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate architecture docs, implementation plans, and dev tickets from your project requirements.
Transform project ideas into paint-by-numbers development plans with phases, tasks, and subtasks.
Manage tasks, projects, roadmaps, files, meetings, and team workflows with AI tools.
One project plan that you, your team and each of your AIs read and write.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides software development planning tools to help users create implementation plans and manage todo items.3-
- AlicenseAqualityDmaintenanceProvides structured spec-driven development workflow tools for AI-assisted software development with sequential spec creation (Requirements → Design → Tasks). Features a real-time web dashboard for monitoring project progress and managing development workflows.5680 npm4,308GPL 3.0
- -licenseNot gradedqualityNot gradedmaintenanceEnables automated project analysis and structured development specification generation. Supports multiple export formats and integrates with AI models for comprehensive project documentation and validation.-
- AlicenseBqualityCmaintenanceEnables AI agents to create, manage, and search hierarchical plans with phases, tasks, and milestones through a comprehensive planning API. Supports CRUD operations, batch updates, rich context retrieval, and artifact management for structured project planning.3768 npm3MIT