llmgraph

v0.1.1
io.github.abahocodes/llmgraph Checked 9 hours ago Published 4 months ago

Invoke deployed LLMGraph no-code LLM workflows (chat, RAG, automations) as MCP tools.

Values you need

VariableWhat it is
LLMGRAPH_ENDPOINTrequired Full deployment endpoint URL from the LLMGraph dashboard, e.g. https://llmgraph.ai/api/<graph_id>/<environment>
LLMGRAPH_API_KEYrequired secret API key for the deployment

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add llmgraph -e 'LLMGRAPH_API_KEY=<LLMGRAPH_API_KEY>' -e 'LLMGRAPH_ENDPOINT=<LLMGRAPH_ENDPOINT>' -- npx -y --package=@llmgraph/mcp-server@0.1.1 llmgraph-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "llmgraph": {
      "args": [
        "-y",
        "--package=@llmgraph/mcp-server@0.1.1",
        "llmgraph-mcp"
      ],
      "command": "npx",
      "env": {
        "LLMGRAPH_API_KEY": "<LLMGRAPH_API_KEY>",
        "LLMGRAPH_ENDPOINT": "<LLMGRAPH_ENDPOINT>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "llmgraph": {
      "args": [
        "-y",
        "--package=@llmgraph/mcp-server@0.1.1",
        "llmgraph-mcp"
      ],
      "command": "npx",
      "env": {
        "LLMGRAPH_API_KEY": "<LLMGRAPH_API_KEY>",
        "LLMGRAPH_ENDPOINT": "<LLMGRAPH_ENDPOINT>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LLMGRAPH_API_KEY",
      "id": "llmgraph-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "LLMGRAPH_ENDPOINT",
      "id": "llmgraph-endpoint",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "llmgraph": {
      "args": [
        "-y",
        "--package=@llmgraph/mcp-server@0.1.1",
        "llmgraph-mcp"
      ],
      "command": "npx",
      "env": {
        "LLMGRAPH_API_KEY": "${input:llmgraph-api-key}",
        "LLMGRAPH_ENDPOINT": "${input:llmgraph-endpoint}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.llmgraph]
command = "npx"
args = ["-y", "--package=@llmgraph/mcp-server@0.1.1", "llmgraph-mcp"]
env = { "LLMGRAPH_API_KEY" = "<LLMGRAPH_API_KEY>", "LLMGRAPH_ENDPOINT" = "<LLMGRAPH_ENDPOINT>" }

For AI agents

  1. Ask the user for: LLMGRAPH_ENDPOINT, LLMGRAPH_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: invoke_workflow.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json