Connect Writer to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.
Ask your agent in plain language. Each of these maps to a real tool on the server.
Use the text completion tool in Writer
Use the download file tool in Writer
Use the delete file tool in Writer
Use the get agent details tool in Writer
Use the list files tool in Writer
Use the add file to knowledge graph tool in Writer
Supported Tools
text_completion
Text Completion
Generate text from a single prompt using Writer's Palmyra models. Unlike chat completion, this takes a plain text prompt and returns a text continuation. Best for single-turn text generation tasks like summarization, rewriting, or content creation.
download_file
Download File
DEPRECATED — use `download_original_file` instead. Download the content of a file by its ID as text.
delete_file
Delete File
Permanently delete a file discovered with list_files. The file will be disassociated from all Knowledge Graphs. This action cannot be undone.
get_agent_details
Get Agent Details
Retrieve details of a no-code agent discovered with list_agents, including its required inputs, configuration, and capabilities. Use this to understand what inputs are needed before invoking an agent.
list_files
List Files
List files uploaded to Writer. Returns file metadata including ID, name, status, and associated Knowledge Graph IDs. Supports pagination and ordering.
add_file_to_graph
Add File to Knowledge Graph
Add an uploaded file to a Knowledge Graph. Call list_knowledge_graphs and list_files to discover IDs. Upload the file with upload_file and wait for get_file to report completed before adding it.
query_knowledge_graph
Query Knowledge Graph
Ask a question to one or more Knowledge Graphs discovered with list_knowledge_graphs and get an AI-generated answer grounded in your uploaded data. Returns the answer, source references, and optional inline citations. Supports subquery decomposition for complex questions.
invoke_agent
Invoke No-Code Agent
Run a deployed no-code agent (application) as a microservice by providing its required inputs. Returns the generated output. Use **List Agents** first to find the agent ID and required input fields.
get_knowledge_graph
Get Knowledge Graph
Retrieve details and file ingestion status for a Knowledge Graph. Call list_knowledge_graphs to discover IDs.
list_knowledge_graphs
List Knowledge Graphs
List a page of accessible Knowledge Graphs in your Writer account. Returns the ID, name, description, and creation date of each graph.
create_knowledge_graph
Create Knowledge Graph
Create a new Knowledge Graph in Writer. A Knowledge Graph is a collection of files used for RAG-based question answering. After creation, add files to it using add_file_to_graph.
chat_completion
Chat Completion
Generate AI responses from conversation history using Writer's Palmyra models. Supports multi-turn conversations with system, user, and assistant messages. Can leverage **tool calling** with custom functions, Knowledge Graph queries, and web search. Use **response format** to get structured JSON output (compatible models).
list_agents
List Agents
List deployed no-code agents (applications) in your Writer account. Returns agent metadata including IDs, names, and types. Use this to discover available agents and their application IDs before invoking them.
list_models
List Models
List available Palmyra and configured external models in your Writer account. Returns model IDs and names. Use this to discover which models are available for text generation and chat completions.
delete_knowledge_graph
Delete Knowledge Graph
Permanently delete a Knowledge Graph and disassociate all its files. Call list_knowledge_graphs to discover IDs. This action cannot be undone.
remove_file_from_graph
Remove File from Knowledge Graph
Remove a file from a Knowledge Graph. Call list_knowledge_graphs and list_files to discover IDs. The file can be re-added later or used with other graphs.
update_knowledge_graph
Update Knowledge Graph
Update the name and/or description of an existing Knowledge Graph. Call list_knowledge_graphs to discover IDs.
get_file
Get File
Retrieve metadata for a file discovered with list_files, including the file name, processing status, and associated Knowledge Graphs.
download_original_file
Download Original File
Prepare an uploaded Writer file discovered with list_files for download, preserving the original binary content.
upload_file
Upload File
Upload a text or binary file to Writer for Knowledge Graphs or agent inputs. Optionally associate it with a graph. Retrieve the file afterward to confirm the graph association.
Enable Writer in Metorial. In your Metorial portal, enable the Writer MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
Sign in. Select Add and sign in to load Writer tools.
Enable Writer in Metorial. In your Metorial portal, enable the Writer MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom MCP server. On ChatGPT web, open Plugins, select +, then Add custom MCP server.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
Create and install the plugin. Select Create as a plugin, install it and sign in to load Writer tools.
Enable Writer in Metorial. In your Metorial portal, enable the Writer MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add Metorial to your MCP config. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
Sign in. Open Customize in the sidebar, find Metorial and sign in to load Writer tools.
{
"mcpServers":{
"metorial":{
"url":"<your-magic-mcp-url>"
}
}
}
Enable Writer in Metorial. In your Metorial portal, enable the Writer MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server over HTTP. Add --scope user to use it in every project.
Sign in. Run /mcp, select Metorial and sign in to load Writer tools.
claude mcp add --transport http metorial <your-magic-mcp-url>
Enable Writer in Metorial. In your Metorial portal, enable the Writer MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server and sign in. The Codex CLI, IDE extension and ChatGPT desktop app share this config.
Check the connection. Type /mcp in Codex to see Metorial and its Writer tools.
codex mcp add metorial --url <your-magic-mcp-url>
codex mcp login metorial
Run Writer through the Metorial gateway
One governed layer for every app your agents reach, not a separate connector per tool.
Give Writer and every other app to your whole team through one MCP gateway, behind your SSO.
Scope which teams and agents can use Writer tools with role-based access control, and trace every call.
Prefer to run it yourself? Metorial is open source and self-hostable.
Generate text and chat responses using available Palmyra and external models. Use custom function calling, Knowledge Graph retrieval, web search, and structured JSON responses. Create and manage Knowledge Graphs, upload and manage text or binary files, prepare original files for download, and invoke deployed no-code agents. Discover models, graphs, files, and agents with list tools.
Frequently asked questions
Common questions about connecting Writer to AI agents with Metorial.
How many tools does the Writer MCP server have?
The Writer MCP server exposes 20 tools, including Text Completion, Download File, Delete File. Each one is governed and traced through Metorial.
Does the Writer MCP server support triggers?
Writer exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
Which AI clients can use the Writer MCP server?
Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Writer MCP server through the same Metorial URL.
How do I give only some teams access to Writer?
Use role-based access control to decide which teams, users, and agents can use Writer and which of its tools they can call.
Can I self-host the Writer MCP server?
Yes. Metorial is open source, so you can run the Writer MCP server yourself or use the hosted gateway.
Connect Writer to production AI agents
See how Metorial gives your team governed access to Writer, with tracing and security controls built in.