Install MCP Server to Claude Code CLI
You can also configure the InfraNodus MCP server in Claude Code. Note, that if you run Claude Desktop and have the MCP servers set up there, Claude Code has a different setup and will use the MCP servers that you install via its CLI or provide in its `.claude.json` file.The easiest way to install it is to run the following command in your terminal:
claude mcp add infranodus -s user \
-- env INFRANODUS_API_KEY=YOUR_INRANODUS_KEY \
npx -y infranodus-mcp-server
In this case, a configuration will be added to your Claude Code configuration file usually located at `~/Your_User_Name/.claude.json` (your username home directory). You can also add the configuration manually if you open that file, find `mcpServers` section (create it if it doesn't exist) and add the InfraNodus mcp server activation setting:
{
"mcpServers": {
"infranodus": {
"command": "npx",
"args": [
"-y",
"infranodus-mcp-server"
],
"env": {
"INFRANODUS_API_KEY": "YOUR_INFRANODUS_API_KEY_HERE"
}
}
}
Both methods run the infranodus-mcp-server npm package via npx, so you always get the latest published version.
Try Your First Prompt
Once the server is connected, paste this into Claude Code. The model chooses the tools on its own; naming them makes the first run predictable:
Use the InfraNodus MCP server to build a knowledge graph of this repository's docs folder, show me the main clusters and the central concepts, then run generate_content_gaps and tell me what the documentation never connects.
See the full list of tools with examples and the skills that teach the model when to use each one.