Roaming RAG for codebases: splits files into logical chunks and lets the LLM search them without embeddings.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add mcpunk --env MCPUNK_INCLUDE_CHARS_IN_RESPONSE='<MCPUNK_INCLUDE_CHARS_IN_RESPONSE>' -- uvx mcpunk~/.codex/config.toml
[mcp_servers.mcpunk]
command = "uvx"
args = ["mcpunk"]
env = { MCPUNK_INCLUDE_CHARS_IN_RESPONSE = "<MCPUNK_INCLUDE_CHARS_IN_RESPONSE>" }
# codex mcp add mcpunk --env MCPUNK_INCLUDE_CHARS_IN_RESPONSE='<MCPUNK_INCLUDE_CHARS_IN_RESPONSE>' -- uvx mcpunk~/.cursor/mcp.json
{
"mcpServers": {
"mcpunk": {
"command": "uvx",
"args": [
"mcpunk"
],
"env": {
"MCPUNK_INCLUDE_CHARS_IN_RESPONSE": "<MCPUNK_INCLUDE_CHARS_IN_RESPONSE>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"mcpunk": {
"type": "stdio",
"command": "uvx",
"args": [
"mcpunk"
],
"env": {
"MCPUNK_INCLUDE_CHARS_IN_RESPONSE": "<MCPUNK_INCLUDE_CHARS_IN_RESPONSE>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"mcpunk": {
"command": "uvx",
"args": [
"mcpunk"
],
"env": {
"MCPUNK_INCLUDE_CHARS_IN_RESPONSE": "<MCPUNK_INCLUDE_CHARS_IN_RESPONSE>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"mcpunk": {
"command": "uvx",
"args": [
"mcpunk"
],
"env": {
"MCPUNK_INCLUDE_CHARS_IN_RESPONSE": "<MCPUNK_INCLUDE_CHARS_IN_RESPONSE>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"mcpunk": {
"command": "uvx",
"args": [
"mcpunk"
],
"env": {
"MCPUNK_INCLUDE_CHARS_IN_RESPONSE": "<MCPUNK_INCLUDE_CHARS_IN_RESPONSE>"
}
}
}
}Environment variables
MCPUNK_INCLUDE_CHARS_IN_RESPONSE
Replace the placeholders with your own credentials and keep them out of version control.