# Mcp servers: Conflict Between Cursor's \`edit\_file\` and Filesystem MCP Server in Composer Agent Mode

**URL:** <https://forum.cursor.com/t/mcp-servers-conflict-between-cursors-edit-file-and-filesystem-mcp-server-in-composer-agent-mode/50312>\
**Category:** Bug Reports\
**Created:** [February 12, 2025, 1:07pm UTC](https://forum.cursor.com/t/mcp-servers-conflict-between-cursors-edit-file-and-filesystem-mcp-server-in-composer-agent-mode/50312 "2025-02-12T13:07:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![atalas](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/atalas/32/17824_2.png) [@atalas](https://forum.cursor.com/u/atalas)\
**Post date:** [February 12, 2025, 1:07pm UTC](https://forum.cursor.com/t/mcp-servers-conflict-between-cursors-edit-file-and-filesystem-mcp-server-in-composer-agent-mode/50312/1 "2025-02-12T13:07:46Z")

</div>

Hey everyone, just wanted to share something I ran into while using the Cursor editor in Composer’s agent mode. It seems like there’s a bit of a conflict between Cursor’s `edit_file` function and the file operations provided by the Filesystem MCP Server. What I’ve noticed is that when you’re in agent mode, Cursor tends to prioritize the Filesystem MCP Server for file writing, rather than using its own `edit_file` functionality. Has anyone else experienced this or found a workaround?

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [February 20, 2025, 1:07am UTC](https://forum.cursor.com/t/mcp-servers-conflict-between-cursors-edit-file-and-filesystem-mcp-server-in-composer-agent-mode/50312/2 "2025-02-20T01:07:02Z")

</div>

Thanks for bringing this up! While I agree that MCP servers should not be able to override the build in tools, this probably isn’t something we limit in the code.

I’ll flag this to the team to fix in a future update!

---

<div class="post-metadata">

**Author:** ![msfeldstein](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/msfeldstein/32/12884_2.png) [@msfeldstein](https://forum.cursor.com/u/msfeldstein)\
**Post date:** [February 20, 2025, 1:17am UTC](https://forum.cursor.com/t/mcp-servers-conflict-between-cursors-edit-file-and-filesystem-mcp-server-in-composer-agent-mode/50312/3 "2025-02-20T01:17:39Z")

</div>

can you share a request id where this happens?

---

<div class="post-metadata">

**Author:** ![elianiva](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/elianiva/32/43055_2.png) [@elianiva](https://forum.cursor.com/u/elianiva)\
**Post date:** [April 1, 2025, 3:13am UTC](https://forum.cursor.com/t/mcp-servers-conflict-between-cursors-edit-file-and-filesystem-mcp-server-in-composer-agent-mode/50312/4 "2025-04-01T03:13:28Z")

</div>

just chipping in, i also experienced this. my issue is that write\_file just overwrites everything unlike edit\_file so i couldn’t do code review before accepting. a bit unfortunate because i like the other methods that filesystem mcp uses because then cursor doesn’t have to run shell commands to interact with the filesystem (mv, ls, mkdir, etc)

i’m not on my computer right now but i think i can share the request id later where the issue occurred once i got back

---

<div class="post-metadata">

**Author:** ![nitesh237](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nitesh237](https://forum.cursor.com/u/nitesh237)\
**Post date:** [August 5, 2025, 4:56am UTC](https://forum.cursor.com/t/mcp-servers-conflict-between-cursors-edit-file-and-filesystem-mcp-server-in-composer-agent-mode/50312/5 "2025-08-05T04:56:27Z")

</div>

Hi folks, just checking in. Is this issue resolved ? If not, is there any recommendations from the team on how to navigate this ?
