MCP Endpoints
Model Context Protocol endpoints providing multiple formats for AI consumption.
MCP Endpoints: AI-Native Content Access
MainThread implements Model Context Protocol (MCP) endpoints that allow AI agents to consume content in their preferred formats.
Available Formats
Every DataNode is accessible through multiple representations:
- JSON-LD: Semantic web compatibility
- Turtle (TTL): RDF graph format
- PROV: Provenance tracking
- Markdown: Human-readable structured text
- JSON: Clean data for processing
Example Usage
GET /api/mcp/nodes/consciousness-partnership?format=jsonld
GET /api/mcp/nodes/consciousness-partnership?format=turtle
GET /api/mcp/nodes/consciousness-partnership?format=markdown
Semantic Enrichment
Each format includes:
- Essence and abstract
- Semantic density metrics
- Relationship mappings
- Temporal evolution data
- Quality indicators
This allows AI agents to not just read content, but understand its context, quality, and relationships within the knowledge graph.