Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging verbosity (DEBUG, INFO, WARNING, ERROR, CRITICAL) | INFO |
| REDIS_URL | No | Redis connection for sessions | redis://localhost:6379 |
| MNEMOSYNE_API_URL | No | API endpoint | https://api.sophia-labs.com |
| MNEMOSYNE_CONFIG_DIR | No | Token storage location | ~/.mnemosyne |
| CLAUDE_CODE_SETTINGS_PATH | No | Claude settings file | ~/.claude/settings.json |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_session | Create new MCP session for the authenticated user.
Args:
client_name: Name/type of the MCP client
Returns:
JSON string with session information
|
| sparql_query | Execute SPARQL query against user's graph via API server.
Args:
graph_id: Graph ID to query
query: SPARQL query to execute
result_format: Result format (json, csv, xml)
timeout_seconds: Query timeout in seconds
Returns:
JSON string with query results
|
| list_graphs | List all graphs accessible to the user via API server.
Args:
include_stats: Include graph statistics
include_metadata: Include graph metadata
Returns:
JSON string with graph list
|
| get_graph_schema | Get schema information for a specific graph via API server.
Args:
graph_id: Graph ID to analyze
Returns:
JSON string with schema information
|
| create_graph | Create a new graph with specified configuration.
Args:
graph_id: Unique identifier for the graph
name: Human-readable name for the graph
description: Optional description of the graph's purpose
is_persistent: Whether the graph persists across sessions
max_triples: Optional limit on graph size
ctx: MCP context for user authentication
Returns:
JSON response with graph creation details and next steps
|
| delete_graph | Delete a graph after confirmation.
Args:
graph_id: Graph to delete
confirm: Confirmation flag (required for safety)
backup: Whether to create backup before deletion
ctx: MCP context for user authentication
Returns:
JSON response with deletion confirmation and backup info
|
| get_graph_info | Get comprehensive graph information.
Args:
graph_id: Graph to analyze
include_stats: Include detailed statistics
include_schema_preview: Include schema summary
ctx: MCP context for user authentication
Returns:
JSON response with complete graph details
|
| upload_file_to_graph | 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
|