Skip to content

feat(mcp): rename server to "CODE MCP" + ship project-scoped .mcp.json#121

Open
aksOps wants to merge 1 commit intomainfrom
feat/mcp-rename-and-register
Open

feat(mcp): rename server to "CODE MCP" + ship project-scoped .mcp.json#121
aksOps wants to merge 1 commit intomainfrom
feat/mcp-rename-and-register

Conversation

@aksOps
Copy link
Copy Markdown
Contributor

@aksOps aksOps commented May 5, 2026

Summary

  • Renames the MCP protocol-level server name from codeiqCODE MCP so clients see a distinctive identifier separate from the project/CLI name.
  • Adds project-scoped .mcp.json at the repo root: cloning + opening in Claude Code auto-registers the server.
  • Documents the user-scope registration command (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=true has been the default since v0.2.0 / PR #112, so the server is already discoverable on a fresh codeiq serve.

Diff

File Change
src/main/resources/application.yml spring.ai.mcp.server.name: codeiq"CODE MCP"
.mcp.json (new) {"mcpServers":{"code-mcp":{"type":"http","url":"http://localhost:8080/mcp"}}}
README.md New ### Use with Claude Code (MCP) subsection with claude mcp add command
CLAUDE.md One-line note under MCP Tools section about the new server-name string

Verification

Built target/code-iq-0.1.0-SNAPSHOT-cli.jar from this branch, ran codeiq serve on port 18888, posted a JSON-RPC initialize to /mcp:

STATUS: 200
serverInfo.name = "CODE MCP"
PASS: rename took effect

Out of scope (surfaced)

  • 9 pre-existing test failures in McpToolsExpandedTest (*ShouldReturnErrorWhenNoData cases — Jackson deserializing array as map) reproduce on origin/main without these changes. Not introduced by this PR; needs a follow-up.

Test plan

  • Build green on CI (modulo the pre-existing McpToolsExpandedTest failures noted above)
  • codeiq serve returns serverInfo.name == "CODE MCP" on /mcp initialize
  • Cloning this branch into a fresh CC session auto-registers code-mcp from .mcp.json

🤖 Generated with Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant