Skip to content

Commit d5e4d17

Browse files
authored
MCP Registry files, and updated uv.lock (#16)
* MCP Registry files, and updated uv.lock * Fixing problem with pytest
1 parent 677d2a4 commit d5e4d17

File tree

8 files changed

+392
-1805
lines changed

8 files changed

+392
-1805
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install -e .
29-
pip install pytest pytest-asyncio httpx
28+
pip install -e .[test]
29+
- name: Run tests
30+
run: python -m pytest
3031

3132
build:
3233
runs-on: ubuntu-latest

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
python -m pip install --upgrade pip
2323
pip install -e .[test]
2424
- name: Run tests
25-
run: pytest
25+
run: python -m pytest

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish to MCP Registry
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
publish:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Publish to MCP Registry
15+
uses: modelcontextprotocol/publish-action@v1
16+
with:
17+
registry_token: ${{ secrets.MCP_REGISTRY_TOKEN }}
18+
github_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ htmlcov/
2424

2525
# MyPy
2626
.mypy_cache/
27+
28+
# MCP Registry tokens
29+
.*mcpregistry*

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Sauce Labs MCP Server
22

3+
[//]: # (mcp-name: io.github.saucelabs-sample-test-frameworks/sauce-api-mcp)
4+
35
A Model Context Protocol (MCP) server that provides comprehensive integration with Sauce Labs testing platform. This
46
server enables AI assistants (LLM clients) to interact with Sauce Labs' device cloud, manage test jobs, analyze builds,
57
and monitor testing infrastructure directly through natural language conversations.

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "sauce-api-mcp"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
description = "MCP server for Sauce Labs API"
55
authors = [
66
{name = "Marcus Merrell", email = "[email protected]"}
@@ -22,6 +22,12 @@ classifiers = [
2222
"Programming Language :: Python :: 3.12",
2323
]
2424

25+
[project.optional-dependencies]
26+
test = [
27+
"pytest",
28+
"pytest-asyncio"
29+
]
30+
2531
[project.scripts]
2632
sauce-api-mcp = "sauce_api_mcp.__main__:main"
2733

server.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
3+
"name": "io.github.saucelabs-sample-test-frameworks/sauce-api-mcp",
4+
"description": "An open-source MCP server that provides LLM access to the Sauce Labs API",
5+
"status": "active",
6+
"repository": {
7+
"url": "https://github.com/saucelabs/sauce-api-mcp",
8+
"source": "github"
9+
},
10+
"version": "1.0.0",
11+
"packages": [
12+
{
13+
"registry_type": "pypi",
14+
"registry_base_url": "https://pypi.org",
15+
"identifier": "sauce-api-mcp",
16+
"version": "1.0.1",
17+
"transport": {
18+
"type": "stdio"
19+
},
20+
"environment_variables": [
21+
{
22+
"name": "SAUCE_USERNAME",
23+
"value": "<sauce-user-name>"
24+
},
25+
{
26+
"name": "SAUCE_ACCESS_KEY",
27+
"value": "<sauce-access-key>"
28+
}
29+
]
30+
}
31+
]
32+
}

uv.lock

Lines changed: 326 additions & 1801 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)