Cursor/Claude Code can run the MCP server and tools work end-to-end against the emulator.
Server builds and registers all tools.
.mcp.json with roomy-firestore-mcp entryROOMY_MCP_REPO_ROOTemulatorlist_collections returns entity types from datamodelscreate_doc → get_doc → update_doc → delete_doc.mcp.json with roomy-firestore-mcp entrycommand: "node" and args: ["roomy-firestore-mcp/dist/index.js"]ROOMY_MCP_REPO_ROOT to absolute path of repo rootROOMY_MCP_DEFAULT_ENV to emulatorget_env returns emulator (user validation)set_env({ environment: "staging" }) (expect failure without SA) (user validation)list_collections returns expected types (user validation)get_schema({ type: "users" }) returns fields (user validation)create_doc → get_doc → update_doc → delete_doc flow (user validation).mcp.json entry:
"roomy-firestore-mcp": {
"command": "node",
"args": ["roomy-firestore-mcp/dist/index.js"],
"env": {
"ROOMY_MCP_REPO_ROOT": "/Users/codaveto/Repos/roomy/roomy-mobile/roomy-firebase",
"ROOMY_MCP_DEFAULT_ENV": "emulator"
}
}
Reacties