Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-mv/blob/main/docs/external/jan/8975/PR-TEXT.md # interplane-mv INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-mv / docs / external / jan / 8975 / PR-TEXT.md` 29 lines ยท 1689 bytes Raw Blame History Rendered 1 Title: fix(agent): advertise one definition per MCP tool name 2 3 Target: janhq/jan, base `main`, head aien-spark/jan `fix/mcp-duplicate-tool-names-8975`. 4 5 ## Describe Your Changes 6 7 - `assemble_tool_array` now advertises each MCP tool name once. When two servers expose the same name, only the definition from the server that `tool_to_server` already routes to is sent (last in sort order, unchanged), and a warning names both servers. 8 - Added `the_advertised_array_has_unique_names_and_matches_the_routing_table` (fails on main with `["read","search","search"]`) and updated the earlier collision test, which had asserted the duplicate. 9 - This is the "single winner" option from #8975 (the warning is a log line only, so a shadowed tool still silently disappears from the model's view). Cross-server collisions only; a server listing one name twice is not handled. 10 - No renaming, so saved prompts, permission lists and the byte-stable array order from #8974 are unaffected. Namespacing (option 1 in #8975) would be a separate decision. 11 12 ## Fixes Issues 13 14 - Closes #8975 15 16 ## How it was checked 17 18 `cd src-tauri && cargo test --locked --no-default-features --features cli --lib -- --test-threads=1`: 2316 passed, 1 failed. The failure (`reload_system_prompt_reads_agents_md_fallback`) also fails on the base commit on my machine and is unrelated. 19 Not run end to end against a live provider. 20 21 ## AI disclosure 22 23 This change was prepared with an AI assistant (Claude Code, Sonnet 5.5) and reviewed by the submitter. 24 25 ## Self Checklist 26 27 - [x] Added relevant comments, esp in complex areas 28 - [ ] Updated docs (for bug fixes / features) 29 - [ ] Created issues for follow-up changes or refactoring needed