1. Conduid
  2. Files
  3. Repro Slow Import Jsonschema
MCP server · Files

Repro Slow Import Jsonschema

`mcp.types` pulls in fastmcp, uvicorn, watchfiles, jsonschema, etc. during the module import. 6 +- On a machine capped at 0.5 vCPU the first import takes 8–12 s, blocking our server startup.

Unclaimed last commit 11 months ago files
34Low

Scored 6 months ago · breakdown

About Repro Slow Import Jsonschema

Repro Slow Import Jsonschema is an MCP server published by ycjcl868 in the Files category: `mcp.types` pulls in fastmcp, uvicorn, watchfiles, jsonschema, etc. during the module import. 6 +- On a machine capped at 0.5 vCPU the first import takes 8–12 s, blocking our server startup.

The repository has 5 stars and 1 forks, with the last commit 11 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/ycjcl868/repro-slow-import-jsonschema

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Repro Slow Import Jsonschema

Powered by Claude · Grounded in docs

I know everything about Repro Slow Import Jsonschema. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Slow Import Reproduction

This folder contains a minimal Docker Compose project that reproduces the slow first-import behaviour we observe for mcp.types and the jsonschema package. Both services share the same Dockerfile and pin the versions that are problematic in our production image.

Prerequisites

  • Docker 24+
  • Docker Compose V2

Usage

# Build the shared base image
docker compose build

# Reproduce the jsonschema import delay (default command)
docker compose run --rm jsonschema

# Reproduce the mcp.types import delay
docker compose run --rm mcp

The compose services enforce a low CPU quota (0.5 cores) and a tight memory limit (1g) to match the constrained hosts where the slowdown is most visible.

Inspecting detailed import timings

Enable CPython's import profiler to gather the per-module breakdown:

PYTHONPROFILEIMPORTTIME=1 docker compose run --rm jsonschema
PYTHONPROFILEIMPORTTIME=1 docker compose run --rm mcp

The scripts print the wall-clock duration of the target import, while the profiler dumps the per-module timings to stdout for inclusion in upstream issues.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Repro Slow Import Jsonschema

How do I install Repro Slow Import Jsonschema?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Repro Slow Import Jsonschema safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Repro Slow Import Jsonschema still maintained?

The last commit was 11 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.