Connxio MCP Server

Connxio MCP Server

Provides tools for managing Connxio integrations, code components, environment variables, and security configs through the Connxio v2 management API.

Category
访问服务器

README

Connxio CLI

Connxio CLI provides the connxio command and an MCP server for Connxio management APIs.

The current implementation focuses on MCP usage through:

connxio mcp serve

Prerequisites

  • Node.js 24 or newer
  • Connxio OAuth client credentials
  • A Connxio subscription-scoped API key for each subscription context you want to use

Install

Install the CLI globally from npm:

npm i -g @connxio/cli

Verify installation:

connxio --help

Configure OAuth

connxio auth configure

You will be prompted for:

  • OAuth client id
  • OAuth scope, defaulting to api://connxio/.default
  • OAuth client secret

Check status:

connxio auth status

Clear OAuth configuration:

connxio auth clear

You can also configure OAuth with environment variables:

CONNXIO_OAUTH_CLIENT_ID="<client-id>"
CONNXIO_OAUTH_CLIENT_SECRET="<client-secret>"
CONNXIO_OAUTH_TOKEN_URL="https://api.connxio.com/oauth/token"
CONNXIO_OAUTH_SCOPE="api://connxio/.default"

CONNXIO_OAUTH_TOKEN_URL and CONNXIO_OAUTH_SCOPE are optional overrides.

Configure Contexts

A context represents one Connxio subscription. Connxio API keys are subscription-scoped, so add one context for each subscription you want to use.

connxio context add

The CLI calls /v2/subscriptions/current with the provided API key and stores the subscription/company metadata locally. API keys are stored through the credential abstraction, not in config.json.

List contexts:

connxio context list

Set a default context:

connxio context default <context-id>

Remove a context:

connxio context remove <context-id>

Register With VS Code

VS Code 1.99+ supports MCP servers natively via GitHub Copilot agent mode.

Option 1 — user settings (all projects)

Open the command palette (Ctrl+Shift+P/Cmd+Shift+P) and select MCP: Add server.

Select stdio transport, connxio mcp serve as the command, and set the name to connxio. This will create a user-level MCP server registration that is available in all projects.

Alternatively, edit the user level mcp.json config file directly. Open the command palette and select MCP: Open User Configuration, then add:

{
  "servers": {
    "connxio": {
      "type": "stdio",
      "command": "connxio",
      "args": ["mcp", "serve"]
    }
  }
}

Option 2 — workspace settings (this project only)

Create .vscode/mcp.json in your project root:

{
  "servers": {
    "connxio": {
      "type": "stdio",
      "command": "connxio",
      "args": ["mcp", "serve"]
    }
  }
}

The Connxio MCP server will now be available when you open this project in VS Code.

If you need to pass environment variables (e.g. for OAuth or a custom API base URL), add an env block:

{
  "servers": {
    "connxio": {
      "type": "stdio",
      "command": "connxio",
      "args": ["mcp", "serve"],
      "env": {
        "CONNXIO_OAUTH_CLIENT_ID": "<client-id>",
        "CONNXIO_OAUTH_CLIENT_SECRET": "<client-secret>"
      }
    }
  }
}

Do not commit files containing OAuth client secrets to source control.

Register With Claude Code

Register the installed MCP server:

claude mcp add --transport stdio connxio -- connxio mcp serve

To register the MCP server at user level (available in all projects), add --scope user:

claude mcp add --scope user --transport stdio connxio -- connxio mcp serve

Verify registration:

claude mcp list

If you need to replace an existing registration:

claude mcp remove connxio
claude mcp add --transport stdio connxio -- connxio mcp serve

API Base URL

The default API base URL is:

https://api.connxio.com

Override it per context:

connxio context add --base-url http://localhost:5119/api

Or with an environment variable:

CONNXIO_API_BASE_URL="http://localhost:5119/api"

For localhost development with self-signed HTTPS certificates, the CLI automatically allows insecure TLS for localhost URLs. For other local development endpoints, use:

CONNXIO_INSECURE_TLS=true

Do not use insecure TLS settings in production.

Run Diagnostics

connxio mcp doctor

For HTTP troubleshooting, enable redacted request diagnostics:

CONNXIO_DEBUG_HTTP=true connxio mcp doctor

MCP Tools

The MCP server exposes non-message Connxio v2 management operations.

Context and subscription tools:

  • list_contexts
  • get_current_context
  • list_subscriptions
  • get_current_subscription

Integration tools:

  • list_integrations
  • get_integration
  • create_integration
  • create_integration_no_validation
  • update_integration
  • delete_integration

Code component tools:

  • list_code_components
  • get_code_component
  • get_code_component_versions
  • create_code_component
  • deprecate_code_component
  • rename_code_component
  • delete_code_component

Environment variable tools:

  • list_environment_variables
  • get_environment_variable
  • create_environment_variable
  • delete_environment_variable

Security configuration tools:

  • list_security_configs
  • get_security_config
  • create_security_config
  • delete_security_config

Write tools require contextId. Destructive tools require contextId and confirm: true.

/messages operations are intentionally not exposed yet.

Local Config Files

Non-secret config is stored in:

  • macOS/Linux: ${XDG_CONFIG_HOME:-~/.config}/connxio/config.json
  • Windows: %APPDATA%\connxio\config.json

Secrets are stored through the CLI credential abstraction. The CLI now uses the OS keyring when available and falls back to ${XDG_CONFIG_HOME:-~/.config}/connxio/credentials.json on macOS/Linux or %APPDATA%\connxio\credentials.json on Windows when secure storage is unavailable.

If you already have secrets in credentials.json, the CLI migrates them into the OS keyring lazily as they are used and removes the legacy file entries after a successful migration.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选