Rename pal-e-docs-mcp repo to pal-e-mcp + update SDK imports #50
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-mcp#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Part of repo rename initiative. Depends on pal-e-docs-sdk → pal-e-sdk rename completing first (import paths change).
Repo
forgejo_admin/pal-e-docs-mcp→forgejo_admin/pal-e-mcpUser Story
As the platform
I want the MCP server repo named pal-e-mcp instead of pal-e-docs-mcp
So that the naming is consistent with the project naming convention
Context
The MCP server provides 36+ tools for AI agents to interact with the pal-e-docs knowledge platform. The repo name should be pal-e-mcp. The MCP server KEY in settings.json stays
pal-e-docsbecause that's the project name — this means zero changes to hook tool matchers (mcp__pal-e-docs__*prefix stays).The main code change is updating SDK import paths from
pal_e_docs_sdktopal_e_sdk(after the SDK rename completes).CRITICAL:
~/.mcp.jsonhas hardcoded paths (/home/ldraney/pal-e-docs-mcpand modulepal_e_docs_mcp). This must be updated atomically with the directory rename or ALL agent sessions lose MCP tools.File Targets
Forgejo API rename:
PATCH /api/v1/repos/forgejo_admin/pal-e-docs-mcpwith{"name": "pal-e-mcp"}Files to modify in THIS repo:
pyproject.toml— update ALL fields: package name, script entry point, wheel path, uv source, SDK dependency name (pal_e_docs_sdk→pal_e_sdk)from pal_e_docs_sdk importstatements →from pal_e_sdk importsrc/pal_e_docs_mcp/→src/pal_e_mcp/— rename package directory (if applicable).woodpecker.yaml(or.yml) — verify image pathstests/— update import pathsCRITICAL file outside this repo (must update atomically):
~/.mcp.json— updatecommandpath from/home/ldraney/pal-e-docs-mcpto/home/ldraney/pal-e-mcp, update module namepal_e_docs_mcp→pal_e_mcpFiles that do NOT exist (confirmed by review):
CLAUDE.md— does not exist in this repo, do not createFiles the agent should NOT touch:
settings.jsonMCP server key — stayspal-e-docs(project name)mcp__pal-e-docs__*prefix staysdisallowedToolslists — tool prefix staysAcceptance Criteria
forgejo_admin/pal-e-mcpmcp__pal-e-docs__*(unchanged)pal_e_sdkpackage name~/.mcp.jsonpoints to new path and moduleTest Expectations
pytestpasses (if tests exist)mcp__pal-e-docs__get_noteafter restartsource .venv/bin/activate && python -c "import pal_e_mcp; print('OK')"Constraints
pal-e-docs~/.mcp.jsonupdate must be atomic with directory rename — if either is done without the other, all sessions lose MCP toolsChecklist
~/.mcp.jsonupdatedRelated
forgejo_admin/pal-e-docs-sdk#38— must complete firstphase-pal-e-docs-repo-renames— deferred phase this replacesScope Review: NEEDS_REFINEMENT
Review note:
review-441-2026-03-26Well-structured issue with complete template and traceability. Three gaps found:
/home/ldraney/pal-e-docs-mcpand modulepal_e_docs_mcp. MCP server breaks immediately on directory rename if this isn't updated in the same session. Clarify ownership (this ticket vs #442)Additionally: dependency on SDK rename (pal-e-docs-sdk#38, board item #440) is in backlog. This ticket cannot move to next_up until that dependency progresses.
Scope Review: READY
Review note:
review-441-2026-03-26(updated)Re-review after refinements. All three issues from the initial review are resolved:
Two minor nits noted (README.md and uv.lock not in file targets) but these are standard rename artifacts, not blocking.
Dependency note: Board item #440 (SDK rename, pal-e-docs-sdk#38) is still in backlog. This ticket cannot move to next_up until that dependency completes.