Delete the stdio MCP server now that the API serves /mcp directly
src/Novelly.Mcp was a separate stdio process, unbuilt by CI, that looped back over HTTP to the same REST API the previous commit's /mcp endpoint now calls in-process. Nothing else referenced it (not CI, not Docker, not the AppHost), so removal is just the project, its solution entry, and scripts/publish-mcp.sh. Updates .mcp.json / .mcp.json.example to the type: http form, fixes .claude/agents/outline-importer.md's already-stale tool references (list_projects/create_project/etc. never existed; the real names are list_novels/create_novel/etc.), and rewrites README + CLAUDE.md's description of the MCP surface and how to verify it at runtime.
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Rebuilds the standalone Novelly.Mcp binary that Claude Code (or Claude Desktop) spawns
|
||||
# per .mcp.json. Aspire does not run or manage this process, so nothing else rebuilds it —
|
||||
# run this after pulling changes that touch src/Novelly.Mcp, or the MCP server silently
|
||||
# keeps serving whatever was published last.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")/.." && source ./scripts/ci/lib.sh
|
||||
cd "$CI_ROOT"
|
||||
|
||||
ensure_dotnet
|
||||
|
||||
log "Publishing Novelly.Mcp to ./mcp-server"
|
||||
dotnet publish src/Novelly.Mcp -c Release -o ./mcp-server
|
||||
|
||||
log "Done. Reconnect the MCP server (e.g. /mcp in Claude Code) to pick up the new build."
|
||||
Reference in New Issue
Block a user