Reproduce the problem with the local client
Run the build and smoke test from the meeting-notes project. The smoke test uses a supervised child process and a fixed fixture. A passing run confirms that a client can start this build, discover get_note, and receive the expected results.
npm run build
npm run smokeRead the first useful symptom
Write down the first error rather than summarizing the whole session as an MCP failure.
- If the build fails, use the TypeScript diagnostic and verify package names and versions match the v2 imports.
- If the process cannot start, resolve the Node executable and dist/server.js from the host’s configuration. Check whether each path exists on the host machine.
- If the server starts and discovery fails, look for diagnostics printed to stdout and check the SDK and client protocol support. Move logs to stderr.
- If discovery works and a call fails, compare the tool’s advertised schema with the actual arguments. Try weekly-01, missing-03, and weekly to distinguish success, a missing record, and rejected input.
- If a host displays a narrative answer, open its call details and confirm that get_note was actually invoked.
Add a diagnostic you can remove afterward
If you need to see whether the handler was entered, add this line inside the handler and rerun the known and invalid ID tests. The known ID should reach it, while the invalid ID should fail before the handler runs. Avoid including raw arguments in production diagnostics.
console.error("[meeting-notes] get_note handler entered");Make the next change small
Add one new test before replacing the fixtures with a real data source. Confirm that read failures produce a useful message, that results stay bounded, and that logs remain separate from protocol output. If a data store becomes necessary, start with a read-only identity for the minimal records the tool needs.