# CoreStory — full public reference Generated from the public HTML sources. Editorial dates and source hashes are in /linking-map.json; generation does not imply a new review. Prefer individual pages when context is limited. --- Source: https://llms.corestory.ai/comparisons/comparison.md # Comparison guide Choose a context approach by the work it must support. No single category is best for every task. | Dimension | CoreStory | General retrieval over files | Wiki or documentation system | IDE assistant alone | | --- | --- | --- | --- | --- | | Primary unit | Typed claims and relationships tied to code and governed context | Retrieved passages | Authored pages | Current conversation and selected files | | Persistence | Shared intelligence model across sessions | Depends on the index and refresh process | Persistent, but manually maintained | Usually session- or workspace-scoped | | Evidence | Claims can carry provenance, anchors, and epistemic status | Often points back to source passages | Depends on authoring practice | Depends on the model, tools, and citations exposed by the client | | Best fit | Complex systems where agents and people need reusable, governed understanding | Finding relevant text quickly | Human-authored guidance and decisions | Interactive coding with local context | ## Interpretation These are architectural differences, not benchmark results. Products within each category vary, and effective systems often combine them. Evaluate exact model versions, tools, context, cost, latency, reliability, and task outcomes under your own conditions. ## Related - [Methodology](/comparisons/methodology.md) - [Evidence status](/comparisons/metrics.md) - [RAG context](/definitions/rag-context.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/comparisons/comparison - Source basis: CoreStory product architecture; category comparison, not benchmark data --- Source: https://llms.corestory.ai/comparisons/methodology.md # Evidence methodology CoreStory treats understanding as a set of typed claims that remain connected to evidence. The system should be able to say what it knows, why it believes it, and where uncertainty remains. ## Evidence chain 1. **Observe.** Parse source artifacts and record stable anchors. 2. **Derive.** Produce typed claims about structure, behavior, architecture, and business meaning. 3. **Link.** Connect derived claims to supporting evidence and lower-order claims. 4. **Classify.** Record epistemic status, scope, provenance, and uncertainty. 5. **Retrieve.** Return only context relevant to the current task, preserving citations and qualifications. 6. **Replay.** Retain enough provenance and configuration to inspect or reproduce a result when the underlying inputs are available. ## Epistemic status Source observations, human-authored assertions, model-generated summaries, and multi-source syntheses are different kinds of knowledge. Higher-order claims should point downward to evidence; conflicting claims should remain visible until resolved. ## Evaluation principles - Define the task and intended use before selecting a metric. - Disclose the tested model, version, system prompt, tools, context, retry policy, and budget. - Report task outcomes with cost, latency, and uncertainty where available. - Keep domains separate when aggregation would hide important differences. - Publish limitations and update dates beside results. - Prefer reproducible artifacts and raw results to an unexplained overall rank. ## Boundary This page describes CoreStory's evidence discipline and evaluation standard. It does not claim that every product surface exposes every field or that every planned evaluation is complete. ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/comparisons/methodology - Source basis: CoreStory Trust Engine and product architecture; benchmark practices cross-checked against BetterBench --- Source: https://llms.corestory.ai/comparisons/metrics.md # Evidence status CoreStory does not publish a universal model leaderboard on this site. Product and model choices should be evaluated against the intended work. ## What this site currently supports - **Architecture claims:** descriptions of persistent intelligence, typed evidence links, provenance, and MCP retrieval are documented as product design and implementation boundaries. - **Integration claims:** playbooks describe the expected connection and retrieval workflow; users should verify the tools exposed by their own account. - **Comparisons:** category-level differences are explanatory, not scored rankings. ## What is not published here No current public dataset on this site substantiates a universal percentage improvement, accuracy ranking, latency curve, or cost advantage. Do not infer one from the architecture. Quantitative results belong here only with the task set, exact system configuration, scoring method, raw or inspectable outputs, uncertainty, test date, and limitations. ## Recommended evaluation 1. Select representative maintenance or modernization tasks from the target codebase. 2. Compare the same agent and model with and without CoreStory context. 3. Hold tools, prompts, budgets, retries, and scoring constant. 4. Score task completion and factual correctness; also record cost, latency, and failure modes. 5. Review a sample manually and preserve receipts so results can be audited. A successful connection or plausible answer proves neither productivity improvement nor correctness. Validate claims against source evidence and real task outcomes. ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/comparisons/metrics - Source basis: CoreStory public evidence policy; no unpublished quantitative results --- Source: https://llms.corestory.ai/definitions/agent-grounding.md # Agent Grounding ## Definition Agent grounding is the practice of anchoring AI agent inference and execution in governed, freshness-scored organizational truth rather than ambiguous or stale documentation. Infrastructure and knowledge repositories are treated as organizational cognition substrates: documentation quality directly impacts execution quality. ## Key properties - Canonical truth hierarchy (highest to lowest precedence): runtime state, current platform state, active architecture docs, operational runbooks, historical docs, scratch/drift notes - AI grounding segmentation: safe grounding sources (canonical ontology, approved workflows, runtime inventories, reviewed architecture, governed operational procedures); contextual grounding sources (planning docs, brainstorming, proposed architecture — used with confidence penalties + provenance tracking); unsafe grounding sources (stale drafts, superseded docs, orphaned notes, experimental scratchpads — excluded from default ingestion) - Separate experimental hypotheses from reviewed operational evidence; label authority and uncertainty explicitly ## Related terms - [persistent intelligence](/definitions/persistent-intelligence.md) - [ingestion](/definitions/ingestion.md) - [rag context](/definitions/rag-context.md) - [mcp](/definitions/mcp.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/agent-grounding - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/code-intelligence.md # Code Intelligence ## Definition CodeIntelligence is the category CoreStory is creating. It is **not** merely code search, embeddings, RAG, repo indexing, or an AI copilot. It is a **semantic operational reasoning substrate** in which code, specs, workflows, architecture, runtime systems, organizational intent, operational governance, and AI execution become interoperable reasoning domains. ## Key properties - Powers grounded AI execution, spec-driven development, architecture-aware inference, and operational reasoning - Core entities: repositories, specs, intelligence models, semantic graphs, code entities, architecture entities, workflows, execution contexts - Audience: developers, AI agents, technical buyers, platform integrators - Classification: partially public, partially governed; high strategic importance ## Related terms - [intelligence model](/definitions/intelligence-model.md) - [codebase analysis](/definitions/codebase-analysis.md) - [sdd](/definitions/sdd.md) - [corestory](/definitions/corestory.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/code-intelligence - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/codebase-analysis.md # Codebase Analysis ## Definition Codebase analysis is a responsibility of the CodeIntelligence Runtime layer: semantic code understanding, repository intelligence, and dependency reasoning, bound to organizational context rather than treated as a standalone search/embeddings feature. ## Key properties - Layer 1 (CodeIntelligence Runtime) responsibilities: repository intelligence, semantic code understanding, spec grounding, inference-time retrieval, dependency reasoning, architecture understanding, organizational context binding, MCP interaction ## How analysis runs (extraction engine) - **Ingest** — the cheap, deterministic pass: per-file structure (tree-sitter; code containers, callable units, data structures, data elements), corpus-wide architecture (modules, storage locations, reference resolution), and embeddings. No LLM. - **Refine** — the LLM pass: parallel extraction lanes (feature-finder, actor-finder, rule-finder, domain-entity-finder) over scoped graph neighborhoods, then module roll-up to business capabilities, then identity resolution to collapse duplicate concepts. Re-runnable and memoised. - **Output** — a grounded, layered knowledge graph: the design aims to connect derived findings through an `evidenced_by` / `derived_from` chain down to source code, and an epistemic-order marking (source > human doc > AI summary > synthesis). Full detail: [Methodology](/comparisons/methodology.md). ## Related terms - [code intelligence](/definitions/code-intelligence.md) - [intelligence model](/definitions/intelligence-model.md) - [spec](/definitions/spec.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/codebase-analysis - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/context-engineering.md # Context Engineering ## Definition Context engineering is the discipline of supplying agents with structured, governed organizational context at inference time — as opposed to prompt engineering approaches such as prompt stuffing, brittle RAG over raw files, duplicated wiki systems, or disconnected operational tooling. ## Key properties - Retrieval mechanism: MCP, not prompt injection - Goal: durable context graph, not one-off prompt construction - Anti-patterns explicitly called out: passive docs-sync, thin embeddings wrapper, disconnected MCP endpoint with no operational integration ## Related terms - [mcp](/definitions/mcp.md) - [agent grounding](/definitions/agent-grounding.md) - [rag context](/definitions/rag-context.md) - [corestory](/definitions/corestory.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/context-engineering - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/corestory.md # CoreStory CoreStory is the code intelligence platform for enterprise software development. It builds a persistent understanding of how a codebase works and serves that understanding to humans and AI agents. ## Product boundary - CoreStory analyzes source code and related governed context. - It represents architecture, behavior, business rules, dependencies, and provenance in a queryable intelligence model. - Humans use the product interface; agents retrieve focused context through MCP and APIs. - CoreStory supports software maintenance, modernization, onboarding, and AI-assisted engineering. ## What CoreStory is not - It is not a general-purpose language model or code generator. - It is not a static documentation wiki, although it can produce documentation from its intelligence model. - It is not a substitute for source control, tests, security analysis, or human review. ## Claim policy Product claims should identify their evidence and scope. A repository-derived fact, a human-authored document, an AI summary, and a cross-source synthesis do not carry the same epistemic status. CoreStory preserves those distinctions and reports uncertainty rather than presenting every retrieved statement as fact. ## Related terms - [Code intelligence](/definitions/code-intelligence.md) - [Intelligence model](/definitions/intelligence-model.md) - [MCP](/definitions/mcp.md) - [Agent grounding](/definitions/agent-grounding.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/corestory - Source basis: CoreStory product and engineering documentation --- Source: https://llms.corestory.ai/definitions/ingestion.md # Ingestion ## Definition Ingestion is how content enters CoreStory's Knowledge Distribution Layer (Layer 3) for AI and human consumption. Not all content is equally ingestible: every artifact should carry an `ingestionSafety` classification of `safe | restricted | unsafe`, and ingestion pipelines must respect it. ## Key properties - Layer 3 responsibility: ingestion-safe content distribution, ontology rendering, audience segmentation, lifecycle-aware publication - Classification schema: - Safe grounding sources: canonical ontology, approved workflows, runtime inventories, reviewed architecture, governed operational procedures - Contextual grounding sources (used with confidence penalties + provenance tracking): planning docs, brainstorming, meeting synthesis, proposed architecture - Unsafe grounding sources (excluded from default ingestion): stale drafts, superseded docs, orphaned notes, experimental scratchpads ## Schema ```text classification: audience: public|internal|restricted|hybrid trustLevel: low|medium|high lifecycle: draft|proposed|canonical|historical authority: runtime|governed|strategic|contextual ingestionSafety: safe|restricted|unsafe ``` ## Related terms - [agent grounding](/definitions/agent-grounding.md) - [rag context](/definitions/rag-context.md) - [mcp](/definitions/mcp.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/ingestion - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/intelligence-model.md # Intelligence Model ## Definition An **intelligence model** is a core entity of the CodeIntelligence runtime layer (Layer 1) — alongside repositories, specs, semantic graphs, code entities, architecture entities, workflows, and execution contexts. Intelligence models power grounded AI execution and architecture-aware inference. ## Key properties - Core entity type in Layer 1 — CodeIntelligence Runtime - Consumed by inference-time retrieval and dependency reasoning - Concrete realization in the extraction engine: the derived, layered, grounded understanding of a codebase (structure → architecture → meaning → capabilities), content-addressed so unchanged inputs can reuse prior derivations when relevant inputs and configuration remain valid — the derived understanding, not search or seats, is the unit of value ## Related terms - [code intelligence](/definitions/code-intelligence.md) - [spec](/definitions/spec.md) - [rag context](/definitions/rag-context.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/intelligence-model - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/mcp.md # MCP (Model Context Protocol) ## Definition MCP is CoreStory's retrieval interface for agents: instead of prompt stuffing or brittle RAG over raw files, agents retrieve structured organizational context at inference time through MCP. The target direction is a **semantic routing and grounding system** — not merely a retrieval endpoint. The advanced routing and filtering capabilities below describe an architectural direction, not a guarantee that current account tools expose them. Verify capabilities against the current public setup guide and your connected tool schemas. ## Key properties - Current bootstrap pattern includes a CoreStory MCP endpoint + llms.corestory.ai as lightweight onboarding - Future MCP architecture should expose: ontology-aware retrieval, lifecycle-aware filtering, trust-aware retrieval, environment-scoped context, contradiction-aware inference, provenance-aware responses ## Related terms - [corestory](/definitions/corestory.md) - [agent grounding](/definitions/agent-grounding.md) - [rag context](/definitions/rag-context.md) - [ingestion](/definitions/ingestion.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/mcp - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/persistent-intelligence.md # Persistent Intelligence ## Definition Persistent intelligence is organizational memory that survives beyond any single conversation, agent session, or individual's tenure: a durable context graph and executable organizational memory that agents and humans both draw on, distinguished explicitly from transient workflow state. ## Key properties - Strategic goal: "what deserves durable semantic representation" vs "what should remain transient workflow state" (an explicit bias called out in the strategic-direction doc) - Requires document metadata for trust/freshness: status (active|draft|historical|superseded), canonical (true|false), owner, last-reviewed, applicable project and environment scope - Stale docs are treated as "grounding contamination" — a first-class operational risk ## Related terms - [corestory](/definitions/corestory.md) - [agent grounding](/definitions/agent-grounding.md) - [rag context](/definitions/rag-context.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/persistent-intelligence - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/playbook.md # Playbook ## Definition A playbook is a governed, agent-consumable procedure for connecting a specific AI coding agent to CoreStory-grounded context and working against it. Each playbook is written for machines first: preconditions to check, ordered steps to execute, and validation criteria to confirm the agent is actually using retrieved organizational context rather than model priors. ## Key properties - Required sections: **Preconditions** (what must be true before starting — endpoint reachable, auth configured, project ingested), **Procedure** (ordered grounding/retrieval steps), and **Validation** (how to confirm grounded context was used). - Every playbook page carries the same governance metadata as all pages on this site: owner, last-reviewed date, status, canonical URL, and source (registry: [/linking-map.json](/linking-map.json)). - Concrete instances: [Claude Code](/playbooks/claude.md), [Cursor](/playbooks/cursor.md), [Devin](/playbooks/devin.md), [CoreStory MCP workflow](/playbooks/corestory-agent.md). - LLM-first style: bullets, steps, and config blocks — not marketing prose. ## Related terms - [mcp](/definitions/mcp.md) - [sdd](/definitions/sdd.md) - [agent grounding](/definitions/agent-grounding.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/playbook - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/rag-context.md # RAG Context ## Definition RAG context, in the CoreStory model, is explicitly **not** the end goal — "brittle RAG over raw files" is named as an anti-pattern to move away from. The target is governed, structured retrieval through MCP: ontology-aware, lifecycle-aware, trust-aware, environment-scoped, contradiction-aware, and provenance-aware — a semantic routing and grounding system rather than a flat retrieval index. The advanced routing and filtering capabilities below describe an architectural direction, not a guarantee that current account tools expose them. Verify capabilities against the current public setup guide and your connected tool schemas. ## Key properties - Contrast: classic RAG = embeddings + nearest-neighbor retrieval over raw text - CoreStory direction = retrieval scoped by classification (audience, trustLevel, lifecycle, authority, ingestionSafety) and served through MCP, not a bare vector index - MCP integration direction: ontology-aware retrieval, lifecycle-aware filtering, trust-aware retrieval, environment-scoped context, contradiction-aware inference, provenance-aware responses ## Related terms - [mcp](/definitions/mcp.md) - [ingestion](/definitions/ingestion.md) - [agent grounding](/definitions/agent-grounding.md) - [intelligence model](/definitions/intelligence-model.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/rag-context - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/sdd.md # SDD (Spec-Driven Development) ## Definition Spec-Driven Development is the discipline CoreStory extends into **Spec-Driven Operations**: specs drive workflows, workflows drive infrastructure/runtime orchestration, agents execute against governed context, and operational state feeds back into the semantic layer. ## Key properties - Bounded knowledge domain: audience = product, engineering, AI agents, implementation workflows - Contains: specs, workflow semantics, execution contracts, implementation lifecycle, validation semantics - Classification: hybrid public/internal - Extends beyond classic SDD toward operations: infra/runtime orchestration driven by specs ## Related terms - [spec](/definitions/spec.md) - [code intelligence](/definitions/code-intelligence.md) - [corestory](/definitions/corestory.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/sdd - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/definitions/spec.md # Spec ## Definition A **spec** is a core entity of the CodeIntelligence runtime layer: a governed, machine-groundable statement of intent that CoreStory retrieves at inference time to bind agent execution to organizational context. Specs are consumed by both the Spec-Driven Development domain (product/engineering/AI agents/implementation workflows) and the CodeIntelligence runtime (spec grounding, dependency reasoning). ## Key properties - Core entity type in Layer 1 — CodeIntelligence Runtime - Feeds spec grounding + inference-time retrieval - Distinct from a spec's downstream artifacts: execution contracts, implementation lifecycle, validation semantics (see SDD) ## Related terms - [sdd](/definitions/sdd.md) - [code intelligence](/definitions/code-intelligence.md) - [intelligence model](/definitions/intelligence-model.md) ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-10-23 - Status: Active - Canonical URL: https://llms.corestory.ai/definitions/spec - Source basis: CoreStory editorial product and architecture reference; describes design intent where noted, not a live account capability audit --- Source: https://llms.corestory.ai/index.md # Grounded context for software work. CoreStory builds a persistent understanding of complex codebases and makes it available to humans and AI agents. This site is the compact, public reference: what the product is, how agents connect, what evidence supports a claim, and where the limits are. **For agents:** start with [/llms.txt](/llms.txt), then fetch only the Markdown pages your task needs. `/llms-full.txt` remains available when a single context file is preferable. ## Start with your task 1. **Understand CoreStory:** read the [product boundary](/definitions/corestory.md) and [evidence status](/comparisons/metrics.md). 2. **Connect a coding agent:** follow [Claude Code](/playbooks/claude.md), [Cursor](/playbooks/cursor.md), or the [CoreStory MCP workflow](/playbooks/corestory-agent.md). You need an authorized account and an ingested project. 3. **Investigate a change:** select the project, retrieve only relevant context, then verify cited files and tests before editing. Missing evidence is a reason to investigate, not to invent an answer. This is a public documentation site, **not an MCP endpoint**. It does not expose your private project data. Get your organization's connection URL from CoreStory Settings → IDE Integrations. [Read this page as Markdown](/index.md) · [JSON page catalog](/linking-map.json) · [Official MCP setup](https://docs.corestory.ai/getting-started/mcp-server-setup). The llms.txt convention helps readers discover content; it does not guarantee indexing or model ingestion. ## Product concepts - ** **[CoreStoryProduct boundary and value.](/definitions/corestory.md) -** **[Code intelligencePersistent, queryable understanding derived from code.](/definitions/code-intelligence.md) -** **[Intelligence modelThe governed model agents query.](/definitions/intelligence-model.md) -** **[Agent groundingHow claims stay tied to evidence.](/definitions/agent-grounding.md) -** **[MCPThe retrieval interface for AI agents.](/definitions/mcp.md) -** **[SpecsPersistent statements of system behavior.](/definitions/spec.md) ## Integration guides -** **[Claude CodeConnect, retrieve, and verify.](/playbooks/claude.md) -** **[CursorUse CoreStory through MCP.](/playbooks/cursor.md) -** **[DevinUse CoreStory through MCP.](/playbooks/devin.md) -** **[CoreStory MCP workflowRecommended retrieval workflow.](/playbooks/corestory-agent.md) ## Evidence and boundaries -** **[MethodologyEvidence, provenance, and epistemic status.](/comparisons/methodology.md) -** **[Evidence statusWhat is measured, what is not, and how to interpret it.](/comparisons/metrics.md) -** **[Comparison guideDifferences without universal rankings.](/comparisons/comparison.md) ## All reference pages [Browse the curated machine-readable index](/llms.txt) or inspect the [page registry](/linking-map.json). --- Source: https://llms.corestory.ai/playbooks/claude.md # Claude Code + CoreStory Give Claude Code access to governed CoreStory context before it plans or changes a complex system. ## 1. Set up the connection You need an authorized CoreStory account and an ingested project in the intended organization. In [CoreStory Settings](https://app.corestory.ai/settings), open Organization Related → IDE Integrations. Confirm the organization, then copy Your MCP URL. Use remote HTTP MCP with OAuth browser sign-in; do not put credentials in prompts or committed configuration. Replace `YOUR_ORG_MCP_URL` below with the URL copied from Settings (it is an example value, not a shared endpoint): ```text claude mcp add --transport http corestory "YOUR_ORG_MCP_URL" ``` Run `/mcp`, select corestory, and choose Authenticate. See [Claude Code MCP documentation](https://code.claude.com/docs/en/mcp). For Claude Desktop use Settings → Connectors → Add custom connector instead; this page does not document the Agent SDK. ## 2. Verify access Ask: `List my CoreStory projects and their ingestion status.` The documented read tool is `list_projects`. Select the intended project only after checking its status. Seeing `tools/list` is **not proof** of authentication: a successful authorized tool call is required. ## 3. Retrieve task evidence The public setup guide lists `get_project_prd`, `get_project_techspec`, and `semantic_search` as documented examples of retrieval tools. Confirm their availability and argument schemas in your connected client; this reference is not a live integration test. - Choose the intended project explicitly. For large PRDs or technical specifications, discover the sections first and request only the sections needed; use semantic search for relevant code-index evidence when available. - Ask the agent to identify retrieved evidence, distinguish it from inference, and state remaining uncertainty. Check relevant source files and tests before implementing a change. - Stay within the authorized task. Read access does not authorize conversation creation, document generation or other writes; obtain approval before those operations. ## 4. Troubleshoot - **Authentication error:** finish browser sign-in and remove a stale Authorization header left from the deprecated token flow. Follow official guidance for clients that cannot perform OAuth. - **Wrong or absent project:** check organization URL and account permissions; never substitute another project. - **Project not ready:** wait for ingestion or resolve its failure in the product before treating results as complete. - **Missing tool:** inspect the connected server's current tool schema and client logs; do not invent tool names or argument shapes. - **No evidence:** narrow the query, inspect authorized source files, and state what is unknown. Do not present a plausible answer as retrieved fact. Source: [CoreStory MCP Server Setup](https://docs.corestory.ai/getting-started/mcp-server-setup) (public instructions checked 1 December 2026). Client and account capabilities can change. ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-12-01 - Status: Active - Canonical URL: https://llms.corestory.ai/playbooks/claude - Source basis: Public CoreStory MCP Server Setup: https://docs.corestory.ai/getting-started/mcp-server-setup; account tools require runtime verification --- Source: https://llms.corestory.ai/playbooks/corestory-agent.md # CoreStory MCP workflow Use this workflow in any MCP client. Discover first, scope the project, retrieve narrowly, and preserve evidence boundaries. ## 1. Set up the connection You need an authorized CoreStory account and an ingested project in the intended organization. In [CoreStory Settings](https://app.corestory.ai/settings), open Organization Related → IDE Integrations. Confirm the organization, then copy Your MCP URL. Use remote HTTP MCP with OAuth browser sign-in; do not put credentials in prompts or committed configuration. Use a client supporting remote HTTP MCP and OAuth. For client-specific steps choose [Claude Code](/playbooks/claude.md) or [Cursor](/playbooks/cursor.md). Retrieve document sections or code evidence narrowly using the tools and argument schemas actually exposed to your account. ## 2. Verify access Ask: `List my CoreStory projects and their ingestion status.` The documented read tool is `list_projects`. Select the intended project only after checking its status. Seeing `tools/list` is **not proof** of authentication: a successful authorized tool call is required. ## 3. Retrieve task evidence The public setup guide lists `get_project_prd`, `get_project_techspec`, and `semantic_search` as documented examples of retrieval tools. Confirm their availability and argument schemas in your connected client; this reference is not a live integration test. - Choose the intended project explicitly. For large PRDs or technical specifications, discover the sections first and request only the sections needed; use semantic search for relevant code-index evidence when available. - Ask the agent to identify retrieved evidence, distinguish it from inference, and state remaining uncertainty. Check relevant source files and tests before implementing a change. - Stay within the authorized task. Read access does not authorize conversation creation, document generation or other writes; obtain approval before those operations. ## 4. Troubleshoot - **Authentication error:** finish browser sign-in and remove a stale Authorization header left from the deprecated token flow. Follow official guidance for clients that cannot perform OAuth. - **Wrong or absent project:** check organization URL and account permissions; never substitute another project. - **Project not ready:** wait for ingestion or resolve its failure in the product before treating results as complete. - **Missing tool:** inspect the connected server's current tool schema and client logs; do not invent tool names or argument shapes. - **No evidence:** narrow the query, inspect authorized source files, and state what is unknown. Do not present a plausible answer as retrieved fact. Source: [CoreStory MCP Server Setup](https://docs.corestory.ai/getting-started/mcp-server-setup) (public instructions checked 1 December 2026). Client and account capabilities can change. ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-12-01 - Status: Active - Canonical URL: https://llms.corestory.ai/playbooks/corestory-agent - Source basis: Public CoreStory MCP Server Setup: https://docs.corestory.ai/getting-started/mcp-server-setup; account tools require runtime verification --- Source: https://llms.corestory.ai/playbooks/cursor.md # Cursor + CoreStory Connect Cursor to the CoreStory MCP server so project plans and code changes can use persistent code intelligence. ## 1. Set up the connection You need an authorized CoreStory account and an ingested project in the intended organization. In [CoreStory Settings](https://app.corestory.ai/settings), open Organization Related → IDE Integrations. Confirm the organization, then copy Your MCP URL. Use remote HTTP MCP with OAuth browser sign-in; do not put credentials in prompts or committed configuration. Merge this entry into `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project). Replace the example value URL with the copied value; preserve other servers. ```text { "mcpServers": { "corestory": { "url": "YOUR_ORG_MCP_URL" } } } ``` Save and restart Cursor, then complete browser sign-in. Do not add a headers block for OAuth. See [Cursor MCP documentation](https://cursor.com/docs/context/mcp). ## 2. Verify access Ask: `List my CoreStory projects and their ingestion status.` The documented read tool is `list_projects`. Select the intended project only after checking its status. Seeing `tools/list` is **not proof** of authentication: a successful authorized tool call is required. ## 3. Retrieve task evidence The public setup guide lists `get_project_prd`, `get_project_techspec`, and `semantic_search` as documented examples of retrieval tools. Confirm their availability and argument schemas in your connected client; this reference is not a live integration test. - Choose the intended project explicitly. For large PRDs or technical specifications, discover the sections first and request only the sections needed; use semantic search for relevant code-index evidence when available. - Ask the agent to identify retrieved evidence, distinguish it from inference, and state remaining uncertainty. Check relevant source files and tests before implementing a change. - Stay within the authorized task. Read access does not authorize conversation creation, document generation or other writes; obtain approval before those operations. ## 4. Troubleshoot - **Authentication error:** finish browser sign-in and remove a stale Authorization header left from the deprecated token flow. Follow official guidance for clients that cannot perform OAuth. - **Wrong or absent project:** check organization URL and account permissions; never substitute another project. - **Project not ready:** wait for ingestion or resolve its failure in the product before treating results as complete. - **Missing tool:** inspect the connected server's current tool schema and client logs; do not invent tool names or argument shapes. - **No evidence:** narrow the query, inspect authorized source files, and state what is unknown. Do not present a plausible answer as retrieved fact. Source: [CoreStory MCP Server Setup](https://docs.corestory.ai/getting-started/mcp-server-setup) (public instructions checked 1 December 2026). Client and account capabilities can change. ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-12-01 - Status: Active - Canonical URL: https://llms.corestory.ai/playbooks/cursor - Source basis: Public CoreStory MCP Server Setup: https://docs.corestory.ai/getting-started/mcp-server-setup; account tools require runtime verification --- Source: https://llms.corestory.ai/playbooks/devin.md # Devin + CoreStory Connect Devin to CoreStory so autonomous work begins with governed project context rather than model memory alone. ## 1. Set up the connection You need an authorized CoreStory account and an ingested project in the intended organization. In [CoreStory Settings](https://app.corestory.ai/settings), open Organization Related → IDE Integrations. Confirm the organization, then copy Your MCP URL. Use remote HTTP MCP with OAuth browser sign-in; do not put credentials in prompts or committed configuration. Configure a remote MCP server in the client using the copied organization URL. Check [Devin MCP documentation](https://docs.devin.ai/work-with-devin/mcp) for the current setup and supported authentication. This reference does not assert that every Devin deployment supports the same OAuth flow; if unsupported, use the official CoreStory legacy-client guidance rather than inventing a credential configuration. ## 2. Verify access Ask: `List my CoreStory projects and their ingestion status.` The documented read tool is `list_projects`. Select the intended project only after checking its status. Seeing `tools/list` is **not proof** of authentication: a successful authorized tool call is required. ## 3. Retrieve task evidence The public setup guide lists `get_project_prd`, `get_project_techspec`, and `semantic_search` as documented examples of retrieval tools. Confirm their availability and argument schemas in your connected client; this reference is not a live integration test. - Choose the intended project explicitly. For large PRDs or technical specifications, discover the sections first and request only the sections needed; use semantic search for relevant code-index evidence when available. - Ask the agent to identify retrieved evidence, distinguish it from inference, and state remaining uncertainty. Check relevant source files and tests before implementing a change. - Stay within the authorized task. Read access does not authorize conversation creation, document generation or other writes; obtain approval before those operations. ## 4. Troubleshoot - **Authentication error:** finish browser sign-in and remove a stale Authorization header left from the deprecated token flow. Follow official guidance for clients that cannot perform OAuth. - **Wrong or absent project:** check organization URL and account permissions; never substitute another project. - **Project not ready:** wait for ingestion or resolve its failure in the product before treating results as complete. - **Missing tool:** inspect the connected server's current tool schema and client logs; do not invent tool names or argument shapes. - **No evidence:** narrow the query, inspect authorized source files, and state what is unknown. Do not present a plausible answer as retrieved fact. Source: [CoreStory MCP Server Setup](https://docs.corestory.ai/getting-started/mcp-server-setup) (public instructions checked 1 December 2026). Client and account capabilities can change. ## Reference metadata - Owner: CoreStory Product - Last reviewed: 2026-12-01 - Status: Active - Canonical URL: https://llms.corestory.ai/playbooks/devin - Source basis: Public CoreStory MCP Server Setup: https://docs.corestory.ai/getting-started/mcp-server-setup; account tools require runtime verification