refactor(mcp): add public name property to MCPServer #139

Merged
fuzzy merged 1 commit from fix/0097-mcp-name-property into main 2026-07-05 17:00:22 +00:00
Owner

What

Add a public name property to MCPServer and use it in engine.py instead of accessing the private _name attribute.

Why

Cleaner encapsulation — removes the # noqa: SLF001 suppression.

Testing

  • 145 unit tests pass
  • Pre-commit hooks pass

Closes #97

## What Add a public `name` property to `MCPServer` and use it in `engine.py` instead of accessing the private `_name` attribute. ## Why Cleaner encapsulation — removes the `# noqa: SLF001` suppression. ## Testing - [x] 145 unit tests pass - [x] Pre-commit hooks pass Closes #97
refactor(mcp): add public name property to MCPServer
Some checks failed
CI / test (pull_request) Successful in 54s
CI / lint (pull_request) Has been cancelled
9450b1fc16
Replaces direct _name access (with noqa: SLF001) with a proper
@property, keeping the private attribute but exposing it cleanly.
Closes #97
fuzzy force-pushed fix/0097-mcp-name-property from 9450b1fc16
Some checks failed
CI / test (pull_request) Successful in 54s
CI / lint (pull_request) Has been cancelled
to 9f5519cf3a
All checks were successful
CI / test (pull_request) Successful in 51s
CI / lint (pull_request) Successful in 1m19s
2026-07-05 16:55:52 +00:00
Compare
the.auditor left a comment

Automated Review — PR #139

Result: APPROVED


Clean refactor — adds @property name to MCPServer and uses server.name instead of server._name in engine.py. Removes noqa: SLF001 suppression. Closes #97.

No suggestions.

## Automated Review — PR #139 **Result: APPROVED** --- Clean refactor — adds `@property name` to `MCPServer` and uses `server.name` instead of `server._name` in `engine.py`. Removes `noqa: SLF001` suppression. Closes #97. No suggestions.
fuzzy merged commit 9f5519cf3a into main 2026-07-05 17:00:22 +00:00
fuzzy deleted branch fix/0097-mcp-name-property 2026-07-05 17:00:22 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai!139
No description provided.