Skip to main content
Glama
Complexity-ML

Complexity Source MCP

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost for HTTP development transport (default: 127.0.0.1).
PORTNoPort for HTTP development transport (default: 8790).
MONGODB_URINoMongoDB connection string for fantasy catalog storage.
GITHUB_TOKENNoGitHub token for reading private repositories (fine-grained, read-only).
SOURCE_ROOTSYesAbsolute path(s) to allowed source directories, separated by OS path separator (e.g., ':' on macOS/Linux).
MONGODB_DATABASENoMongoDB database name for fantasy catalog.complexity_fantasy
SOURCE_MCP_TOKENNoBearer token for accessing the MCP server in private Spaces.
SOURCE_ALLOWED_HOSTSNoComma-separated list of allowed web hosts for web source tools.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
read_web_sourceA

Reads a public HTTP(S) page as text and returns its URL, retrieval time, SHA-256 fingerprint, and a bounded excerpt. Private network addresses are blocked.

read_github_sourceB

Reads one file from a GitHub repository using the GitHub contents API. GITHUB_TOKEN is optional for public repositories and required for private ones.

read_local_sourceA

Reads one UTF-8 text file located inside SOURCE_ROOTS and returns canonical provenance. Symbolic-link escapes are rejected.

search_local_sourcesA

Searches filenames and bounded UTF-8 files inside SOURCE_ROOTS. Build outputs, dependency folders, and Git metadata are skipped.

read_image_sourceA

Returns a PNG, JPEG, GIF, or WebP image from an allowed local path or public URL, together with verifiable provenance. The connected AI must itself support image content to interpret it.

list_source_policyA

Lists the configured read-only roots, host allowlist, source limits, and provenance guarantees.

search_fantasy_catalogA

Searches canonical fantasy entity cards stored in the managed catalog. Results include facts, relations, and provenance and never modify the catalog.

get_fantasy_entityB

Reads one canonical fantasy entity card and its directly related cards by stable key.

trace_fantasy_relationsA

Traverses a bounded relation graph around one canonical fantasy entity card for multi-entity reasoning.

fantasy_catalog_statusA

Returns only aggregate readiness and entity counts for the managed fantasy catalog.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
source-policyRead-only source access, provenance fields, limits, and configured roots.

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/Complexity-ML/complexity-source-mcp'

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