Skip to main content

UUID MCP Tool

A simple Model Context Protocol (MCP) server that provides a tool to generate UUIDs.

Installation

Install from PyPI (Recommended)

pip install uuid-mcp

Install from source

  1. Clone or download this repository
  2. Install the package:
pip install .

Or install in development mode:

pip install -e .

Install from local directory

If you have the package locally:

pip install /path/to/uuid-mcp

Usage

After installation, you can run the MCP server using the uuid-mcp command:

uuid-mcp

The server will communicate via stdio and expose a generate_uuid tool that generates a random UUID (version 4) when called.

Tool

  • generate_uuid: Generates a random UUID (version 4). Takes no parameters and returns a UUID string.

Adding to Cursor

To use this MCP tool in Cursor, add it to your Cursor MCP configuration:

  1. Open Cursor Settings (Cmd/Ctrl + ,)

  2. Navigate to "Features" → "Model Context Protocol" or search for "MCP"

  3. Click "Edit Config" or open the MCP configuration file (typically located at ~/.cursor/mcp.json or in Cursor's settings)

  4. Add the following configuration:

{
  "mcpServers": {
    "uuid-generator": {
      "command": "uuid-mcp"
    }
  }
}

If uuid-mcp is not in your PATH, you can use the full path to the executable. After pip installation, you can find it with:

which uuid-mcp

Or use Python's -m flag:

{
  "mcpServers": {
    "uuid-generator": {
      "command": "python",
      "args": ["-m", "uuid_mcp.server"]
    }
  }
}
  1. Restart Cursor for the changes to take effect.

Once configured, you can use the generate_uuid tool in Cursor's AI chat interface.

Publishing

For package maintainers: See PUBLISHING.md for instructions on how to publish this package to PyPI.

Metadata

Release files for uuid-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uuid-mcp 0.1.0
File Size Uploaded Provenance
uuid_mcp-0.1.0.tar.gz 2.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for uuid-mcp 0.1.0
File Interpreter ABI Platform
uuid_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / uuid_mcp-0.1.0.tar.gz

Download URL uuid_mcp-0.1.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
19e81520d7524ec8502770cc6d42bba0ce2ba3514f50226a972f951bd6eab119
BLAKE2b-256 checksum
How to use checksums
70d2610c789505b125570540594cd1aad34243e4c6a13c356f0c542ba41424ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.10

Release files / uuid_mcp-0.1.0-py3-none-any.whl

Download URL uuid_mcp-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a8b73e578f89177e8c812dc122ef64b1e1ee0da4014f2f261c2b0bf7bd13587
BLAKE2b-256 checksum
How to use checksums
cdd591f9c1fa21d55712b6f03607952313a9c7b27880152ebff5e55f2f549449
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.10

Security for uuid-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page