# 서브폴더에 설치할 때 발생하는 MCP 버그

**URL:** https://meta.discourse.org/t/mcp-bug-when-subfolder-install-in/402609
**Category:** Bug
**Tags:** fixed, mcp
**Created:** [5월 10, 2026, 8:26오후 UTC](https://meta.discourse.org/t/mcp-bug-when-subfolder-install-in/402609 "2026-05-10T20:26:42Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [5월 11, 2026, 4:44오전 UTC](https://meta.discourse.org/t/mcp-bug-when-subfolder-install-in/402609/2 "2026-05-11T04:44:36Z")

</div>

자세한 버그 보고서 수정 감사합니다:

> <https://github.com/discourse/discourse-mcp/pull/46>
>
> Preserve the path component when normalizing \`--site\` and \`auth\_pairs\`
> site URLs… so installations served from a subfolder (e.g.
> \`https://example.com/forum\`) route correctly.
> 
> \- Route leading-slash API paths like \`/about.json\` and \`/search.json\`
> under the configured subfolder base
> \- Keep root-site behavior unchanged for sites hosted at the domain root
> \- Add tests covering subfolder and root-base URL resolution, cache key
> stability, and the select-site/tethered search flows
> 
> Bumps version to 0.2.8.

---

_[View the full topic](https://meta.discourse.org/t/mcp-bug-when-subfolder-install-in/402609)._
