A comprehensive MCP testing server for debugging and testing MCP clients
Project description
MCP Test Kits - Python
Build from source using FastMCP.
Build
cd python
uv sync
stdio
{
"mcpServers": {
"mcp-test-kits": {
"command": "uv",
"args": ["run", "mcp-test-kits"],
"cwd": "/path/to/mcp-test-kits/python",
"transport": "stdio"
}
}
}
HTTP
Start server:
uv run mcp-test-kits --transport http --port 3000
MCP client config:
{
"mcpServers": {
"mcp-test-kits": {
"url": "http://localhost:3000/mcp",
"transport": "http"
}
}
}
With OAuth
Start server:
uv run mcp-test-kits --transport http --port 3000 --enable-oauth
# or auto-approve for testing
uv run mcp-test-kits --transport http --port 3000 --enable-oauth --oauth-auto-approve
MCP client config (OAuth discovery automatic):
{
"mcpServers": {
"mcp-test-kits": {
"url": "http://localhost:3000/mcp",
"transport": "http"
}
}
}
Or with pre-obtained token:
{
"mcpServers": {
"mcp-test-kits": {
"url": "http://localhost:3000/mcp",
"transport": "http",
"headers": {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
}
}
}
SSE
Start server:
uv run mcp-test-kits --transport sse --port 3000
MCP client config:
{
"mcpServers": {
"mcp-test-kits": {
"url": "http://localhost:3000/sse",
"transport": "sse"
}
}
}
With OAuth
Start server:
uv run mcp-test-kits --transport sse --port 3000 --enable-oauth
# or auto-approve for testing
uv run mcp-test-kits --transport sse --port 3000 --enable-oauth --oauth-auto-approve
MCP client config (OAuth discovery automatic):
{
"mcpServers": {
"mcp-test-kits": {
"url": "http://localhost:3000/sse",
"transport": "sse"
}
}
}
Or with pre-obtained token:
{
"mcpServers": {
"mcp-test-kits": {
"url": "http://localhost:3000/sse",
"transport": "sse",
"headers": {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
}
}
}
Test with MCP Inspector
# stdio
npx @modelcontextprotocol/inspector uv run mcp-test-kits
# HTTP (start server first: uv run mcp-test-kits --transport http --port 3000)
npx @modelcontextprotocol/inspector --transport http --server-url http://localhost:3000/mcp
# SSE (start server first: uv run mcp-test-kits --transport sse --port 3000)
npx @modelcontextprotocol/inspector --transport sse --server-url http://localhost:3000/sse
Development
uv sync --all-extras
uv run pytest
uv run mypy src --check-untyped-defs
uv run ruff check src
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
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 mcp_test_kits-0.0.6.tar.gz.
File metadata
- Download URL: mcp_test_kits-0.0.6.tar.gz
- Upload date:
- Size: 81.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db8cbd8d209ddd648c1adb1ca9891a792b90cf96d894d3149ce45eb86e346bf8
|
|
| MD5 |
2c63d99e5a37fd820195d5efac6828e2
|
|
| BLAKE2b-256 |
1b814b764974bd285fed6b803f9ef36992abe7751b8fdd7dca10f66db8910330
|
Provenance
The following attestation bundles were made for mcp_test_kits-0.0.6.tar.gz:
Publisher:
publish-python.yml on midodimori/mcp-test-kits
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_test_kits-0.0.6.tar.gz -
Subject digest:
db8cbd8d209ddd648c1adb1ca9891a792b90cf96d894d3149ce45eb86e346bf8 - Sigstore transparency entry: 790774841
- Sigstore integration time:
-
Permalink:
midodimori/mcp-test-kits@f783466785213fc21b6121ac70b4f94dd6c52e0e -
Branch / Tag:
refs/tags/python-v0.0.6 - Owner: https://github.com/midodimori
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@f783466785213fc21b6121ac70b4f94dd6c52e0e -
Trigger Event:
push
-
Statement type:
File details
Details for the file mcp_test_kits-0.0.6-py3-none-any.whl.
File metadata
- Download URL: mcp_test_kits-0.0.6-py3-none-any.whl
- Upload date:
- Size: 24.5 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 |
ea544479835bdcf27d862c653b887ffb001b39944535e08e9553b79d9c3ffe96
|
|
| MD5 |
9bb404a7865c5ae94f5b4a6dfb3a2782
|
|
| BLAKE2b-256 |
9b4758da81a35e303d7c46fc3461178d07dd7ee5a2b1dcd63bdfcbb4e5400b47
|
Provenance
The following attestation bundles were made for mcp_test_kits-0.0.6-py3-none-any.whl:
Publisher:
publish-python.yml on midodimori/mcp-test-kits
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_test_kits-0.0.6-py3-none-any.whl -
Subject digest:
ea544479835bdcf27d862c653b887ffb001b39944535e08e9553b79d9c3ffe96 - Sigstore transparency entry: 790774849
- Sigstore integration time:
-
Permalink:
midodimori/mcp-test-kits@f783466785213fc21b6121ac70b4f94dd6c52e0e -
Branch / Tag:
refs/tags/python-v0.0.6 - Owner: https://github.com/midodimori
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@f783466785213fc21b6121ac70b4f94dd6c52e0e -
Trigger Event:
push
-
Statement type: