Skip to content

Conversation

@Scra3
Copy link
Member

@Scra3 Scra3 commented Dec 22, 2025

Summary

  • Add new update MCP tool to update records in a collection
  • Accepts collectionName, recordId and attributes object
  • Handles LLM sending attributes as JSON string (preprocessing)
  • Activity logging with 'update' action
  • Returns the updated record

Dependencies

This PR is based on #1388 (feat/create) and should be merged after it.

Test plan

  • Unit tests for update tool (15 tests)
  • All mcp-server tests pass (364 tests)

🤖 Generated with Claude Code

@qltysh
Copy link

qltysh bot commented Dec 22, 2025

1 new issue

Tool Category Rule Count
qlty Structure Function with many parameters (count = 4): declareUpdateTool 1

@Scra3 Scra3 force-pushed the feat/update branch 2 times, most recently from 859b547 to 7cd3aa0 Compare December 23, 2025 16:38
@Scra3 Scra3 changed the base branch from feat/create to main December 23, 2025 16:39
Add a new MCP tool to update records in a collection:
- Accepts collectionName, recordId and attributes object
- Handles LLM sending attributes as JSON string
- Activity logging with 'update' action
- Returns the updated record

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@qltysh
Copy link

qltysh bot commented Dec 24, 2025

Qlty

Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@Scra3 Scra3 merged commit 93f352d into main Dec 24, 2025
22 checks passed
@Scra3 Scra3 deleted the feat/update branch December 24, 2025 14:22
forest-bot added a commit that referenced this pull request Dec 24, 2025
# @forestadmin/mcp-server [1.5.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-12-24)

### Features

* **mcp-server:** add delete tool ([#1387](#1387)) ([d633d5c](d633d5c))
* **mcp-server:** add update tool ([#1389](#1389)) ([93f352d](93f352d))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants