Claude Code
Native MCP integration
Claude Code has native support for MCP servers. After installing GrantAi, add it as an MCP server with a single command.
1. Install GrantAi
Download and run the installer for your platform.
# Download from solonai.com/grantai/download unzip grantai-*.zip ./install.sh your@email.com
2. Add to Claude Code
Register GrantAi as an MCP server.
claude mcp add grantai ~/.grantai/bin/grantai-mcp
3. Verify
Start Claude Code and check that GrantAi tools are available.
claude mcp list
You should see grantai in the list of MCP servers.
Windows Configuration
On Windows, add GrantAi using the Windows path:
claude mcp add grantai C:\GrantAi\in\grantai-mcp.exe
Troubleshooting: Tools Not Showing
If GrantAi tools don't appear immediately in Claude Code, they may be "deferred" (loaded on-demand). To force tools to load immediately, edit your ~/.claude.json config:
{
"model": "sonnet",
"env": {
"ENABLE_TOOL_SEARCH": "false"
},
"mcpServers": {
"grantai": {
"command": "~/.grantai/bin/grantai-mcp"
}
}
}On Windows, use C:\\GrantAi\\bin\\grantai-mcp.exe as the command path.
Available Tools
grantai_inferQuery memory for relevant contextgrantai_teachStore facts and informationgrantai_learnImport files and codebasesgrantai_summarizeSave session summariesgrantai_projectTrack project stategrantai_snippetSave code patterns