AIX MCP Server

AIX MCP Server

An extensible MCP server with a plugin system, proxy forwarding, web dashboard, and service registry for managing MCP tools and services.

Category
访问服务器

README

AIX MCP Server

中文文档

An extensible Model Context Protocol (MCP) server with a plugin system, proxy forwarding, Web Dashboard, and a built-in service registry.

AIX MCP Server banner

Features

  • Dual Transport — stdio (for Cursor / Claude Desktop) and Streamable HTTP
  • Plugin System — 7 built-in utility plugins; extend via npm packages, local paths, or JSON files
  • Proxy Forwarding — Aggregate multiple remote MCP servers into a single endpoint
  • Web Dashboard — Manage plugins, proxies, and logs through a visual interface
  • Service Registry — Pre-loaded catalog of popular MCP services with one-click install and config copy
  • LLM-Powered Search — AI-driven discovery and recommendations for MCP services
  • Docker Ready — Multi-stage build, works out of the box

Preview

Dashboard preview

Quick Start

Local

npm install
npm run build

# stdio mode (for MCP clients)
npm start

# HTTP mode (starts web server + dashboard)
node dist/index.js http

Docker

# Build and start (detached)
docker compose up --build -d

# View logs
docker compose logs -f

# Stop
docker compose down

The service listens on http://localhost:3080 by default.

Built-in Plugins

Plugin Tools Description
calculator calculator Math expression evaluation
crypto hash-text, random-uuid, random-string Hashing, UUID, random strings
datetime current-time, format-time Current time, time formatting
filesystem list-files, read-file + Resource File listing, reading, file resource
hello-json hello-json + Resource Declarative JSON-authored plugin example
system run-command + Resource Shell command execution, system info resource
text-utils json-format, base64, text-stats JSON formatting, Base64 encode/decode, text stats

MCP Client Configuration

Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "aix-mcp-server": {
      "command": "node",
      "args": ["/path/to/aix-mcp-server/dist/index.js"]
    }
  }
}

Or use HTTP mode (start the server first):

{
  "mcpServers": {
    "aix-mcp-server": {
      "url": "http://localhost:3080/mcp"
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "aix-mcp-server": {
      "command": "node",
      "args": ["/path/to/aix-mcp-server/dist/index.js"]
    }
  }
}

Plugin Development

Create a TypeScript file that default-exports an object conforming to the McpPlugin interface:

import { z } from "zod";
import type { McpPlugin } from "aix-mcp-server/plugin";

const plugin: McpPlugin = {
  name: "my-plugin",
  description: "My custom plugin",
  register(server) {
    server.registerTool("my-tool", {
      title: "My Tool",
      description: "Does something useful",
      inputSchema: z.object({
        input: z.string().describe("Input value"),
      }),
    }, async ({ input }) => {
      return { content: [{ type: "text", text: `Result: ${input}` }] };
    });
  },
};

export default plugin;

See examples/mcp-plugin-example/ for a complete example.

JSON Plugins

You can also create lightweight local MCP plugins using only JSON, similar to sharing a userscript. JSON plugins are declarative and do not execute arbitrary JavaScript. They currently support template/json tool responses and static resources.

Create plugins/my-json-plugin.json:

{
  "schemaVersion": 1,
  "name": "my-json-plugin",
  "description": "A declarative JSON MCP plugin",
  "tools": [
    {
      "name": "hello",
      "title": "Hello",
      "description": "Return a greeting",
      "inputSchema": {
        "type": "object",
        "required": ["name"],
        "properties": {
          "name": { "type": "string", "description": "Name to greet" }
        }
      },
      "response": {
        "type": "template",
        "text": "Hello {{name}}!"
      }
    }
  ]
}

Then add it to mcp-plugins.json:

{
  "source": "./plugins/my-json-plugin.json",
  "enabled": true
}

Installing Plugins

# Via CLI
node dist/cli.js add ./path/to/plugin
node dist/cli.js add some-npm-package

# Or edit mcp-plugins.json directly

Proxy Configuration

Edit mcp-proxy.json to add remote MCP servers:

{
  "targets": [
    {
      "name": "remote-server",
      "url": "http://other-mcp:3000/mcp",
      "enabled": true,
      "description": "Remote MCP server"
    }
  ]
}

Quality Checks

npm test
npm run registry:validate

registry:validate checks mcp-registry.json and configured JSON plugins before you open a pull request.

Architecture

AIX MCP Server architecture

See Architecture Notes and Registry Schema for contributor-facing design details.

See Cursor Integration Guide to configure this server for one project or all Cursor workspaces.

See Technical Roadmap for the planned v1.1, v1.2, and v2.0 evolution.

Troubleshooting

  • http://localhost:3080/mcp returns Missing or invalid session ID: this is expected when opening the MCP endpoint directly in a browser. Use the Dashboard at http://localhost:3080, or connect through an MCP client.
  • Dashboard changes do not appear: rebuild and restart the server or container after changing TypeScript, plugins, or config files.
  • JSON plugin fails to load: run npm run registry:validate to get an exact field path for the invalid JSON.
  • Sandbox upgrade fails: inspect the failed check and its Fix message in the Dashboard, then rerun sandbox validation.

Project Structure

aix-mcp-server/
├── src/
│   ├── index.ts          # Entry (stdio / HTTP transport)
│   ├── cli.ts            # Plugin management CLI
│   ├── loader.ts         # Plugin loader
│   ├── plugin.ts         # Plugin interface
│   ├── proxy.ts          # Proxy forwarding
│   ├── registry.ts       # Service registry
│   ├── llm.ts            # LLM provider integration
│   ├── plugins/          # Built-in plugins
│   │   ├── calculator.ts
│   │   ├── crypto.ts
│   │   ├── datetime.ts
│   │   ├── filesystem.ts
│   │   ├── system.ts
│   │   └── text-utils.ts
│   └── web/
│       ├── api.ts        # Dashboard API routes
│       └── dashboard.html
├── mcp-plugins.json      # Plugin configuration
├── mcp-proxy.json        # Proxy configuration
├── mcp-registry.json     # Service registry data
├── llm-config.json       # LLM provider configuration
├── docker-compose.yml
├── Dockerfile
└── package.json

License

MIT

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选