omniclaw icon indicating copy to clipboard operation
omniclaw copied to clipboard

MCP: add real end-to-end smoke tests for tools

Open Abiorh001 opened this issue 8 months ago • 0 comments

Summary

The MCP tool surface needs end-to-end smoke tests against the OmniClaw SDK.

Problem

The MCP layer exposes critical payment operations:

  • simulate
  • pay
  • create_payment_intent
  • confirm_payment_intent
  • cancel_payment_intent

Without end-to-end smoke coverage, the MCP contract can drift from the SDK or break at runtime.

What needs to happen

Add integration tests that exercise MCP tools against real SDK flows or realistic test doubles.

Acceptance criteria

  • smoke tests cover simulate
  • smoke tests cover pay
  • smoke tests cover payment intent lifecycle
  • tool failures map to structured MCP errors
  • tests are runnable locally and in CI or opt-in integration mode

Abiorh001 avatar Mar 09 '26 13:03 Abiorh001