@github/mcp-registry weekly downloads statistics
By github (15 listings) · npm · MCP servers
TypeScript SDK for the MCP Registry API — includes types, a ready-to-use client, and deterministic fingerprint computation for enterprise allowlist enforcement.
@github/mcp-registry has 643 recorded weekly downloads on npm, a decrease of 91.6% over the past 30 days, ranking #2194 of 3,247 tracked listings.
About @github/mcp-registry
@github/mcp-registry
TypeScript SDK for the MCP Registry — includes a registry API client, generated types, and deterministic fingerprint computation for enterprise allowlist enforcement.
Installation
npm install @github/mcp-registry
Registry Client
import { RegistryClient } from '@github/mcp-registry';
const client = new RegistryClient();
// Search for servers
const servers = await client.searchServers({ query: 'github', limit: 5 });
for (const s of servers) {
console.log(`${s.server.name}@${s.server.version}`);
}
// Get a specific server
const server = await client.getServer({ name: 'io.github.user/repo' });
// Get a specific version
const pinned = await client.getServer({
name: 'io.github.user/repo',
version: '1.2.0',
});
// Parse "name@version" format
const entry = await client.getDsl('io.github.user/repo@1.2.0');
Configuration
const client = new RegistryClient({
baseUrl: 'https://api.mcp.github.com/v0.1', // default
cacheTtlMs: 5 * 60 * 1000, // 5 minutes (default)
timeoutMs: 30_000, // 30 seconds (default)
fetch: customFetch, // optional custom fetch
});
Error Handling
The client returns null for 404s and throws RegistryError for other HTTP errors:
import { RegistryClient, RegistryError } from '@github/mcp-registry';
const server = await client.getServer({ name: 'example/server' });
if (!server) {
console.log('Not found');
}
Fingerprint Computation
Deterministic SHA-256 fingerprints for enterprise allowlist enforcement — computes the same fingerprints as the registry backend.
import { computeFingerprint, verifyFingerprint, commandToRegistryType } from '@github/mcp-registry';
// Remote server
const fp = computeFingerprint({
remotes: [{ url: 'https://mcp.example.com/sse' }],
});
// Local package
const registryType = commandToRegistryType('npx'); // → "npm"
const fp2 = computeFingerprint({
packages: [{ registryType: registryType!, identifier: '@playwright/mcp' }],
});
// Verify against the enterprise allowlist
const matches = verifyFingerprint(
{ packages: [{ registryType: 'npm', identifier: '@playwright/mcp' }] },
allowlistEntry.server.fingerprints ?? {},
);
Command Mapping
| Command | Registry Type |
|---|---|
npx, npm | npm |
uvx, pip | pypi |
dotnet | nuget |
docker | docker |
brew | homebrew |
DSL Engine
The DSL engine extracts configurable fields from server definitions, validates user-provided configuration, and computes launch plans (the command + env + headers needed to start a server).
Quick Start — Registry Client + DSL Engine
import { RegistryClient, DslEngine } from '@github/mcp-registry';
// 1. Fetch a server definition from the registry
const client = new RegistryClient();
const response = await client.getServer({ name: 'io.github.user/repo' });
if (!response) throw new Error('Server not found');
// 2. Create a DSL engine from the response
const engine = DslEngine.fromServerResponse(response);
// 3. Discover what configuration the server needs
const requiredFields = engine.getRequiredFields();
for (const field of requiredFields) {
console.log(`${field.key} (${field.type})${field.isSecret ? ' [secret]' : ''}`);
}
// 4. Validate user-provided configuration
const validation = engine.validate({
environmentVariables: { API_KEY: 'sk-...' },
});
if (!validation.valid) {
console.log('Missing:', validation.missingFields.map(f => f.key));
}
// 5. Resolve a launch plan
const result = engine.resolve({
environmentVariables: { API_KEY: 'sk-...' },
});
if (result.complete && result.plan) {
if (result.plan.type === 'package') {
// Start a local process
console.log('Command:', result.plan.command.join(' '));
console.log('Env:', result.plan.env);
} else {
// Connect to a remote server
console.log('Endpoint:', result.plan.endpoint);
console.log('Headers:', result.plan.headers);
}
}
Extracting Fields
Use extractConfigurableFields directly when you don't need the full engine:
import { extractConfigurableFields } from '@github/mcp-registry';
import type { ServerDetail } from '@github/mcp-registry';
const fields = extractConfigurableFields(server);
// fields: FieldSpec[] — key, type, required, isSecret, enumValues, etc.
// Extract fields for a specific remote instead of the default package
const remoteFields = extractConfigurableFields(server, { remoteIndex: 0 });
Resolving Launch Plans
import { resolveLaunchPlan } from '@github/mcp-registry';
// Package-based (local process)
const plan = resolveLaunchPlan({
spec: server,
config: { environmentVariables: { API_KEY: 'sk-...' } },
});
// plan.type === 'package'
// plan.command → ['npx', '-y', '@scope/mcp-server@1.0.0']
// plan.env → { API_KEY: 'sk-...' }
// Remote-based (HTTP connection)
const remotePlan = resolveLaunchPlan({
spec: server,
config: { headers: { Authorization: 'Bearer token' } },
remoteIndex: 0,
});
// remotePlan.type === 'remote'
// remotePlan.endpoint → 'https://api.example.com/mcp'
// remotePlan.headers → { Authorization: 'Bearer token' }
Enumerating Installation Choices
Use one engine call to inspect every advertised package and remote without constructing an engine for each array index:
const result = engine.enumerateInstallChoices(
{ headers: { Authorization: 'Bearer ...' } },
{
policy: choice => choice.transport === 'sse'
? { decision: 'denied', code: 'sse-disabled', reason: 'SSE is disabled by policy' }
: { decision: 'allowed' },
},
);…
Description from the npm listing.
- mcp
- registry
- types
- typescript
- openapi
- fingerprint
- sha256
- enterprise
- allowlist
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (592)Similar npm MCP servers plugins
All 20 @github/mcp-registry alternativesData 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/@github/mcp-registry. First seen Oct 16, 2026; last successful collection Nov 18, 2026. See the methodology.