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.
基本信息
配置
工具
未检测到工具
工具是从 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 服务器
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Blender
ahujasidOpen-source MCP to use Blender with any LLM
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Codelf
unbugA search tool helps dev to solve the naming things problem.
评论