Skip to main content
Glama

Serena

by oraios

create_text_file

Quickly create or overwrite text files on the Serena MCP server by specifying a relative path and content. Returns success or failure status for file operations.

Instructions

Write a new file or overwrite an existing file. Returns a message indicating success or failure.

Input Schema

NameRequiredDescriptionDefault
contentYesThe (utf-8-encoded) content to write to the file.
relative_pathYesThe relative path to the file to create.

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "The (utf-8-encoded) content to write to the file.", "title": "Content", "type": "string" }, "relative_path": { "description": "The relative path to the file to create.", "title": "Relative Path", "type": "string" } }, "required": [ "relative_path", "content" ], "title": "applyArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oraios/serena'

If you have feedback or need assistance with the MCP directory API, please join our Discord server