Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ARCANA_DB_PATHNoSQLite database path~/.arcana/context.db
ARCANA_MODEL_CACHENoONNX model cache directory~/.arcana/models

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
arcana_add_resourceB

Add a file or directory as a resource into the context database.

Args:
    path: Local file or directory path to index.
    to: Target arcana:// URI (optional, auto-determined if empty).
    reason: Why this resource is being added.
arcana_lsB

List direct children at a arcana:// URI.

Args:
    uri: arcana:// URI to list (default: root).
arcana_treeB

Show recursive tree at a arcana:// URI.

Args:
    uri: arcana:// URI to show tree for (default: root).
arcana_statC

Get metadata for a resource.

Args:
    uri: arcana:// URI to get metadata for.
arcana_rmA

Remove a resource (CASCADE deletes chunks, FTS triggers clean up).

Args:
    uri: arcana:// URI to remove.
    recursive: Remove all resources under this URI prefix.
arcana_findA

Semantic search — embed query, cosine similarity against all chunks.

Args:
    query: Natural language search query.
    target_uri: Scope search to a specific arcana:// URI prefix (optional).
    limit: Max number of results (default 10).
arcana_grepB

Keyword/regex search — FTS5 for simple terms, Python re fallback.

Args:
    uri: arcana:// URI to search within.
    pattern: Search pattern (keyword or regex).
    case_insensitive: Case-insensitive matching.
arcana_searchA

Hybrid search — 0.7 * semantic + 0.3 * FTS5, merged and ranked.

Args:
    query: Natural language search query.
    target_uri: Scope search to a specific arcana:// URI prefix (optional).
    limit: Max number of results (default 10).
arcana_readB

Read full content of a resource (concatenated chunks in order).

Args:
    uri: arcana:// URI to read.
arcana_add_memoryB

Store a memory entry as a resource with embedding.

Args:
    role: Memory role (e.g. 'user', 'assistant', 'system').
    content: The memory content to store.
arcana_mkdirA

Create a directory at a arcana:// URI.

Args:
    uri: arcana:// URI for the new directory.
arcana_mvC

Move/rename a resource.

Args:
    from_uri: Source arcana:// URI.
    to_uri: Destination arcana:// URI.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/samelie/arcana-mcp'

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