feat(mcp): rename server to "CODE MCP" + ship project-scoped .mcp.json#121
Open
feat(mcp): rename server to "CODE MCP" + ship project-scoped .mcp.json#121
Conversation
The MCP protocol-level server name was returned as "codeiq" via spring.ai.mcp.server.name. Renamed to "CODE MCP" so clients see a distinctive identifier separate from the project/CLI name (which remains "codeiq"). Also commits a project-scoped .mcp.json at the repo root: cloning the repo and opening it in Claude Code auto-registers the MCP server at http://localhost:8080/mcp without manual `claude mcp add`. Documented the user-scope registration command in README for cross-project use. No backend behavior change. Auth defaults are unchanged (mode=none + allow_unauthenticated=true since v0.2.0 / PR #112), so the server remains discoverable on a fresh `codeiq serve`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codeiq→CODE MCPso clients see a distinctive identifier separate from the project/CLI name..mcp.jsonat the repo root: cloning + opening in Claude Code auto-registers the server.claude mcp add --scope user code-mcp -t http http://localhost:8080/mcp) for cross-project use.No backend behavior change. Auth defaults unchanged —
mode=none + allow_unauthenticated=truehas been the default since v0.2.0 / PR #112, so the server is already discoverable on a freshcodeiq serve.Diff
src/main/resources/application.ymlspring.ai.mcp.server.name: codeiq→"CODE MCP".mcp.json(new){"mcpServers":{"code-mcp":{"type":"http","url":"http://localhost:8080/mcp"}}}README.md### Use with Claude Code (MCP)subsection withclaude mcp addcommandCLAUDE.mdVerification
Built
target/code-iq-0.1.0-SNAPSHOT-cli.jarfrom this branch, rancodeiq serveon port 18888, posted a JSON-RPCinitializeto/mcp:Out of scope (surfaced)
McpToolsExpandedTest(*ShouldReturnErrorWhenNoDatacases — Jackson deserializing array as map) reproduce onorigin/mainwithout these changes. Not introduced by this PR; needs a follow-up.Test plan
McpToolsExpandedTestfailures noted above)codeiq servereturnsserverInfo.name == "CODE MCP"on/mcpinitializecode-mcpfrom.mcp.json🤖 Generated with Claude Code