Skip to main content

A mock MCP server for testing

Project description

Mock MCP Server

PyPI - Version

A mock MCP server for testing MCP client implementations and development workflows.

Support tools, prompts and resources.

Usage

Full Usage

uvx mock-mcp-server --help
 Usage: mock-mcp-server [OPTIONS]

 Mock MCP Server for testing.

╭─ Options ───────────────────────────────────────────────────────────────────────────────────╮
│ --transport        [stdio|http|sse|streamable-http]  Transport type [default: stdio]        │
│ --host             TEXT                              Host to bind to [default: 127.0.0.1]   │
│ --port             INTEGER                           Port to bind to [default: 8000]        │
│ --version                                            Show version and exit                  │
│ --help                                               Show this message and exit.            │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯

Stdio

Add to your MCP client configuration:

Install MCP Server Add to Kiro

{
  "mcpServers": {
    "mock": {
      "command": "uvx",
      "args": ["mock-mcp-server"]
    }
  }
}

Streamable HTTP

Start server first:

uvx mock-mcp-server --transport http --host 127.0.0.1 --port 8000

Then configure your MCP client:

Install MCP Server Add to Kiro

{
  "mcpServers": {
    "mock": {
      "url": "http://127.0.0.1:8000"
    }
  }
}

SSE

Start server first:

uvx mock-mcp-server --transport sse --host 127.0.0.1 --port 8000

Then configure your MCP client:

Install MCP Server Add to Kiro

{
  "mcpServers": {
    "mock": {
      "url": "http://127.0.0.1:8000"
    }
  }
}

CHANGELOG

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

mock_mcp_server-0.1.0.tar.gz (46.4 kB view details)

Uploaded Source

Built Distribution

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

mock_mcp_server-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file mock_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: mock_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 46.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mock_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7d590108160826303ce128bd0312a4d91100e55a0f4a86fb31c75f9ac800015e
MD5 e47c909b2d87c36fd300cde8b005ccf7
BLAKE2b-256 c177bd0387b90700bb2d52341fb2e56505d2d5485ef8f1c5d77e0bc6c5b031b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mock_mcp_server-0.1.0.tar.gz:

Publisher: publish.yml on DiscreteTom/mock-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mock_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mock_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6c0669abef56ea4753aa93f5622c5fe9c086155acf7711f3486a2bd594bc4ba
MD5 4cce74fb403f5709b857d65ea3eec7f1
BLAKE2b-256 ec07a5dcae34087ade9f2c2d0dac02b60850a5849bb55e31f6170a6e542a5a56

See more details on using hashes here.

Provenance

The following attestation bundles were made for mock_mcp_server-0.1.0-py3-none-any.whl:

Publisher: publish.yml on DiscreteTom/mock-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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