<!-- https://testapilocally.com/questions/ · updated 2026-11-19 -->
# Questions about AI agents, API tests and databases

Short answers on letting AI coding agents test APIs and check databases locally.

- [Let Claude Code test my API locally](/questions/claude-code-test-api-locally/): Give Claude Code an MCP server that calls your local API with real checks, instead of curl one-liners, and saves those checks so they rerun. Setup in one command.
- [Verify a database migration with an AI agent](/questions/ai-agent-verify-database-migration/): Let a coding agent check a migration with read-only SQL assertions (schema, row counts, nulls, backfills) through an MCP server, without giving it write access.
- [Read-only SQL for AI agents](/questions/read-only-sql-access-for-ai-agents/): How to let an AI coding agent query your database without being able to change it. Driver-enforced read-only transactions, single statements, row limits, redacted passwords and an audit log.
- [curl vs MCP for API testing](/questions/curl-vs-mcp-for-api-testing/): When an AI coding agent should use curl and when an MCP API-testing tool is better. Context cost, pass/fail checks, secrets, and saving tests.

Start here: [SignOff Studio MCP server](/mcp/).
