ariadne
What it does
Returns only the unit tests affected by your current Kotlin/Android code changes.
- Connects 내 컴퓨터에서 실행
- Account or key No key needed
- Category 개발자 도구
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 13일
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
컴퓨터용 Claude 앱 설정 파일 열기
SettingsDeveloperEdit Config
이 설정을 붙여 넣고 저장
{ "mcpServers": { "ariadne": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/mikhailhal/ariadne:0.4.0" ] } } }Claude를 끄고 다시 열기
해 보기
ariadne을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 ariadne을 쓰고 있다고 하거나 답에 ariadne 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 ariadne에 연결할 수 없어요
ariadne는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
대신 이렇게 할 수 있어요
A · ariadne에 연결되는 앱 쓰기
- 먼저 컴퓨터에 Docker를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
- 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
- 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
- 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
B · 개발자 도구에서 ChatGPT에 연결되는 다른 서버
같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
터미널 열기
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
이 명령을 붙여 넣고 Enter
claude mcp add --scope user ariadne -- docker run -i --rm ghcr.io/mikhailhal/ariadne:0.4.0Claude Code에서 /mcp 입력
ariadne이 목록에 있고 연결됨으로 보이면 돼요
해 보기
ariadne을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 ariadne을 쓰고 있다고 하거나 답에 ariadne 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
Cursor에서 AI 채팅을 Agent 모드로 열기
해 보기
ariadne을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 ariadne을 쓰고 있다고 하거나 답에 ariadne 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
VS Code에서 AI 채팅을 Agent 모드로 열기
해 보기
ariadne을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 ariadne을 쓰고 있다고 하거나 답에 ariadne 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
개발자용: 터미널 명령과 JSON 설정
컴퓨터에 설치
Claude Code
claude mcp add --scope user ariadne -- docker run -i --rm ghcr.io/mikhailhal/ariadne:0.4.0Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"ariadne": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mikhailhal/ariadne:0.4.0"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"ariadne": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mikhailhal/ariadne:0.4.0"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"ariadne": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mikhailhal/ariadne:0.4.0"
]
}
}
}이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
한눈에 보기
- 주간 다운로드i
- npm/PyPI에 없음
- 연결 방식
- 내 컴퓨터에서 실행
- 최신 버전i
- 0.4.0
- 레지스트리 공개i
- 2026년 7월 25일
- 코드 마지막 변경i
- 2026년 9월 20일
- 제작자
- MikhailHal
- 패키지
oci: ghcr.io/mikhailhal/ariadne:0.4.0- 웹사이트
- github.com
- 레지스트리 상태
- 활성
어떤 앱에서 쓸 수 있나요
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
할 수 있는 일
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 13일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 sazanami-lab 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ✓ 통과
계속 관리되고 있음
코드 마지막 변경: 2개월 전
- ✓ 통과
라이선스 있음
Apache-2.0 사용
- – 해당 없음
엔드포인트 응답
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
- – 해당 없음
OAuth로 로그인
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
토론
질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
사용자 리뷰
아직 리뷰가 없어요
개발자 도구 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 5829개 중 81%보다 스타가 많아요
- 이 카테고리의 다른 서버 5829개 중 23%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 5829개 중 100%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
ariadne, 안전한가요?
해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 2개월 전 변경됐고, 최신 버전(0.4.0)은 4개월 전 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Docker도 있어야 해요.
같은 카테고리의 다른 것
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
제작자의 README
README 열기
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
ariadne
MCP Server for Affected Test Selection
ariadne is an MCP (Model Context Protocol) server that provides AI agents with the ability to identify affected tests. Powered by sazanami, it analyzes code changes and returns only the tests that need to be run.
[!IMPORTANT]
## ⚠️ MUST READ: Speed over Completeness
ariadne is built for the agent inner loop — edit, verify, commit — where fast
feedback matters more than exhaustive selection. Static analysis cannot trace
every execution path: reflection, DI frameworks, and data-flow indirection
(e.g., Flux/MVI dispatch) can hide dependencies from any
affected-test-selection tool, not just ariadne.
Always keep a final line of defense in CI. Run the full test suite (or a
conservative selection) before merging. ariadne narrows what an agent runs
while iterating; it is not a replacement for CI.
When ariadne detects changes it cannot analyze (build scripts, resources,
unscanned source sets), it says so explicitly in the tool response instead of
silently reporting "no affected tests".
Features
- MCP Integration — Works with Claude Code, Claude Desktop, and other MCP-compatible clients
- Automatic Git Diff — No need to pass diff manually; ariadne runs
git diffinternally - Powered by sazanami — Uses Kotlin Analysis API for accurate static analysis
Installation
Homebrew (recommended)
brew install mikhailhal/tap/ariadne
Then register it with your MCP client — for Claude Code:
claude mcp add ariadne -- ariadne
Or add to your MCP client configuration manually (e.g., Claude Desktop):
{
"mcpServers": { "ariadne": { "command": "ariadne" } } }
Docker
docker run -i --rm -v /path/to/project:/workspace ghcr.io/mikhailhal/ariadne
Mount the project you want analyzed and pass /workspace as project_path. The image is also listed in the official MCP Registry as io.github.MikhailHal/ariadne.
Manual (release JAR)
Download ariadne- -all.jar from Releases (requires JDK 21+) and configure your client with "command": "java", "args": ["-jar", "/path/to/ariadne- -all.jar"].
Build from Source
git clone --recursive https://github.com/MikhailHal/ariadne.git
cd ariadne ./gradlew shadowJar # fat JAR: build/libs/ariadne- -all.jar
Usage
Once configured, AI agents can use the get_affected_tests tool:
Tool: get_affected_tests
Parameters:
project_path(required) — Path to the Kotlin projectscope(optional,deep|shallow, defaultdeep) — how far back to look:- `deep` — all changes since
base_branch(committed *and* uncommitted). Safest; the whole branch is covered so nothing you already committed slips through unverified. May select more tests. - `shallow` — uncommitted changes only (diff against
HEAD). Fastest, for the tight edit loop. Verifying already-committed work is left to the caller.base_branchis ignored. base_branch(optional,deepscope only) — Branch to compare against. When omitted, ariadne uses the repository's default branch (origin/HEAD). If that is not set (e.g. a repo with no remote), it returns an error asking you to passbase_branchexplicitly rather than guessing.
Returns:
- List of affected test FQNs (fully qualified names), sorted
- If the diff contains changes outside the analyzed Kotlin sources (build scripts, resources, unscanned source sets), a note is appended recommending a full test run for those changes
- Analysis is bounded by a 120s timeout; on timeout an explicit error is returned
Example
Agent request:
{
"name": "get_affected_tests", "arguments": { "project_path": "/path/to/your/kotlin/project" } }
Response:
com.example.UserServiceTest.testCreateUser
com.example.UserRepositoryTest.testSave
How It Works
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ MCP Client │ ──▶ │ ariadne │ ──▶ │ sazanami │ │ (Agent) │ │ (MCP Server)│ │ (Analysis) │ └─────────────┘ └─────────────┘ └─────────────┘ │ ▼ ┌─────────────┐ │ git diff │ └─────────────┘
- Agent calls tool — Passes project path to ariadne
- Run git diff — ariadne executes
git diff --unified=0against base branch - Analyze with sazanami — Build call graph and find affected tests
- Return results — List of test FQNs returned to agent
Real-World Validation: Now in Android
Measured against Now in Android (Google's reference Android app — 34 modules, ~268 Kotlin files):
| Metric | Result |
|---|---|
| Recall audit — 19 target functions across all layers | 18/18 valid targets detected (the 19th had no exercising unit test; correctly not selected) |
| End-to-end response time | ~4s (module discovery + call-graph build + BFS) |
| Module discovery | 34 modules via settings.gradle.kts, incl. nested modules and type-safe accessor dependencies |
| Source sets | main, debug, prod, benchmark, testDemo, … discovered per module (androidTest* excluded by design) |
Verified patterns include repositories behind project interfaces, a library-interface override (androidx.datastore.Serializer), operator fun invoke use cases, @Composable functions, extension mappers, ViewModel property-initializer chains, and callable references. Two representative results:
- Changing
core:common'sasResult()selects 14 tests across three modules, including ViewModel tests reachable only throughval uiState = ...stateIn(...) - Changing the mapper
PopulatedNewsResource.asExternalModel()selects 14 tests, including 11 repository tests reachable only through.map(Type::mapper)chains
Test-class selection rate
Every unit-test class in Now in Android was measured by changing a function in the class it tests and checking whether that test class was selected:
| Test style | Selected |
|---|---|
| Plain unit tests (construct the object, call it) | 13 / 13 valid targets |
| Robolectric / Compose screenshot tests | 12 / 12 |
Framework-dispatched callbacks (lint Detector) | 0 / 2 — see below |
Robolectric turned out not to be a barrier: those tests call the composable themselves (setContent { NiaTheme { ... } }), so the call exists in the source. What decides coverage is not the test runner but whether the test's own code contains the call.
What ariadne cannot see
The rule of thumb: if the framework calls your code instead of your test calling it, ariadne cannot connect them. These are limits of static analysis, not bugs — plan your CI safety net around them:
| Pattern | Status |
|---|---|
Framework-invoked callbacks — Fragment/Activity lifecycle (launchFragmentInContainer), lint Detector methods, Application.onCreate | Not traced: no call written in the test |
| Reflection / DI-container wiring | Not traced |
| UDF dispatch (Flux/MVI) | dispatch → collect is never an edge, but wiring in init (or a start() the test calls) is covered conservatively via constructor chains. Subscriptions started by DI/lifecycle are not covered (sazanami#38) |
stateIn / shareIn chains (map, onEach, flatMapLatest, combine) | Covered — verified with exact selection |
Instrumented tests (androidTest*) | Out of scope by design |
| Build scripts, resources, unscanned source sets | Not analyzed — reported explicitly in the tool response |
| Same-name top-level extensions in one package | Over-selected (receiver types are not part of top-level FQNs) — safe direction |
KMP source sets (commonMain, expect/actual) | Enumerated, but resolution quality unverified (#1) |
Full audit notes: sazanami#29, sazanami#38.
Requirements
- JDK 21 or later
- Git — For diff detection
Limitations
- Module discovery is convention-based: it parses
settings.gradle(.kts)includes, enumeratessrc/ /{kotlin,java}layouts, and readsproject(":x")/ type-safe accessor dependencies from build files. Dynamic includes,projectDirremapping, customsrcDirs, and dependencies injected by convention plugins are not detected — see #1 - Full graph rebuild on each request (no caching yet); analysis is capped at 120s
- See What ariadne cannot see for analysis-level gaps
License
Copyright 2025 ariadne contributors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
See LICENSE for the full text.