Skip to content

crosslink init --force adds agent-prompt MCP entry but does not create the server .py file #543

@maxine-at-forecast

Description

@maxine-at-forecast

Bug

Running crosslink init --force updates .mcp.json to include the crosslink-agent-prompt MCP server entry, but does not write the corresponding Python server file to disk.

This leaves the MCP configuration pointing at a file that doesn't exist, causing the server to fail to start.

Steps to reproduce

  1. Run crosslink init --force in a project
  2. Observe .mcp.json now references crosslink-agent-prompt
  3. The referenced .py file is missing from the filesystem

Expected behavior

Either:

  • crosslink init --force should also create/copy the agent-prompt server .py file, or
  • It should not add the MCP entry if the file isn't being created

Environment

  • crosslink installed via uv
  • macOS

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions