mcp-management

mcp-management

A Node.js MCP server that loads plugins, registers tools via the MCP SDK, and exposes functionality over stdio with built-in persistence and a Next.js web UI. It provides a management stack for MCP tools with plugin lifecycle management and security controls.

Category
访问服务器

README

mcp-management

Monorepo for an MCP (Model Context Protocol) management stack: a Node.js server that loads plugins, registers tools via the MCP SDK, persists state, and speaks MCP over stdio, plus a Next.js web UI. Tooling is pnpm + Turborepo; packages are TypeScript-first.

Repository: github.com/mewisme/mcp

Requirements

  • Node.js 22+ (see root package.json engines)
  • pnpm 10+ (version pinned via packageManager in root package.json)

Quick start

pnpm install
pnpm dev

pnpm dev runs every workspace package’s dev script via Turborepo. To work on one app:

pnpm exec turbo dev --filter=@meewmeew/mcp    # MCP server (watch)
pnpm exec turbo dev --filter=@meewmeew/web    # Next.js app

Build, quality checks, and tests from the repo root:

pnpm build
pnpm lint
pnpm check-types
pnpm test

Format sources with Prettier: pnpm format.

What’s in the repo

Area Location Package Role
MCP server apps/server @meewmeew/mcp Plugin loading, lifecycle, persistence, stdio MCP transport; CLI mcp-management
Web app apps/web @meewmeew/web Next.js 16 UI (App Router under src/app/)
Built-in plugins packages/builtin-plugins @meewmeew/builtin-plugins Curated plugins; registry export BUILTIN_PLUGINS
Plugin API packages/plugin-sdk @meewmeew/plugin-sdk Contracts, manifests, tool registration
Shared utilities packages/shared @meewmeew/shared Logger, errors, path guards / allowed roots
Tooling packages/eslint-config, packages/typescript-config Shared ESLint and TypeScript bases

Workspace layout is declared in pnpm-workspace.yaml (apps/*, packages/*).

MCP server (@meewmeew/mcp)

The server bootstraps in apps/server/src/bootstrap/, registers plugin loaders (built-in, and optionally path / package / bundle when allowed), runs a PluginManager with an execution policy, and exposes MCP over stdio.

  • Published package: @meewmeew/mcp on npm (build output under apps/server/dist/).
  • Local config: copy apps/server/.env.example to .env in the directory you run from (dotenv loads the cwd’s .env).

Persistence and logs

  • JSON state: store.json under MCP_DATA_DIR (default ~/.mcp-management on the current user).
  • Plugin audit log: {MCP_DATA_DIR}/logs/plugin-audit.log (Winston), separate from store.json.
  • In-memory persistence: MCP_IN_MEMORY_PERSISTENCE=true, or when NODE_ENV=test.

Security / plugins

  • External loaders (path, package, bundle) require MCP_ALLOW_EXTERNAL_PLUGINS=true; built-ins always load.
  • Filesystem-related tooling respects blocked OS paths and optional MCP_FS_ALLOWED_ROOTS (comma-separated paths); see @meewmeew/shared.

Full CLI options, scripts table, and architecture notes: apps/server/README.md.

Web app (@meewmeew/web)

Next.js 16, React 19, Tailwind 4. Routes live under apps/web/src/app/. For editor/agent notes on this stack, see AGENTS.md and apps/web/AGENTS.md.

Versioning and release

  • pnpm bump (or node scripts/bump.js [major|minor|patch]) bumps the root package.json version only.
  • CI (.github/workflows/mcp-server.yml) on main: builds and tests @meewmeew/mcp, syncs apps/server/package.json from the root version, creates the vX.Y.Z git tag if missing, and publishes @meewmeew/mcp to npm when NPM_TOKEN is configured.

Documentation for contributors

  • AGENTS.md — monorepo layout, commands, server mental model, how to add a built-in plugin (see also .cursor/skills/builtin-tool-plugin/SKILL.md).

Useful links

推荐服务器

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

官方
精选