We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lin2000wl/Serena-cursor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
from serena.agent import CreateTextFileTool, ReadFileTool, Tool
class TestEditMarker:
def test_tool_can_edit_method(self):
"""Test that Tool.can_edit() method works correctly"""
# Non-editing tool should return False
assert issubclass(ReadFileTool, Tool)
assert not ReadFileTool.can_edit()
# Editing tool should return True
assert issubclass(CreateTextFileTool, Tool)
assert CreateTextFileTool.can_edit()