Skip to content

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

Closed
aksOps wants to merge 1 commit into
mainfrom
feat/mcp-rename-and-register
Closed

feat(mcp): rename server to "CODE MCP" + ship project-scoped .mcp.json#121
aksOps wants to merge 1 commit into
mainfrom
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>
@aksOps
Copy link
Copy Markdown
Contributor Author

aksOps commented May 13, 2026

Closing — the Go port (PR #130) renames the MCP server to 'CODE MCP' (mcp.ServerOptions.Name = "CODE MCP" in go/internal/cli/mcp.go) and the Phase 6 cutover (PR #132) deleted src/main/resources/application.yml and rewrote CLAUDE.md + README.md. The original change has been superseded.

.mcp.json at the repo root is now an agent-specific concern; users wire it locally pointing at the codeiq binary.

@aksOps aksOps closed this May 13, 2026
@aksOps aksOps deleted the feat/mcp-rename-and-register branch May 13, 2026 16:54
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