alevlas-random-mcp
A minimal MCP server exposing three random-generation tools. Built for the Kiro enterprise MCP registry demo.
Tools
generate_random_int(min_value, max_value)→ one integer in[min, max]generate_random_string(length, alphabet="alphanumeric")→ random stringgenerate_uuid(version=4)→ UUID4 (or UUID7 ifversion=7)
Run locally (for dev)
uv sync
export KB_MCP_LOG_LEVEL=DEBUG # optional
uv run random-mcp --self-test # prints one example of each tool
Try with Kiro directly (without the registry)
Drop this into ~/.kiro/settings/mcp.json or a workspace .kiro/mcp.json:
{
"mcpServers": {
"alevlas-random-local": {
"command": "uv",
"args": ["--project", "<absolute-path>/random-mcp", "run", "random-mcp"],
"disabled": false,
"autoApprove": ["generate_random_int", "generate_random_string", "generate_uuid"]
}
}
}
Reconnect from the Kiro MCP panel. Ask Kiro to "generate 5 random UUIDs."
Publish to CodeArtifact
Run from the repo root (after terraform apply has created the domain and
repo):
pwsh -File ../scripts/publish-random-mcp.ps1
Verify the published package runs from CodeArtifact:
$env:UV_INDEX_URL = (pwsh -File ../scripts/get-index-url.ps1)
uvx alevlas-random-mcp --self-test
Release files for alevlas-random-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alevlas_random_mcp-0.1.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alevlas_random_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / alevlas_random_mcp-0.1.1.tar.gz
| Download URL | alevlas_random_mcp-0.1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fefadd00faf0528b877be3e4ce92c276f3f9b85aacdf75947c589b858004d8a3
|
|
BLAKE2b-256 checksum How to use checksums |
293931fa0d63d6b03385f84490518bc59c24051d76170074515dd549371d062f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / alevlas_random_mcp-0.1.1-py3-none-any.whl
| Download URL | alevlas_random_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
445793417d1125cb4db3073c782e76760fc30c7d03f7ad778b945be70ff2e398
|
|
BLAKE2b-256 checksum How to use checksums |
96855c8f23cdef4476470810672f31a6c6d0850f457e62648e776ca5a1ab90eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|