Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 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
45 changes: 45 additions & 0 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Conformance Tests

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

concurrency:
group: conformance-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
server-conformance:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
version: 0.9.5
- uses: actions/setup-node@v4
with:
node-version: 24
- run: uv sync --frozen --all-extras --package mcp-everything-server
- run: ./scripts/conformance/run-server.sh

client-conformance:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
version: 0.9.5
- uses: actions/setup-node@v4
with:
node-version: 24
- run: uv sync --frozen --all-extras --package mcp
- run: npx @modelcontextprotocol/conformance client --command 'uv run --frozen python scripts/conformance/client.py' --suite all
Comment thread
maxisbey marked this conversation as resolved.
Outdated
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,4 @@ cython_debug/

# claude code
.claude/
results/
49 changes: 0 additions & 49 deletions examples/clients/conformance-auth-client/README.md

This file was deleted.

This file was deleted.

43 changes: 0 additions & 43 deletions examples/clients/conformance-auth-client/pyproject.toml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
from urllib.parse import parse_qs, urlparse

import httpx
from pydantic import AnyUrl

from mcp import ClientSession
from mcp.client.auth import OAuthClientProvider, TokenStorage
from mcp.client.auth.extensions.client_credentials import (
Expand All @@ -41,7 +43,6 @@
)
from mcp.client.streamable_http import streamable_http_client
from mcp.shared.auth import OAuthClientInformationFull, OAuthClientMetadata, OAuthToken
from pydantic import AnyUrl


def get_conformance_context() -> dict[str, Any]:
Expand Down
Loading