Skip to main content

MCP server for Discrete Structures - Logic, Algorithms, Number Theory, and Cryptography tools

Project description

MCP Registry

The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers.

๐Ÿ“ค Publish my MCP server | โšก๏ธ Live API docs | ๐Ÿ‘€ Ecosystem vision | ๐Ÿ“– Full documentation

Development Status

2025-10-24 update: The Registry API has entered an API freeze (v0.1) ๐ŸŽ‰. For the next month or more, the API will remain stable with no breaking changes, allowing integrators to confidently implement support. This freeze applies to v0.1 while development continues on v0. We'll use this period to validate the API in real-world integrations and gather feedback to shape v1 for general availability. Thank you to everyone for your contributions and patienceโ€”your involvement has been key to getting us here!

2025-09-08 update: The registry has launched in preview ๐ŸŽ‰ (announcement blog post). While the system is now more stable, this is still a preview release and breaking changes or data resets may occur. A general availability (GA) release will follow later. We'd love your feedback in GitHub discussions or in the #registry-dev Discord (joining details here).

Current key maintainers:

Contributing

We use multiple channels for collaboration - see modelcontextprotocol.io/community/communication.

Often (but not always) ideas flow through this pipeline:

  • Discord - Real-time community discussions
  • Discussions - Propose and discuss product/technical requirements
  • Issues - Track well-scoped technical work
  • Pull Requests - Contribute work towards issues

Quick start:

Pre-requisites

Running the server

# Start full development environment
make dev-compose

This starts the registry at localhost:8080 with PostgreSQL. The database uses ephemeral storage and is reset each time you restart the containers, ensuring a clean state for development and testing.

Note: The registry uses ko to build container images. The make dev-compose command automatically builds the registry image with ko and loads it into your local Docker daemon before starting the services.

By default, the registry seeds from the production API with a filtered subset of servers (to keep startup fast). This ensures your local environment mirrors production behavior and all seed data passes validation. For offline development you can seed from a file without validation with MCP_REGISTRY_SEED_FROM=data/seed.json MCP_REGISTRY_ENABLE_REGISTRY_VALIDATION=false make dev-compose.

The setup can be configured with environment variables in docker-compose.yml - see .env.example for a reference.

Alternative: Running a pre-built Docker image

Pre-built Docker images are automatically published to GitHub Container Registry:

# Run latest stable release
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:latest

# Run latest from main branch (continuous deployment)
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main

# Run specific release version
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:v1.0.0

# Run development build from main branch
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main-20250906-abc123d

Available tags:

  • Releases: latest, v1.0.0, v1.1.0, etc.
  • Continuous: main (latest main branch build)
  • Development: main-<date>-<sha> (specific commit builds)

Publishing a server

To publish a server, we've built a simple CLI. You can use it with:

# Build the latest CLI
make publisher

# Use it!
./bin/mcp-publisher --help

See the publisher guide for more details.

Other commands

# Run lint, unit tests and integration tests
make check

There are also a few more helpful commands for development. Run make help to learn more, or look in Makefile.

Architecture

Project Structure

โ”œโ”€โ”€ cmd/                     # Application entry points
โ”‚   โ””โ”€โ”€ publisher/           # Server publishing tool
โ”œโ”€โ”€ data/                    # Seed data
โ”œโ”€โ”€ deploy/                  # Deployment configuration (Pulumi)
โ”œโ”€โ”€ docs/                    # Documentation
โ”œโ”€โ”€ internal/                # Private application code
โ”‚   โ”œโ”€โ”€ api/                 # HTTP handlers and routing
โ”‚   โ”œโ”€โ”€ auth/                # Authentication (GitHub OAuth, JWT, namespace blocking)
โ”‚   โ”œโ”€โ”€ config/              # Configuration management
โ”‚   โ”œโ”€โ”€ database/            # Data persistence (PostgreSQL)
โ”‚   โ”œโ”€โ”€ service/             # Business logic
โ”‚   โ”œโ”€โ”€ telemetry/           # Metrics and monitoring
โ”‚   โ””โ”€โ”€ validators/          # Input validation
โ”œโ”€โ”€ pkg/                     # Public packages
โ”‚   โ”œโ”€โ”€ api/                 # API types and structures
โ”‚   โ”‚   โ””โ”€โ”€ v0/              # Version 0 API types
โ”‚   โ””โ”€โ”€ model/               # Data models for server.json
โ”œโ”€โ”€ scripts/                 # Development and testing scripts
โ”œโ”€โ”€ tests/                   # Integration tests
โ””โ”€โ”€ tools/                   # CLI tools and utilities
    โ””โ”€โ”€ validate-*.sh        # Schema validation tools

Authentication

Publishing supports multiple authentication methods:

  • GitHub OAuth - For publishing by logging into GitHub
  • GitHub OIDC - For publishing from GitHub Actions
  • DNS verification - For proving ownership of a domain and its subdomains
  • HTTP verification - For proving ownership of a domain

The registry validates namespace ownership when publishing. E.g. to publish...:

  • io.github.domdomegg/my-cool-mcp you must login to GitHub as domdomegg, or be in a GitHub Action on domdomegg's repos
  • me.adamjones/my-cool-mcp you must prove ownership of adamjones.me via DNS or HTTP challenge

Community Projects

Check out community projects to explore notable registry-related work created by the community.

More documentation

See the documentation for more details if your question has not been answered here!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discrete_structures_mcp-0.1.2.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discrete_structures_mcp-0.1.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file discrete_structures_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: discrete_structures_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for discrete_structures_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 51815a77b37c6a4b604ac4238ee2648aaf94eb13fa19b3f21927b5d96970b3ab
MD5 f772bafa78805630f45be6e5a4d35097
BLAKE2b-256 efdd58692bf34fb458fa6956959fa1a3e5b7bd4bae19976253e8e609111c6609

See more details on using hashes here.

File details

Details for the file discrete_structures_mcp-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for discrete_structures_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0fedf09fdf9f0e366077a79670118f33898dea0946c5da9a9605b7515bb376e0
MD5 3ab176ccefdc36cb4eb418365c07b6fc
BLAKE2b-256 1cda1f7e7ee936b72aceb693c2bdf747952568af6dbf491deeae9f547faf7da8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page