Skip to content
PluginStats

@gleanwork/mcp-config-schema weekly downloads statistics

By gleanwork (2 listings) · npm · MCP servers

Type-safe schemas and builders for MCP client configurations

View on npm Fresh · Dec 6, 2026

@gleanwork/mcp-config-schema has 22,695 recorded weekly downloads on npm, an increase of 18.2% over the past 30 days, ranking #1002 of 3,247 tracked listings.

Weekly downloads
22,695
Official API · Dec 5, 2026
7-day growth
-3.9%
-913 weekly downloads
30-day growth
+18.2%
+3.5K weekly downloads
90-day growth
+144%
+13.4K weekly downloads
Rank
#1002
▼ 28 in 7 days

About @gleanwork/mcp-config-schema

@gleanwork/mcp-config-schema

Type-safe configuration schemas and builders for MCP (Model Context Protocol) clients.

The Problem

MCP servers need to work across many different AI coding assistants—Claude Code, VS Code, Cursor, Claude Desktop, Windsurf, Goose, Codex, and more. Each client has its own:

  • Configuration format: JSON, YAML, or TOML
  • File location: Different paths on macOS, Linux, and Windows
  • Property names: url vs serverUrl vs uri, command vs cmd, mcpServers vs servers vs extensions
  • Transport support: Some support HTTP natively, others require the mcp-remote bridge
  • Authentication patterns: Headers, environment variables, or OAuth

Without a unified solution, MCP server authors face a maintenance nightmare: writing and maintaining separate configuration logic for each client, tracking which clients support which features, and keeping up with changes across the ecosystem.

The Solution

This package provides a single source of truth for MCP client configurations. You describe your connection once, and it generates the correct configuration for any supported client:

import { MCPConfigRegistry } from '@gleanwork/mcp-config-schema';

const registry = new MCPConfigRegistry();

// Same options work for any client
const options = {
  transport: 'http',
  serverUrl: 'https://api.example.com/mcp/default',
  serverName: 'my-server',
  headers: { Authorization: 'Bearer token' },
};

// Generate correct config for each client
registry.createBuilder('cursor').buildConfiguration(options);      // → JSON with mcpServers
registry.createBuilder('vscode').buildConfiguration(options);      // → JSON with servers
registry.createBuilder('goose').buildConfiguration(options);       // → YAML with extensions
registry.createBuilder('claude-desktop').buildConfiguration(options); // → JSON with mcp-remote bridge

The package handles all the complexity: format differences, property mapping, platform-specific paths, transport bridging, and one-click installation URLs.

Installation

npm install @gleanwork/mcp-config-schema

Quick Start

stdio Transport (Local Server)

For stdio transport, provide registry options with your package names, then pass environment variables directly:

import { MCPConfigRegistry } from '@gleanwork/mcp-config-schema';

const registry = new MCPConfigRegistry({
  serverPackage: '@your-org/mcp-server', // Your stdio server package
});

const builder = registry.createBuilder('cursor');

// Generate configuration for stdio transport with custom environment variables
const config = builder.buildConfiguration({
  transport: 'stdio',
  env: {
    MY_INSTANCE: 'my-instance',
    MY_API_TOKEN: 'my-api-token',
  },
});
HTTP Transport (Remote Server)

For connecting to HTTP-based MCP servers, no additional configuration is needed:

import { MCPConfigRegistry } from '@gleanwork/mcp-config-schema';

const registry = new MCPConfigRegistry();
const builder = registry.createBuilder('cursor');

// Generate configuration for HTTP transport
const config = builder.buildConfiguration({
  transport: 'http',
  serverUrl: 'https://your-server.com/mcp/default',
  serverName: 'my-server',
});

// Write configuration to the client's config file (Node.js only)
await builder.writeConfiguration({
  transport: 'http',
  serverUrl: 'https://your-server.com/mcp/default',
  serverName: 'my-server',
});

// Generate one-click install URL for supported clients (Cursor, VS Code)
const oneClickUrl = builder.buildOneClickUrl({
  transport: 'http',
  serverUrl: 'https://your-server.com/mcp/default',
  serverName: 'my-server',
});
// Returns: cursor://anysphere.cursor-deeplink/mcp/install?name=my-server&config=...
HTTP Transport with Headers

For HTTP transport with authentication or custom headers:

const config = builder.buildConfiguration({
  transport: 'http',
  serverUrl: 'https://api.example.com/mcp/default',
  serverName: 'my-server',
  headers: {
    Authorization: 'Bearer my-api-token',
    'X-Custom-Header': 'custom-value',
  },
});
URL Templates with Variables

For dynamic URLs with template variables (aligned with MCP registry specification):

const config = builder.buildConfiguration({
  transport: 'http',
  serverUrl: 'https://api.example.com/{region}/mcp/{endpoint}',
  urlVariables: {
    region: 'us-east-1',
    endpoint: 'default',
  },
  serverName: 'my-server',
});
// Generates config with URL: https://api.example.com/us-east-1/mcp/default

What This Package Does

This package serves as the Single Source of Truth for MCP client configurations. It provides:

  • Registry of all MCP clients and their capabilities
  • Configuration builders that generate correct configs for each client
  • Type-safe schemas with TypeScript types and Zod validation
  • Browser support for web-based configuration tools
  • Client detection to identify which clients need special handling

Supported Clients

For detailed configuration examples and requirements for each client, see CLIENTS.md.

Centrally Managed Clients
  • ChatGPT - Requires web UI configuration
  • Claude for Teams/Enterprise - Managed by organization admins

Core Usage

Query Client Capabilities
import { MCPConfigRegistry } from '@gleanwork/mcp-config-schema';

const registry = new MCPConfigRegistry();

// Get client configuration
const cursorConfig = registry.getConfig('cursor');
console.log(cursorConfig.displayName); // "Cursor"
console.log(cursorConfig.userConfigurable); // true
console.log(cursorConfig.transports); // ['stdio', 'http']
console.log(cursorConfig.types); // ['ide']

// Query different client groups
const httpClients = registry.getNativeHttpClients();
const bridgeClients = registry.getBridgeRequiredClients();
const macClients = registry.getClientsByPlatform('darwin');
```…

Description from the npm listing.

  • mcp
  • model-context-protocol
  • glean
  • configuration
  • schema

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@gleanwork/mcp-config-schema weekly downloads on npm, last 90 days: 22,695 weekly downloads as of Dec 5, 2026, +144% over 90 days.@gleanwork/mcp-config-schemaWeekly downloads on npm · Last 90 days22,695downloads / week+144% over 90 days05K10K15K20K25KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@gleanwork/mcp-config-schema weekly downloads on npm, last 90 days: 22,695 weekly downloads as of Dec 5, 2026, +144% over 90 days.

7/30/90-day growth

@gleanwork/mcp-config-schema weekly downloads growth on npm: -3.9% over 7 days, +18.2% over 30 days, +144% over 90 days.@gleanwork/mcp-config-schemaWeekly downloads growth on npm22,695downloads / week now7-day growth-913 weekly downloads-3.9%30-day growth+3,496 weekly downloads+18.2%90-day growth+13,411 weekly downloads+144%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@gleanwork/mcp-config-schema weekly downloads growth on npm: -3.9% over 7 days, +18.2% over 30 days, +144% over 90 days.

Ranking history

@gleanwork/mcp-config-schema npm ranking history: currently #1002 (by weekly downloads).@gleanwork/mcp-config-schemanpm ranking · by weekly downloads · Last 90 days#1002current rank#920#940#960#980#1000#1020#1040#1060#1080#1100Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 37 observations · Updated Dec 5, 2026pluginstats.com
@gleanwork/mcp-config-schema npm ranking history: currently #1002 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 51, #2 (overall #1,002)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 9, #17 (overall #177)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @gleanwork/mcp-config-schema
Date (UTC)Weekly downloadsChange vs. previous
22,695-1.3K
23,948+1.6K
22,379-86
22,465+154
22,311-590
22,901-589
23,490-118
23,608-355
23,963-699
24,662+711
23,951+766
23,185+2.1K
21,132+1.4K
19,733—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@gleanwork/mcp-config-schema. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.