{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "tntexploding-struinfo--let-an-agent-file-documents-over-mcp",
 "repo": "tntexploding/StruInfo",
 "repo_url": "https://github.com/tntexploding/StruInfo",
 "repo_slug": "tntexploding-struinfo",
 "title": "Let an external AI agent file documents through MCP",
 "page_title": "How to let an external AI agent file documents through MCP with Stru Info",
 "summary": "Connect an agent with a scoped token so it can import, split, tag, and link your documents.",
 "who": "A developer or researcher who already works with an AI agent and wants it to manage the knowledge base without using the web interface.",
 "problem": "Filing each document by hand in the web interface takes too long when the work is repetitive.",
 "outcome": "An agent that reads or writes Stru Info content through the MCP interface, limited to the permissions you granted.",
 "steps": [
  "Read docs/agent-interface.md and create an agent token with read-only access, or with import, split, tag, and link write access.",
  "Configure your MCP-capable agent client to point at the Stru Info MCP endpoint described in docs/agent-interface.md. (inferred, check the README)",
  "Ask the agent to list available documents before it writes anything.",
  "Review the agent's changes in the 工作台 and confirm them with 确认入库."
 ],
 "agent_prompt": "In the repo tntexploding/StruInfo, use the MCP interface described in docs/agent-interface.md with a read-only token to list documents matching <topic>. Return the titles and IDs, and verify that no write operation was performed.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "90 minutes",
 "basis": "readme",
 "caveat": "Agent write access can add or change items, so keep the token scoped and review agent edits in the 工作台 before confirming them.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "typescript",
 "requirements": [
  "A machine that runs Docker and Docker Compose",
  "PostgreSQL 18, as recommended in the README",
  "Access to the docs/getting-started.md setup guide and a host port for STRUIINFO_HTTP_PORT",
  "Optional: a DeepSeek or OpenAI API key stored in an external key file, only if you want AI features"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/tntexploding-struinfo/let-an-agent-file-documents-over-mcp/",
 "md": "https://dedupedai.com/use-cases/tntexploding-struinfo/let-an-agent-file-documents-over-mcp/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/tntexploding-struinfo--let-an-agent-file-documents-over-mcp.json",
 "api_version": "v1"
}
