Token导航 LogoToken导航TokenDH.com
Soustack MCP Ingest logo
运维云端未说明官方级别未说明来源级核验

Soustack MCP Ingest

MCP Server

Soustack MCP Ingest 是一个用于文本结构化处理的工具,支持文本分块、结构化数据提取、转换和验证,适用于食谱等结构化数据的处理。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
文本处理结构化数据TypeScript数据提取

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

RichardHerold

提供方

RichardHerold

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Soustack MCP摄入

用法

启动服务器:

soustack-mcp-ingest

协议

服务器从stdin读取换行的JSON请求,并将换行的JSON响应写入stdout。每个请求必须包括:

  • id:唯一请求标识符。
  • tool:工具名称。
  • input:工具输入有效载荷的JSON对象。

请求形状:

{"id":"request-1","tool":"","input":{}}

成功响应形状:

{"id":"request-1","ok":true,"output":{}}

错误响应形状:

{"id":"request-1","ok":false,"error":{"code":"tool_not_found","message":"Tool \"unknown\" is not available."}}

工具

ping

服务器的运行状况检查。

{"id":"ping-1","tool":"ping","input":{}}

ingest.meta

返回版本和支持的输入类型。

{"id":"meta-1","tool":"ingest.meta","input":{}}

ingest.segment

使用 soustack-ingest 模块。

{"id":"segment-1","tool":"ingest.segment","input":{"text":"# Title\n\nFirst paragraph.\n\nSecond paragraph.","options":{"maxChunks":2}}}

ingest.extract

从块中提取中间配方。

{"id":"extract-1","tool":"ingest.extract","input":{"text":"# Title\n\nIngredients:\n- eggs\n- butter\n\nSteps:\n1. Mix.\n2. Cook.","chunk":{"startLine":1,"endLine":8,"titleGuess":"Title"}}}

ingest.toSoustack

将中间配方转换为Soustack配方。

{"id":"to-soustack-1","tool":"ingest.toSoustack","input":{"intermediate":{"title":"Scrambled Eggs","ingredients":["2 eggs","1 tbsp butter"],"instructions":["Whisk eggs.","Cook in butter."],"source":{"startLine":1,"endLine":4,"evidence":"Scrambled Eggs"}},"options":{"sourcePath":"/recipes/breakfast.md"}}}

ingest.validate

验证Soustack配方有效载荷。

{"id":"validate-1","tool":"ingest.validate","input":{"recipe":{"name":"Sample","ingredients":[],"instructions":[]}}}

ingest.document

在文件或目录上运行端到端摄取管道。

{"id":"document-1","tool":"ingest.document","input":{"inputPath":"/data/notes","outDir":"/data/out","options":{"emitFiles":true,"returnRecipes":true,"maxRecipes":50,"strictValidation":true}}}

工作流示例(分阶段+端到端)

下面是一个完整的工作流程,显示了各个阶段之间的关系。 ingest.extract, ingest.toSoustack,以及 ingest.validate 是从 soustack-ingest 模块;它们在内部执行 ingest.document 工具,也作为单独的MCP工具公开。

  1. ingest.segment --将文本分割成块以供下游处理。
{"id":"workflow-segment-1","tool":"ingest.segment","input":{"text":"# Intro\n\nHello world.\n\n## Details\nMore text here."}}
  1. ingest.extract --从每个块中提取结构化数据。
{"id":"workflow-extract-1","tool":"ingest.extract","input":{"text":"# Intro\n\nHello world.\n\n## Details\nMore text here.","chunk":{"startLine":1,"endLine":4,"titleGuess":"Intro"}}}
  1. ingest.toSoustack --将提取的数据转换为Soustack食谱。
{"id":"workflow-to-soustack-1","tool":"ingest.toSoustack","input":{"intermediate":{"title":"Intro","ingredients":["Hello world"],"instructions":["More text here."],"source":{"startLine":1,"endLine":4,"evidence":"# Intro"}},"options":{"sourcePath":"/docs/example.md"}}}
  1. ingest.validate --根据Soustack规则验证食谱。
{"id":"workflow-validate-1","tool":"ingest.validate","input":{"recipe":{"name":"Intro","ingredients":["Hello world"],"instructions":["More text here."]}}}
  1. ingest.document --在磁盘输入端对端运行所有阶段。
{"id":"workflow-document-1","tool":"ingest.document","input":{"inputPath":"/data/notes","options":{"emitFiles":false,"returnRecipes":true}}}

目录标签

目录标签

文本处理结构化数据TypeScript数据提取本地部署数据验证食谱处理

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP