MCP.so
登录

Custom Context MCP Server

@omer-ayhan

关于 Custom Context MCP Server

This Model Context Protocol (MCP) server provides tools for structuring and extracting data from text according to JSON templates.

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

omer-ayhan

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Custom Context MCP Server?

This Model Context Protocol (MCP) server provides tools for structuring and extracting data from text according to JSON templates, enabling transformation of AI-generated text into structured JSON for downstream applications.

How to use Custom Context MCP Server?

Install dependencies with npm install, then run the server with npm start. The server exposes two tools: group-text-by-json (generates a prompt for an AI to group text by a JSON template’s placeholder keys) and text-to-json (converts the grouped text back into a structured JSON object matching the original template). Templates use angle‑bracket placeholders (e.g., <name>) anywhere in a valid JSON structure.

Key features of Custom Context MCP Server

  • Group and structure text based on JSON templates with placeholders.
  • Extract information from AI-generated text into structured JSON.
  • Support for any arbitrary JSON structure with nested placeholders.
  • Intelligent extraction of key‑value pairs from text.
  • Process AI outputs into structured data for downstream applications.
  • Two‑step workflow: prompt generation then structured conversion.

Use cases of Custom Context MCP Server

  • Convert free‑form AI responses into a predictable JSON format.
  • Extract structured data (e.g., product details) from AI‑generated descriptions.
  • Build a pipeline that accepts human text and outputs clean JSON for databases or APIs.
  • Transform multi‑field AI output into nested JSON objects with minimal manual parsing.

FAQ from Custom Context MCP Server

What Node.js version is required for Custom Context MCP Server?

Node.js v18 or higher is required.

What template format does Custom Context MCP Server support?

Templates must be valid JSON strings with placeholders written inside angle brackets (e.g., <name>, <price>). Placeholders can appear at any level of nesting.

What are the two main tools provided by Custom Context MCP Server?

The tools are group-text-by-json (creates a prompt to guide an AI to group text by the template’s placeholders) and text-to-json (converts the resulting grouped text into structured JSON).

How can I debug or develop the server?

Use npm run dev to run the server with the MCP Inspector for visual debugging. For development with hot reloading, use npm run dev:watch.

Does Custom Context MCP Server store any data externally?

No. The server processes text in‑memory and does not persist data or connect to external storage.

评论

其他 分类下的更多 MCP 服务器