intenttext
IntentText MCP server lets AI agents parse, validate, query, diff, and render IntentText (.it) documents. It exposes 9 tools for safe parsing, workflow validation, HTML/print rendering, template merging, and round-trip source generation.
README
@intenttext/mcp-server
<!-- mcp-name: io.github.intenttext/intenttext-mcp -->
What is IntentText?
IntentText (.it) is a plain-text document format where every line has a declared semantic type — making documents simultaneously human-writable and natively JSON. A task: is a task. A step: is an executable workflow step. Every block parses to typed, deterministic JSON with no interpretation required.
This MCP server gives any AI agent the ability to work with IntentText documents as native tool calls.
Deployed instance: https://intenttext-mcp.onrender.com — use this URL directly in any MCP client that supports remote servers.
MCP server for IntentText — parse, validate, query, render, and generate .it documents from any AI agent.
With this server running, Claude, GPT, or any MCP-compatible agent can work with IntentText documents as native tool calls — without needing to understand the format itself.
Installation
npm install -g @intenttext/mcp-server
# or use npx (no install required)
npx @intenttext/mcp-server
Configure with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"intenttext": {
"command": "npx",
"args": ["@intenttext/mcp-server"]
}
}
}
Configure with any MCP client
{
"command": "npx",
"args": ["@intenttext/mcp-server"],
"env": {}
}
HTTP Wrapper (for hosted MCP URLs)
This package also includes an HTTP wrapper so you can deploy it from this GitHub repo to platforms like Railway/Render/Fly and provide a URL (for directories that ask for https://.../mcp).
npm install
npm run build
npm run start:http
Endpoints:
POST /mcp- MCP Streamable HTTP endpointGET /health- health check endpoint
Environment variables:
PORT(default3000)HOST(default0.0.0.0)
Note: GitHub itself cannot host a long-running Node server process. Keep the wrapper code in GitHub, then deploy it to a runtime provider and use that public URL in Smithery forms.
The public deployment is available at https://intenttext-mcp.onrender.com.
Available Tools
parse_intent_text
Parse an IntentText (.it) source string into a structured JSON document.
| Parameter | Type | Description |
|---|---|---|
source |
string | The IntentText source string to parse |
safe |
boolean | If true, never throw — returns warnings instead of errors. Default: true |
render_html
Render an IntentText source string to styled HTML.
| Parameter | Type | Description |
|---|---|---|
source |
string | IntentText source string (.it format) |
render_print
Render an IntentText document to print-optimised HTML with @media print CSS. Suitable for PDF generation.
| Parameter | Type | Description |
|---|---|---|
source |
string | IntentText source string |
merge_template
Merge an IntentText template (containing {{variable}} placeholders) with a data object.
| Parameter | Type | Description |
|---|---|---|
template |
string | IntentText template source with {{variable}} placeholders |
data |
object | JSON object with values to substitute into the template |
render |
string | "none" (default), "html", or "print" — optionally render the merged result |
validate_document
Validate an IntentText document for semantic correctness. Checks for broken step references, missing required properties, unresolved variables, and workflow logic errors.
| Parameter | Type | Description |
|---|---|---|
source |
string | IntentText source string to validate |
query_document
Query an IntentText document for specific blocks by type, content, or properties.
| Parameter | Type | Description |
|---|---|---|
source |
string | IntentText source string |
type |
string | Block type filter — e.g. "task", "step,gate,decision" |
content |
string | Substring to search for in block content |
section |
string | Only return blocks within this section |
limit |
number | Maximum number of results to return |
diff_documents
Compare two versions of an IntentText document and return a semantic diff.
| Parameter | Type | Description |
|---|---|---|
before |
string | The original IntentText source |
after |
string | The updated IntentText source |
document_to_source
Convert an IntentText JSON document back to .it source format.
| Parameter | Type | Description |
|---|---|---|
document |
object | An IntentText document JSON object (as produced by parse_intent_text) |
extract_workflow
Extract the execution graph from an IntentText workflow document. Returns steps in topological order, dependency relationships, parallel batches, and gate positions.
| Parameter | Type | Description |
|---|---|---|
source |
string | IntentText source containing workflow blocks (step:, decision:, gate:, etc.) |
Example: Agent Workflow
User: Create a deployment workflow for a web app
Agent calls: parse_intent_text with a generated .it document
Agent calls: validate_document to check for issues
Agent calls: extract_workflow to get the execution graph
Agent calls: render_html to produce a visual version
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。