{"mcp":"Streamable HTTP endpoint. POST JSON-RPC 2.0 here (initialize, tools/list, tools/call).","server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json","name":"com.listeningmind/brand-wiki","title":"Brand Wiki","description":"Crawls a brand website to build an entity map, brand wiki, evidence claims and schema, then links them to ListeningMind search demand to produce an action plan, entity gaps, coverage and page signals. GEO/AEO teams use it to fix content so AI answers describe the brand correctly. Demand data exists for Korea, Japan and the US; demand and category context can also be imported from Intent KG runs.","version":"1.0.0","serverInfo":{"name":"Brand Wiki","version":"1.0.0"},"protocolVersion":"2025-06-18","remotes":[{"type":"streamable-http","url":"https://daas-wiki.listeningmind.ai/mcp"}],"tools":[{"name":"list_projects","description":"Lists all brand wiki projects: {projects:[{projectId, brandName, domain, seedUrl, language, country, industry, crawlSettings, status, createdAt, updatedAt}]}. status moves created -> discovered -> crawling -> crawled -> analyzed."},{"name":"create_project","description":"Creates a project for one brand website. Only seedUrl is required; brandName defaults to the host name, language and country are normalized (empty language is detected from content later). Returns {project} with projectId (HTTP 201)."},{"name":"get_project","description":"Returns everything stored for a project: {project, discovery, pages, analysis (entities, wiki pages, claims, schema), connector (demand keywords), actionPlan, entityGap, generatedPages, pageSignals, categoryContext}. Can be large."},{"name":"update_crawl_settings","description":"Updates crawl settings of a project before crawling. maxPages is clamped to 1-1000 and maxDepth to 1-10. Returns {project}."},{"name":"delete_project","description":"Deletes a project and all its data. Returns {ok:true}."},{"name":"discover_urls","description":"Collects candidate URLs from the site's sitemaps and links and reads robots.txt to judge AI crawler access. Pass robotsOnly='1' to only re-read robots.txt for an existing discovery. Returns {discovery:{urls:[{url, included, ...}], ...}}."},{"name":"crawl_pages","description":"Crawls pages and stores their text. With no urls it crawls every discovered URL marked included (capped by maxPages). Waits until done (up to 5 minutes). Returns {crawled, successful, failed}."},{"name":"start_entity_analysis","description":"Starts the AI analysis of the crawled pages: entity map (core, supporting, context), brand wiki pages, evidence claims and schema. Runs in the background; returns {started:true} or 409 {reason:'already-running'}. Poll get_analysis_status."},{"name":"get_analysis_status","description":"Returns {status:{state (idle, running, done, error), startedAt, finishedAt, message, progress:{pagesCited, totalPages, entities, elapsedSec}}, claudeAvailable}. Repeat until state is done or error."},{"name":"get_analysis","description":"Returns {analysis}: entities with types, layers, descriptions, CEPs, attributes and evidence; brand wiki pages; claims with source URLs; review status. null before analysis."},{"name":"save_analysis","description":"Replaces the whole analysis object, as the in-app editor does when you edit an entity or wiki page or change review status. Send the full analysis from get_analysis with your edits. Returns {ok:true}."},{"name":"get_demand_data","description":"Returns the project's demand connector: {connector:{source, importedAt, items:[{keyword, intent, cep, monthlyVolume, trend, relatedEntity, note}]}} or null."},{"name":"import_demand_data","description":"Saves demand keywords you already have. Send exactly one of items, csv (header keyword,volume,intent,cep,trend,note; Korean headers also work) or json (a JSON string of an array or {items}). Replaces the current connector. Returns {connector}."},{"name":"check_live_demand_fetch","description":"Tells whether the server can fetch demand directly from ListeningMind for this project: {available, market:{code, name, gl}, marketSupported, message}. Only KR, JP and US markets have data."},{"name":"fetch_demand_live","description":"Server calls the ListeningMind Data API: expands related keywords from up to 5 seed keywords (cluster_finder rels), then gets volume and trend for up to about 120 candidates (keyword_info), keeps those with volume, and saves them as the demand connector. Returns {imported, source}; 409 no-credentials or unsupported-market."},{"name":"prepare_demand_handoff","description":"Writes a FETCH-LM.md instruction file into the project folder and returns {command, gl, market, marketSupported, seeds} so a Claude Code session with the ListeningMind MCP can collect demand and write connector.json. No credits by itself."},{"name":"list_ontology_runs_for_demand","description":"Lists existing Intent KG (topic ontology) runs that can be imported as demand data, optionally filtered by topic text and market. Returns {runs:[{runId, topic, gl, ...}]}. Never builds."},{"name":"import_demand_from_ontology","description":"Imports the decision layer of one existing Intent KG run as the project's demand connector. Give runId, or topic (+gl) to match a run. Never builds a new run. Returns {imported, connector, stats}; 404 no-match when no run exists."},{"name":"start_action_plan","description":"Builds the action plan that maps demand keywords to entities and content actions. Needs an analysis and demand data. Runs in the background; returns {started:true}. Poll get_action_plan_status, then read actionPlan from get_project."},{"name":"get_action_plan_status","description":"Returns {status:{state, message, ...}, claudeAvailable}. Repeat until done or error; the plan itself is in get_project.actionPlan."},{"name":"save_action_plan","description":"Saves the full action plan after edits such as changing an action item's status. Send the full actionPlan object. Returns {ok:true}."},{"name":"start_entity_gap","description":"Finds entities and facts the brand should cover but does not (uses demand data as a hint if present). Needs an analysis. Background job; returns {started:true}. Poll get_entity_gap_status, then read entityGap from get_project."},{"name":"get_entity_gap_status","description":"Returns {status:{state, message, ...}, claudeAvailable}. Repeat until done or error."},{"name":"save_entity_gap","description":"Saves the full entity gap report after edits such as a gap status toggle. Returns {ok:true}."},{"name":"start_coverage","description":"Checks how well the site covers the entities and demand (questions AI assistants would ask). Needs an analysis. Background job; returns {started:true}. Poll get_coverage."},{"name":"get_coverage","description":"Returns {status:{state, message}, report, claudeAvailable}. Repeat until state is done or error; report holds the coverage result."},{"name":"start_page_signals","description":"Scores crawled pages for AI-readability signals (structure, schema, entity clarity, demand fit). Needs analysis and crawled pages. Background job; returns {started:true}. Poll get_page_signals."},{"name":"get_page_signals","description":"Returns {status:{state, message}, report, claudeAvailable}. Repeat until state is done or error."},{"name":"generate_entity_page","description":"Generates a draft canonical page (text and schema) for one entity of the analysis. Background job; returns {started:true}. Poll get_page_generation_status; the result appears in get_project.generatedPages."},{"name":"get_page_generation_status","description":"Returns {status, aiAvailable}. status describes the current or last page generation job (state, entityId, message). Repeat until done or error."},{"name":"list_ontology_runs_for_context","description":"Lists existing Intent KG runs whose knowledge layer can be imported as category context for the wiki. Returns {runs}. Never builds."},{"name":"import_category_context","description":"Imports one KG run's knowledge layer (conventions, heuristics, trade-offs, benchmarks, pitfalls) as the project's category context, cited at the bottom of wiki pages. Give runId, or topic (+gl). Returns {imported, context, stats}."},{"name":"get_kg_link","description":"Returns the project's link to the Intent KG: matched run digest (run_id, topic, type counts), candidates and any build in progress. refresh='1' re-matches automatically; topic (+gl) matches a given topic. 0 credits."},{"name":"match_kg_topic","description":"Matches the project to an existing KG run for the given topic and saves the link. Returns {link}. 0 credits."},{"name":"request_kg_build","description":"Asks the Intent KG app to build a new topic graph for this project (sends build:true and confirm:true). Returns {link} with link.building.jobId; poll get_kg_build."},{"name":"get_kg_build","description":"Returns {job:{status, ...}, link}. When status is done the link is refreshed to the new run. Repeat until done or error."},{"name":"ask_dual_demo","description":"Answers one question twice: from internal brand knowledge only, and from brand knowledge plus live ListeningMind search demand for the most related entity. Returns {internal, combined, evidence:{wiki, market}}."},{"name":"get_brand_mcp_info","description":"Describes the per-project brand knowledge MCP server (JSON-RPC 2.0 over POST to the same path): service name, transport, endpoint and tool names (search_wiki, list_entities, read_entity, search_market, gap_report, category_kg)."},{"name":"export_project","description":"Downloads project data. format: markdown (wiki), json (whole bundle), entities-csv, claims-csv, jsonld (schema.org), llms-txt, connector (demand JSON), connector-csv. Sent as an attachment."},{"name":"get_settings","description":"Returns {settings:{defaultMaxPages, defaultMaxDepth, defaultExcludePaths, respectRobots}} applied to new projects."},{"name":"update_settings","description":"Updates defaults for new projects. defaultMaxPages is clamped to 1-1000 and defaultMaxDepth to 1-10. Returns {settings}."},{"name":"compose_wiki_pages","description":"Writes or rewrites the chosen brand-wiki documents from four kinds of evidence: the brand's own pages, the official-data layer, ListeningMind search demand (Intent KG experience layer) and domain knowledge (Intent KG knowledge layer). Charged per document started. Background job; returns {started:[entity ids], total}. Poll get_wiki_compose_status."},{"name":"compose_wiki_all","description":"Writes or refreshes every document in the wiki plan (up to 60). Documents edited or approved by people are not overwritten; a new draft is kept beside them. One fixed price. Returns {started:[entity ids], total}. Poll get_wiki_compose_status."},{"name":"get_wiki_compose_status","description":"Progress of the running wiki-writing job."},{"name":"get_wiki_plan","description":"The documents the wiki will hold, with the evidence each can use now (site, official, search demand, knowledge), plus Intent KG nodes that can be added as new documents."},{"name":"update_wiki_plan","description":"Adds a topic (an Intent KG node or a name), or takes documents out of / back into the plan. Nothing is deleted."},{"name":"export_wiki","description":"Downloads the wiki for the brand's own site: json (one file), md or html (zip: one file per document with front matter / head meta, canonical and JSON-LD, plus an index)."}],"documentation":"https://daas-wiki.listeningmind.ai/llms.txt"},"docs":"https://daas-wiki.listeningmind.ai/llms.txt"}