Omniscio

OmniscioGuidesA plugin MCP bundle

A Claude Code plugin that bundles an MCP server

An MCP server packaged in a plugin is how a team gets tools from a database, an issue tracker or an internal API into every session without asking each person to run claude mcp add. The plugin declares the servers, the user supplies only the values that are theirs, and uninstalling the plugin removes the servers with it.

This is the MCP example from the five copyable plugin examples. For the MCP settings themselves rather than the packaging, see adding an MCP server and MCP server examples.

Checked against Anthropic’s Claude Code MCP and plugin documentation on November 25, 2026. By the Omniscio team. Updated .

What it bundles

Two servers and one skill. The local one is a stdio server launched with npx; the remote one is an HTTPS server. The skill tells Claude when to reach for the tools and what the team allows.

PieceWhat it adds
.mcp.jsonTwo server definitions: db, a stdio server run through npx, and github, a remote server reached over HTTPS
skills/database/SKILL.mdInstructions for when to query, what is read-only, and how to name the tools
plugin.jsonThe name, the description, and a userConfig option the database connection string is read from

The remote server’s entry needs "type": "http". The database server needs its connection string, which differs per person, so it is declared in userConfig and substituted from there rather than hard-coded into the plugin.

The full directory

team-data/
├── .claude-plugin/
│   └── plugin.json
├── .mcp.json
└── skills/
    └── database/
        └── SKILL.md

The manifest, with the option the user is asked for

{
  "name": "team-data",
  "description": "Read-only analytics access and GitHub tools for this team",
  "version": "1.0.0",
  "author": { "name": "Data Team" },
  "userConfig": {
    "db_url": {
      "type": "string",
      "title": "Analytics connection string",
      "description": "Read-only Postgres DSN for the analytics database",
      "sensitive": true
    }
  }
}

Each userConfig option appears in a dialog with its title as the label and its description beneath it. "sensitive": true masks the input and stores the value in secure storage rather than in settings.json.

The servers

{
  "mcpServers": {
    "db": {
      "command": "npx",
      "args": ["-y", "@bytebase/dbhub", "--dsn", "${user_config.db_url}"]
    },
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": {
        "Authorization": "Bearer ${GITHUB_TOKEN}"
      }
    }
  }
}

The stdio entry has a command and args and no type, which is how Claude Code reads it. The remote entry has a url and therefore must carry "type": "http". Variables in command, args, env, url and headers are substituted for plugin servers, and ${CLAUDE_PLUGIN_ROOT} resolves to the plugin’s install directory when a server needs a file the plugin ships.

The skill that says when to use them

---
name: database
description: Answer analytics questions from the read-only Postgres database. Use when asked about revenue, orders, customers or any metric in the warehouse.
allowed-tools: mcp__plugin_team-data_db__execute_sql, mcp__plugin_team-data_github__search_issues
---

Query the analytics database with the `db` server's `execute_sql` tool. It is
a read-only user: never attempt a write, and say so if the question needs one.

For context about why a number changed, search issues with the `github` server.

Report the SQL you ran with the answer, so the number can be checked.

A plugin’s MCP tool is named mcp__plugin_<plugin>_<server>__<tool>, with any character outside letters, digits, _ and - replaced by _. Naming the full name in allowed-tools is what lets the skill call it without a prompt.

What each field does

FieldWhat it decides
mcpServersThe map of servers in .mcp.json, keyed by the bare server name; /mcp shows it as plugin:<plugin>:<server>
command and argsA stdio server: the program to run and its arguments. An entry with no type is read as stdio
type and urlA remote server: http, sse or ws, and the address it connects to
env and headersEnvironment variables for a stdio server, HTTP headers for a remote one. Both substitute ${user_config.*} and ${CLAUDE_PLUGIN_ROOT}
userConfigIn plugin.json. The values Claude Code asks the user for, which the servers read through ${user_config.KEY}

The manifest can hold the servers inline instead, under mcpServers in plugin.json. The two are loaded together, and when a manifest server has the same name as one in .mcp.json, the manifest one replaces it.

Do not point a hook matcher at the bare server name. A plugin’s tools match only by mcp__plugin_<plugin>_<server>__<tool>, so mcp__db__.* never fires for a server this plugin declares.

Install and enable it

Before you install it, run claude plugin validate ./team-data. It checks each server entry the plugin declares, including the ones in .mcp.json, and reports an entry Claude Code would drop as an error, a ${user_config.KEY} the manifest does not declare, and a remote url that is not a valid absolute URL. These MCP checks need Claude Code v2.1.281 or later.

claude plugin marketplace add your-org/your-marketplace
claude plugin install team-data@your-marketplace --scope project

Installing from the shell never prompts for userConfig values: it prints that options are not yet set. In a session, /plugin install team-data@your-marketplace opens the plugin’s details and asks for them as part of enabling the plugin; afterwards, /plugin configure team-data reopens the same dialog.

To set a value from the shell without a prompt, pass it at install: claude plugin install team-data@your-marketplace --config db_url="postgresql://…".

Enabling the plugin starts its servers. Add and remove them by installing or uninstalling the plugin rather than with claude mcp commands; a server you want off for now can be toggled in /mcp without removing the plugin.

Confirm it loaded

In a session, run /mcp. A healthy server is listed as connected under the name plugin:team-data:db, and the remote one as plugin:team-data:github. If a server is missing or failed, /mcp shows the reason; a configuration problem also appears in the /plugin Errors tab.

Then ask a question the skill should handle: “What were last month’s orders by region?” If Claude answers without the tools, the skill’s description is not matching, or the tool names in allowed-tools are wrong; check the name against /mcp.

A session without an interactive terminal does not connect or disconnect plugin MCP servers when you run /reload-plugins; those changes take effect in the next session.

Why a bundled server does not start

  1. A URL with no type. Claude Code reads an entry with no type as stdio, skips an entry that only has a url, and reports MCP server "<name>" has a "url" but no "type"; add "type": "http" (or "sse" / "ws") to this entry.
  2. A missing environment variable. The error names the variables: Missing environment variables: <names>. Set them in the shell that starts Claude Code, then start a new session.
  3. An unset option. This plugin reads its connection string in args, so an unset value leaves the server starting with an empty DSN and failing to connect. A value used in a url reports URL is unset or invalid. Either way, /plugin configure <plugin> sets it.
  4. A path that only works from the source directory. A command that runs with --plugin-dir but fails after install points at a path the plugin cache does not have. A file inside the plugin is addressed with ${CLAUDE_PLUGIN_ROOT}; a file outside it has to be moved into the plugin directory or symlinked in.

A bad entry in .mcp.json is dropped at load, and that failure does not appear in the /plugin Errors tab — only in the debug log. claude plugin validate is the check that finds it before anyone installs.

If a stdio server failed to connect less than 15 minutes before a session started with claude --debug, that session does not start it again. Select Reconnect from the server’s menu in /mcp rather than assuming the config is wrong.

Common questions

Where does a plugin’s MCP config go?

In .mcp.json at the plugin root, or inline under mcpServers in plugin.json. Both load, and a manifest server replaces a file server with the same name.

Why is my bundled server missing from /mcp?

Most often a url with no type, which Claude Code skips. A missing environment variable or an unset userConfig value also stops it.

How are a plugin’s MCP tools named?

mcp__plugin_<plugin>_<server>__<tool>, and the server itself is plugin:<plugin>:<server> in /mcp.

Does installing the plugin install the server?

It connects to it. A stdio command such as npx fetches the package on first run; plugin servers are added and removed with the plugin.

Every session, one window

Omniscio runs several agent sessions side by side in one window, each with its own context and its own diff view. Any model, any harness — Claude Code, Codex, OpenCode, Devin, Pi, and Hermes all supported.