================== /// MCP /// /// GRA /// ================== [server:online] [protocol:ready]
graphlit-mcp-server
by graphlit
Model Context Protocol (MCP) Server that connects MCP-compatible IDE/agent clients with the Graphlit knowledge-graph platform for ingestion, search, RAG and publishing workflows.
342
42
EnterpriseInstallation
Prerequisites
- Node.js ≥18 (LTS) and npm, pnpm or yarn
- Git
- A Postgres or other storage backend supported by Graphlit (see docs)
Steps
1. Clone the repository
git clone https://github.com/graphlit/graphlit-mcp-server.git
cd graphlit-mcp-server
2. Install dependencies
# pick one package manager
npm install # or
yarn install # or
pnpm install
3. Build the TypeScript sources (if you plan to run in production)
npm run build # compiles to ./dist
4. Configure the server
Copy .env.example to .env and fill in the values:
PORT=8080 # HTTP port
DATABASE_URL=postgres://user:pass@host:5432/graphlit
GRAPHLIT_API_KEY=<token> # Token used by MCP tools to call Graphlit platform
(Add any provider-specific keys, e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.)
5. Start the development server
npm run dev # uses ts-node & nodemon
# ‑-or-- run the compiled build
node dist/index.js
6. Verify
Open http://localhost:8080/health or /v1/status – the endpoint should return 200 OK.
Documentation
License: MIT License
Updated 7/30/2025