home / mcp / graphlit mcp server
Model Context Protocol (MCP) Server for Graphlit Platform
Configuration
View docs{
"mcpServers": {
"graphlit-graphlit-mcp-server": {
"command": "npx",
"args": [
"-y",
"graphlit-mcp-server"
],
"env": {
"GRAPHLIT_JWT_SECRET": "your-jwt-secret",
"GRAPHLIT_ENVIRONMENT_ID": "your-environment-id",
"GRAPHLIT_ORGANIZATION_ID": "your-organization-id"
}
}
}
}You set up the Graphlit MCP Server to connect MCP clients with the Graphlit platform, enabling you to ingest, organize, and search knowledge from multiple data sources. This server acts as the bridge that lets clients request content, run extraction and publishing workflows, and leverage Graphlit’s capabilities within your workflows.
Once the MCP server is running, you connect your MCP client (such as Cursor, Windsurf, Goose, or Cline) to the server endpoint. Ingest data from your sources (Slack, Discord, websites, email, Jira, GitHub, etc.) and organize it into Collections and Feeds. Use the server’s tools to search, retrieve, and refine results, including web crawling, extraction, and RAG-style conversations. The goal is to build a searchable, knowledge-rich base that your MCP clients can query for relevant information, across documents, pages, and conversations.
Typical usage patterns include: - Ingest data from connected sources into a Graphlit project. - Create and configure Collections and Feeds to organize ingested content. - Run web crawls and web searches to supplement your knowledge base. - Extract structured JSON from text to feed downstream workflows. - Publish outputs as audio or images when needed. - Use notifications to keep your team informed about new content or completed tasks.
Prerequisites you need before starting: - Node.js version 18.x or higher. - An active Graphlit Platform account with API access.
Option A: Quick install via one-click in your editor (VS Code) — choose one of the provided install buttons and follow the prompts. The setup will configure and run the MCP server for you.
Option B: Manual install by configuring your MCP client settings and running the server with NPX.
Option C: Install with Windsurf, Cline, Cursor, or Smithery as shown in the examples below.
Configure the MCP server to authenticate with the Graphlit platform using environment variables. The following values are required for a basic setup: - GRAPHLIT_ORGANIZATION_ID: Your Graphlit organization ID. - GRAPHLIT_ENVIRONMENT_ID: Your Graphlit environment ID. - GRAPHLIT_JWT_SECRET: Your JWT secret used to sign tokens.
Optional credentials for data connectors can be added as needed (Slack, Google Email, Notion, Jira, GitHub, etc.). These are not required for a minimal setup but enable broader ingestion capabilities.
{
"mcpServers": {
"graphlit-mcp-server": {
"command": "npx",
"args": ["-y", "graphlit-mcp-server"],
"env": {
"GRAPHLIT_ORGANIZATION_ID": "your-organization-id",
"GRAPHLIT_ENVIRONMENT_ID": "your-environment-id",
"GRAPHLIT_JWT_SECRET": "your-jwt-secret"
}
}
}
}Store sensitive values (organization ID, environment ID, JWT secret) securely and avoid committing them to source control. Rotate JWT secrets periodically and follow your organization’s security practices for token management.
Retrieve content items that match a query across all ingested sources.
Fetch contents within a specific collection for targeted results.
Search within data feeds to locate the most relevant sources.
Interact with stored conversations and retrieve context.
Find visually similar images from ingested media.
Crawl and map web pages to add fresh content to your knowledge base.
Perform web searches, including podcast search, to expand coverage.
Extract structured JSON from text to enable downstream processing.
Publish generated content as audio using ElevenLabs or similar services.
Publish generated content as images using image generation services.
Ingest files from local or connected storage sources.
Ingest and convert web pages to Markdown for storage.
Notify via Slack, Email, Webhook, or Twitter/X when events occur.
Set up and adjust project-level settings and workflows.
Create new collections to organize ingested content.
Add new content to existing collections.
Remove items from a collection as needed.