Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/sdk-runner/known-sdks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@ export const KNOWN_SDKS: Record<string, SdkConfig> = {
command: './.conformance-server -http=:3000',
url: 'http://localhost:3000'
}
},
// uv workspace: the `mcp` (client) and `mcp-everything-server` (server)
// packages are both members, so one `uv sync --all-packages` covers both
// modes. Fixtures live in the python-sdk repo (.github/actions/conformance/
// and examples/servers/everything-server). `--port 3000` matches the url and
// the 3000 convention used above; the server's own default is 3001.
'python-sdk': {
build: 'uv sync --frozen --all-extras --all-packages',
client: {
command: 'uv run --frozen python .github/actions/conformance/client.py'
},
server: {
command: 'uv run --frozen mcp-everything-server --port 3000',
url: 'http://localhost:3000/mcp'
}
}
};

Expand Down
7 changes: 7 additions & 0 deletions src/sdk-runner/sdk-runner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ describe('lookupBuiltinConfig', () => {
expect(lookupBuiltinConfig('rust-sdk')).toBeNull();
});

it('exposes python-sdk with both client and server commands', () => {
const py = lookupBuiltinConfig('python-sdk');
expect(py?.client?.command).toContain('client.py');
expect(py?.server?.command).toContain('mcp-everything-server');
expect(py?.server?.url).toBe('http://localhost:3000/mcp');
});

it('exposes the typescript-sdk-v1 alias with repo + defaultRef', () => {
const v1 = lookupBuiltinConfig('typescript-sdk-v1');
expect(v1?.repo).toBe('typescript-sdk');
Expand Down