Skip to main content
Glama
szpak-dev

modwire

Official
by szpak-dev

enclosure

Django API scaffold with JSON logs, dotenv settings, health checks, and auto-discovered Django Ninja Extra controllers.

uv sync
uv run python manage.py migrate
make dev

make dev keeps the standard Django development server. To run the complete local ASGI stack with automatic reload, use:

make mcp

This serves the Siren browser at /, REST at /api, Siren at /siren, and the MCP Streamable HTTP endpoint at /mcp, all on 127.0.0.1:8000. Local static files are served automatically when Django debug mode is enabled; no development collectstatic step is required.

Siren browser

The TypeScript Siren browser is available at GET /. It starts from /siren/, follows advertised links, and renders forms for advertised actions.

After changing its source, rebuild the static files deterministically from the repository root before starting Django or building the image:

make browser-build

Restarting Django does not rebuild or invalidate the browser bundle. After the build finishes, hard-refresh the open page (Cmd+Shift+R on macOS or Ctrl+Shift+R elsewhere) to replace a cached browser.js.

The built files live in the Django browser adapter's static directory. The production image runs collectstatic, and WhiteNoise serves the manifest-versioned assets.

Related MCP server: ACOMO MCP Server

Machine-wide MCP server

This repository owns the Compose definition for the machine-wide Enclosure server. Compose builds enclosure:mcp, runs it as enclosure-mcp, and restarts it automatically with Docker. The existing resumed-db PostgreSQL container continues to own the database and its data; Enclosure only joins its external resumed-api_default network.

The host Projects directory is mounted read/write at the same absolute path in the container. This preserves discovered project paths and allows Enclosure to generate files in any project. Set ENCLOSURE_PROJECTS_DIR in .env if the Projects directory is somewhere other than /Users/gorky/Projects.

Validate, build, and start the server:

make runtime-config
make runtime-up
curl --fail http://127.0.0.1:8666/health/

The Streamable HTTP MCP endpoint is available to every local project at http://127.0.0.1:8666/mcp.

Container startup never applies migrations. Before a migration, create a PostgreSQL backup and capture the exact Django migration plan:

make runtime-db-prepare

Review both paths printed by that command. Apply the reviewed plan only by passing those same artifacts through the guarded command:

CONFIRM_EXISTING_DATABASE_MIGRATION=reviewed \
MODWIRE_DATABASE_BACKUP=.dev/database-safety/modwire-records-TIMESTAMP.dump \
MODWIRE_DATABASE_MIGRATION_PLAN=.dev/database-safety/migration-plan-TIMESTAMP.txt \
make runtime-db-migrate

make runtime-down removes only enclosure-mcp. The external resumed-db container, its network, and its bind-mounted PostgreSQL data are untouched.

For non-container development, keep using the host DATABASE_URL (currently port 5432) with the original uv run commands above. Its default HTTP port remains 8000, separate from the container runtime on 8666.

API

The auth-free API entry point is GET /api/. Mutating record endpoints use X-Actor-Id and X-Actor-Type for attribution; actor types are user and agent.

F
license - not found
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
5Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    swagger-mcp is a tool designed to scrape Swagger UI by extracting the swagger.json file and dynamically generating well-defined mcp tools at runtime. These tools can be utilized by the MCP client for further tool selection.
    82
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables interaction with ACOMO API through MCP tools and resources. Provides comprehensive API exploration, operation calling, and schema inspection capabilities for ACOMO backend services.
    8
    2
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    A configurable MCP server that adapts any HTTP API into an MCP toolset with generic HTTP tools (GET, POST, PUT, DELETE) and pluggable authentication. Includes API discovery scripts and supports dynamic tool generation from OpenAPI specs or wordlist scans.
  • A
    license
    A
    quality
    C
    maintenance
    Enables LLMs to inspect and test other MCP servers by listing and calling their tools, reading resources, and getting prompts. Supports stdio, SSE, and HTTP transports for both local and remote MCP server inspection.
    7
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/szpak-dev/enclosure'

If you have feedback or need assistance with the MCP directory API, please join our Discord server