Code search that lets AI coding agents find the right files in fewer steps. Use the hosted endpoint or self-host, works with Claude Code, Copilot and Cursor via MCP.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add miru --env TAKARA_API_KEY='<TAKARA_API_KEY>' -- npx -y @takara-ai/miru-code~/.codex/config.toml
[mcp_servers.miru]
command = "npx"
args = ["-y", "@takara-ai/miru-code"]
env = { TAKARA_API_KEY = "<TAKARA_API_KEY>" }
# codex mcp add miru --env TAKARA_API_KEY='<TAKARA_API_KEY>' -- npx -y @takara-ai/miru-code~/.cursor/mcp.json
{
"mcpServers": {
"miru": {
"command": "npx",
"args": [
"-y",
"@takara-ai/miru-code"
],
"env": {
"TAKARA_API_KEY": "<TAKARA_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"miru": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@takara-ai/miru-code"
],
"env": {
"TAKARA_API_KEY": "<TAKARA_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"miru": {
"command": "npx",
"args": [
"-y",
"@takara-ai/miru-code"
],
"env": {
"TAKARA_API_KEY": "<TAKARA_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"miru": {
"command": "npx",
"args": [
"-y",
"@takara-ai/miru-code"
],
"env": {
"TAKARA_API_KEY": "<TAKARA_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"miru": {
"command": "npx",
"args": [
"-y",
"@takara-ai/miru-code"
],
"env": {
"TAKARA_API_KEY": "<TAKARA_API_KEY>"
}
}
}
}需要的环境变量
TAKARA_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。