Skip to main content
MCP v3 moves CodeAlive integrations onto the public Tool API v3 contract. It adds repository orientation, bounded file reading, relationship traversal, and metadata analytics while making tool names and arguments consistent across MCP and the HTTP API. This guide uses v1 for the original CodeAlive MCP generation built around get_data_sources, codebase_search, and codebase_consultant, and v2 for the later generation that also exposed canonical search, fetch, and relationship tools.
The hosted MCP endpoint and existing CodeAlive API keys do not change. For most remote users, the upgrade is: refresh the MCP configuration, restart the client, and update any prompts or automation that call old tool names or arguments.

What changed

Migrate with your agent

Paste this prompt into the coding agent you want to migrate. It inventories every CodeAlive integration available to the agent, upgrades each installed method, preserves self-hosted addresses, and tests the migrated tools. Mintlify code blocks include a copy button in the upper-right corner.
Agent migration prompt

Before you upgrade

  1. Locate the CodeAlive entry in your agent’s MCP configuration.
  2. Record whether it uses the hosted endpoint, Docker, or a source checkout.
  3. Search project instructions and automation for the removed aliases and old argument names shown below.
  4. Keep your existing API key. Do not paste it into source-controlled config.
Do not keep an old and a new CodeAlive server entry enabled at the same time. Clients may discover duplicate tools and route calls to the stale server.

Step 1: upgrade the server connection

Step 2: replace removed tool names

Update project rules, system prompts, saved workflows, and programmatic MCP calls:

Search call

Before (v1 / v2)
After (v3)

Chat call

Before (v1 / v2)
After (v3)
chat is the slowest and most expensive MCP tool. For an agent that can run several tool calls, prefer semantic_search and grep_search, then read the returned identifiers with fetch_artifacts and inspect their relationships.

Relationship profile values

Step 3: adopt the new tools

The existing calls can be migrated without using every new capability at once. Add these tools to agent allowlists and orchestration code when ready: The complete v3 set is documented on the MCP overview and in the Tool API Reference.

Step 4: update agent instructions

Old prompts often tell the agent to call one broad consultant tool. A v3 prompt should make direct evidence gathering the default:
For production-ready routing rules, see Instructing Coding Agents.

Step 5: verify the migration

After restarting the client:
  1. Open its MCP tools panel and confirm that CodeAlive exposes eleven tools.
  2. Confirm codebase_search and codebase_consultant are absent.
  3. Call get_data_sources with { "ready_only": false }.
  4. Call semantic_search with a full English question and one returned data source name.
  5. If you automate relationship traversal, exercise at least one snake_case profile such as calls_only.
  6. Trigger one intentionally invalid development call and confirm the client surfaces a repairable <tool_error> instead of treating it as an empty successful result.
The migration is complete when the client discovers only the canonical v3 tools and no prompt, rule, test fixture, or integration code references the removed aliases, conversation_id, alive_only, or camelCase relationship profiles.

Troubleshooting

Fully quit and restart the client; many MCP clients cache tool discovery for the process lifetime. Also check for a second CodeAlive entry that still points to an old local process or container.
MCP v3 renamed the semantic input to question. Keep query only for grep_search and for the optional relevance filter on get_data_sources.
Replace the v2 camelCase value with its v3 snake_case equivalent from the table above.
This is expected in v3: chat is stateless. Put the relevant prior findings, identifiers, scope, and constraints into every new question, or keep the research loop in your own agent and use the direct tools instead.