Itcons.app

io.github.itcons-app由 GitHub 账号 itcons-app 发布v0.5.1更新于 Oct 25, 2026

Connect AI assistants to Itcons.app work orders, reports, projects, users, and resources.

已验证Streamable HTTP可网页运行效率与工作流商业与电商

概览

AI 生成的概览

将 AI 助手连接到 Itcons.app 业务运营工作区,用于搜索工单和工作报告、列出各类目录并创建记录。

可以做什么
检查连接并列出运营目录:状态、用户、资源、客户、项目、工单类型和工作报告模板。搜索工单、列出待处理工单,以及按日期或查询当天的工作报告。在账号有权限时创建客户、项目、用户和工单。另有仅含工作报告工具的窄范围配置。
适用场景
适合以外勤和办公流程在 Itcons.app 中运转的团队,让助手查询工单、日报、项目、客户或用户,或在不切换应用的情况下新建记录。
运行要求
可使用带 OAuth 登录的远程托管端点,或在本地用 Node.js 以 stdio 运行 npm 包。本地模式需要 ITCONS_DOMAIN,以及 ITCONS_USERNAME 和 ITCONS_PASSWORD,或已有的 ITCONS_TOKEN;ITCONS_TIMEZONE 可选。远程托管需要公开 HTTPS 地址和 OAuth 客户端配置。
安装前请注意
创建类工具会在 Itcons.app 工作区写入真实记录,只应使用允许修改的账号。服务器会处理 Itcons.app 凭据和 bearer 令牌,请勿写入提交到仓库的文件。内置远程 OAuth 实现将授权码和令牌保存在内存中,除非替换存储,否则建议只运行单个进程。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Itcons.app,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.itcons-app%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "itcons-app": {
      "type": "http",
      "url": "https://mcp.itcons.app/mcp"
    }
  }
}

README

Itcons.app MCP Server

Model Context Protocol server for connecting AI assistants to Itcons.app.

Itcons.app is a business operations platform for managing work reports, work orders, projects, clients, users, and related operational resources. It is designed to help teams digitize field and office workflows around daily reports, assignments, task tracking, and service execution.

This package can run in two modes:

  • Local stdio mode for clients such as Codex, Claude Desktop, and other local MCP hosts.
  • Remote HTTP mode for hosted MCP clients such as ChatGPT Apps or other clients that require a public HTTPS MCP endpoint.

With this MCP server, an assistant can query Itcons.app data, search work reports and work orders, list operational catalogs such as statuses, users, resources, projects, and clients, and create supported Itcons.app records when the configured user has permission to do so.

Features

  • Authenticate with POST /api/login_check.
  • Use Bearer authentication for Itcons.app API calls.
  • Resolve the API base URL from ITCONS_DOMAIN.
  • List statuses, users, resources, clients, projects, work order types, and work report models.
  • Search work reports and work orders.
  • Create clients, projects, users, and work orders.

Webhooks are intentionally not included in this MCP server. The remote HTTP mode is for MCP client traffic, not inbound Itcons.app webhook delivery.

Installation

From npm:

bash
npm install -g @itcons-app/mcp

From this repository:

bash
npm installnpm run check

If Node was installed with Homebrew and node/npm are not in your PATH, use:

bash
/opt/homebrew/opt/node/bin/npm install/opt/homebrew/opt/node/bin/npm run check

Configuration

The local stdio server reads Itcons.app credentials from environment variables.

bash
ITCONS_DOMAIN=demo[email protected]ITCONS_PASSWORD=change-meITCONS_TIMEZONE=Europe/Madrid

For https://demo.itcons.app, set:

bash
ITCONS_DOMAIN=demo

You may use an existing Bearer token instead of username/password:

bash
ITCONS_DOMAIN=demoITCONS_TOKEN=ey...

ITCONS_API_BASE_URL is optional. If omitted, the server uses:

text
https://ITCONS_DOMAIN.itcons.app/api

MCP Client Example

Example configuration using a globally installed package:

json
{  "mcpServers": {    "itcons-app": {      "command": "itcons-app-mcp",      "env": {        "ITCONS_DOMAIN": "demo",        "ITCONS_USERNAME": "[email protected]",        "ITCONS_PASSWORD": "change-me",        "ITCONS_TIMEZONE": "Europe/Madrid"      }    }  }}

Remote HTTP Server

Start the remote MCP server:

bash
PORT=3000 \HOST=127.0.0.1 \ITCONS_MCP_PUBLIC_URL=https://mcp.example.com \ITCONS_OAUTH_CLIENT_ID=itcons-app-chatgpt \ITCONS_OAUTH_CLIENT_SECRET=change-me \npm run start:http

The remote server exposes:

  • MCP Streamable HTTP endpoint: https://mcp.example.com/mcp
  • Reports-only MCP endpoint for public ChatGPT apps: https://mcp.example.com/reports-mcp
  • SSE-compatible endpoint: https://mcp.example.com/sse
  • OAuth authorize URL: https://mcp.example.com/oauth/authorize
  • OAuth token URL: https://mcp.example.com/oauth/token
  • OAuth dynamic client registration URL: https://mcp.example.com/oauth/register
  • Health check: https://mcp.example.com/health

For ChatGPT's "Create app" screen, use the public MCP URL:

text
https://mcp.example.com/mcp

For a narrow public app focused only on work reports, use:

text
https://mcp.example.com/reports-mcp

If a client specifically asks for an SSE URL, use:

text
https://mcp.example.com/sse

When the user connects the app, the OAuth login page asks for their Itcons.app email and password. If ITCONS_DOMAIN_LOOKUP_URL is configured, the page tries to detect the Itcons.app domain from the email; otherwise the user can type the domain manually. The server validates those credentials with Itcons.app and stores an in-memory session token for subsequent MCP calls.

Example configuration using a local checkout:

json
{  "mcpServers": {    "itcons-app": {      "command": "node",      "args": [        "/absolute/path/to/itcons-app-mcp/src/index.js"      ],      "env": {        "ITCONS_DOMAIN": "demo",        "ITCONS_USERNAME": "[email protected]",        "ITCONS_PASSWORD": "change-me",        "ITCONS_TIMEZONE": "Europe/Madrid"      }    }  }}

Tools

Read-only tools:

  • itcons_check_connection
  • itcons_list_workorder_types
  • itcons_list_work_report_models
  • itcons_list_projects
  • itcons_list_clients
  • itcons_list_statuses
  • itcons_list_users
  • itcons_list_resources
  • itcons_search_workorders
  • itcons_list_pending_workorders
  • itcons_search_work_reports
  • itcons_list_work_reports_by_date
  • itcons_list_today_work_reports

Create tools:

  • itcons_create_workorder
  • itcons_create_user
  • itcons_create_project
  • itcons_create_client

Reports-only profile tools exposed by /reports-mcp:

  • itcons_check_connection
  • itcons_list_work_report_models
  • itcons_search_work_reports
  • itcons_list_work_reports_by_date
  • itcons_list_today_work_reports

Tool annotations:

  • Read-only tools set readOnlyHint: true, destructiveHint: false, and openWorldHint: false because they only read private Itcons.app data.
  • Create tools set readOnlyHint: false, destructiveHint: false, and openWorldHint: false because they create records only inside a private Itcons.app workspace and do not publish to public internet surfaces.

Environment Variables

VariableRequiredDescription
ITCONS_DOMAINYesInstallation subdomain. For https://demo.itcons.app, use demo.
ITCONS_USERNAMEYes, unless ITCONS_TOKEN is setItcons.app username or email.
ITCONS_PASSWORDYes, unless ITCONS_TOKEN is setItcons.app password.
ITCONS_TOKENNoExisting Bearer token. If set, login is skipped.
ITCONS_API_BASE_URLNoAlternative API base URL.
ITCONS_TIMEZONENoTime zone used by itcons_list_today_work_reports. Defaults to Europe/Madrid.
PORTNoHTTP server port. Defaults to 3000.
HOSTNoHTTP server bind host. Defaults to 127.0.0.1.
ITCONS_MCP_PUBLIC_URLYes for remote modePublic HTTPS origin, for example https://mcp.example.com.
ITCONS_MCP_PATHNoRemote MCP endpoint path. Defaults to /mcp.
ITCONS_MCP_SSE_PATHNoSSE-compatible endpoint path. Defaults to /sse.
ITCONS_MCP_ALLOWED_HOSTSRecommended for remote modeComma-separated allowed Host headers, for example mcp.example.com.
ITCONS_OAUTH_CLIENT_IDNoOAuth client ID expected by the remote server. Defaults to itcons-app-chatgpt.
ITCONS_OAUTH_CLIENT_SECRETRecommended for remote modeOAuth client secret expected by the remote server.
ITCONS_OAUTH_CLIENTS_FILERecommended for public appsJSON file used to persist dynamically registered OAuth clients.
ITCONS_DOMAIN_LOOKUP_URLNoEndpoint used to detect the Itcons.app domain from an email. Defaults to https://auto.itcons.app/webhook/my-domain.
ITCONS_HTTP_AUTH_DISABLEDNoSet to 1 only for local HTTP smoke tests. Disables remote MCP bearer auth.

Notes

  • Work order pending status is 4.
  • itcons_search_workorders fetches /workorders and applies filters locally.
  • itcons_list_work_reports_by_date filters on the date field returned by /2.0/partes.
  • itcons_create_workorder sends status: 4 and isArchived: 0.
  • itcons_create_user sends an array payload to /2.0/users, matching the current API.
  • itcons_create_client sends an array payload to /clients and returns the first array item when applicable.

Development

Run syntax checks:

bash
npm run check

Run a local MCP discovery smoke test:

bash
npm run smoke

Run a local HTTP MCP smoke test:

bash
npm run smoke:http

Run a live read-only HTTP smoke test against Itcons.app:

bash
ITCONS_DOMAIN=demo \[email protected] \ITCONS_PASSWORD=change-me \npm run smoke:http:live

Run a live OAuth smoke test that simulates a ChatGPT-style connection:

bash
ITCONS_DOMAIN=demo \[email protected] \ITCONS_PASSWORD=change-me \npm run smoke:oauth:live

Run a live read-only smoke test against Itcons.app:

bash
ITCONS_DOMAIN=demo \[email protected] \ITCONS_PASSWORD=change-me \npm run smoke:live

Publish the public npm package:

bash
npm publish --access public

Security

Do not commit .env files or real credentials. The package excludes .env, node_modules, and debug logs from npm publication.

Create tools perform real writes in Itcons.app. Use them only with credentials and installations where the MCP client is allowed to make changes.

The built-in remote OAuth implementation stores authorization codes and access tokens in memory. Use a single Node.js process for the first deployment, or replace the in-memory maps with persistent storage such as Redis before running multiple replicas.

来源:README.md,提交 bd0a780

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v0.5.1最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分