Frontmatter
| id | 7953 |
| title | Refactor Client Configuration Consistency |
| state | Closed |
| labels | airefactoring |
| assignees | tobiu |
| createdAt | Nov 30, 2025, 4:57 PM |
| updatedAt | Nov 30, 2025, 5:02 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7953 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 7931 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 30, 2025, 5:02 PM |
Context
Neo.ai.mcp.client.Clientcurrently has an inconsistent split betweenstatic configand class fields.commandandargsare configs, whileopenApiFilePathandrequiredEnvare fields, despite all four serving the same purpose (configuration derived fromserverNameor passed manually).Goal
Normalize the configuration properties in
Client.mjsto be consistent.Requirements
openApiFilePathfrom class field tostatic config(non-reactive).requiredEnvfrom class field tostatic config(non-reactive).loadServerConfigupdates these properties usingthis.openApiFilePath = ...(which works for both configs and fields, but for configs it's the proper setter).Deliverables
ai/mcp/client/Client.mjs.