A mock MCP server for testing
Project description
Mock MCP Server
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:
{
"mcpServers": {
"mock-stdio": {
"command": "uvx",
"args": ["mock-mcp-server"]
}
}
}
Streamable HTTP
Start server first:
uvx mock-mcp-server --transport http --host 127.0.0.1 --port 7788
Then configure your MCP client:
{
"mcpServers": {
"mock-streamable-http": {
"url": "http://127.0.0.1:7788/mcp"
}
}
}
SSE
Start server first:
uvx mock-mcp-server --transport sse --host 127.0.0.1 --port 7789
Then configure your MCP client:
{
"mcpServers": {
"mock-sse": {
"url": "http://127.0.0.1:7789/sse"
}
}
}
CHANGELOG
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mock_mcp_server-0.1.1.tar.gz.
File metadata
- Download URL: mock_mcp_server-0.1.1.tar.gz
- Upload date:
- Size: 78.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
699a957d3db742e41344ea2da4dda81564a10964c7eba57a381484b4ed197892
|
|
| MD5 |
e86fb5fbc1cd37e7f3fcd8ba58b6272b
|
|
| BLAKE2b-256 |
57e37abddf4de4af16574ccb36d3f4c513e2ee491a06b28819b7c023f9da31c3
|
Provenance
The following attestation bundles were made for mock_mcp_server-0.1.1.tar.gz:
Publisher:
publish.yml on DiscreteTom/mock-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mock_mcp_server-0.1.1.tar.gz -
Subject digest:
699a957d3db742e41344ea2da4dda81564a10964c7eba57a381484b4ed197892 - Sigstore transparency entry: 662232160
- Sigstore integration time:
-
Permalink:
DiscreteTom/mock-mcp-server@1d1091c3f7bc96e6ed57897af90e81b01cf8c6f0 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/DiscreteTom
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1d1091c3f7bc96e6ed57897af90e81b01cf8c6f0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mock_mcp_server-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mock_mcp_server-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93b839ab6d1c070ac70fd34da6d6fa4546c938a5783f18697b1a4ce70acf4baf
|
|
| MD5 |
c3b4c768a946eacbdbb9fecd683bc479
|
|
| BLAKE2b-256 |
87f6e89405ccd618919c59ecc403adc395cc6c3c73f10554b12dd2f9ed7c3f72
|
Provenance
The following attestation bundles were made for mock_mcp_server-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on DiscreteTom/mock-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mock_mcp_server-0.1.1-py3-none-any.whl -
Subject digest:
93b839ab6d1c070ac70fd34da6d6fa4546c938a5783f18697b1a4ce70acf4baf - Sigstore transparency entry: 662232168
- Sigstore integration time:
-
Permalink:
DiscreteTom/mock-mcp-server@1d1091c3f7bc96e6ed57897af90e81b01cf8c6f0 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/DiscreteTom
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1d1091c3f7bc96e6ed57897af90e81b01cf8c6f0 -
Trigger Event:
push
-
Statement type: