Skip to main content
Glama

Mnemosyne MCP

by sophia-labs

upload_file_to_graph

Upload RDF files to knowledge graphs with format validation and progress tracking. Supports Turtle, RDF/XML, N-Triples, and JSON-LD formats with configurable validation levels.

Instructions

Upload RDF file to graph with validation and progress tracking. Args: graph_id: Target graph ID file_path: Path to the RDF file to upload (Turtle, RDF/XML, N-Triples, JSON-LD) rdf_format: Optional RDF format override (turtle, rdfxml, ntriples, jsonld) validation_level: Validation level (strict, lenient, none) namespace: Optional namespace for the uploaded data replace_existing: Whether to replace existing data (default: append) ctx: MCP context for user authentication Returns: JSON response with upload job details and progress tracking URL

Input Schema

NameRequiredDescriptionDefault
graph_idYes
file_pathYes
rdf_formatNo
validation_levelNostrict
namespaceNo
replace_existingNo

Input Schema (JSON Schema)

{ "properties": { "file_path": { "title": "File Path", "type": "string" }, "graph_id": { "title": "Graph Id", "type": "string" }, "namespace": { "default": "", "title": "Namespace", "type": "string" }, "rdf_format": { "default": "", "title": "Rdf Format", "type": "string" }, "replace_existing": { "default": false, "title": "Replace Existing", "type": "boolean" }, "validation_level": { "default": "strict", "title": "Validation Level", "type": "string" } }, "required": [ "graph_id", "file_path" ], "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/sophia-labs/mnemosyne-mcp'

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