This package provides Python clients and demos for interacting with the Syncable MCP Rust Server. It supports both stdio and SSE transports, enabling AI agents and tools to perform code analysis, security scanning, and dependency checks.
mcp-python-server-client/
├── src/
│ ├── langgraph_sse_demo.py
│ ├── langgraph_stdio_demo.py
│ ├── mcp_py_client_rust_server_sse.py
│ ├── mcp_py_client_rust_server_stdio.py
│ ├── py_client_sse.py
│ ├── py_client_stdio.py
│ └── utils.py
├── .env
├── .python-version
├── LICENSE
├── pyproject.toml
├── README.md
└── uv.lock
Follow instructions in rust-mcp-server-syncable-cli/README.md:
cd rust-mcp-server-syncable-cli
cargo build --release
# For stdio mode:
./target/release/mcp-stdio
# For SSE mode:
./target/release/mcp-sseInstall uv (recommended for fast Python dependency management):
brew install uvSync dependencies:
uv syncuv add langgraph openai python-dotenv langchain_mcp_adaptersStdio Client Example:
uv run python -m src.mcp_py_client_rust_server_stdioSSE Client Example:
uv run python -m src.mcp_py_client_rust_server_sseLangGraph Integration (Stdio):
uv run python -m src.langgraph_stdio_demoLangGraph Integration (SSE):
uv run python -m src.langgraph_sse_demo- Multi-Transport: Connect via stdio or SSE to the Rust MCP server.
- Tooling: List and invoke tools such as
about_info,analysis_scan,security_scan, anddependency_scan. - LangGraph Integration: Example agents using LangGraph.
- Extensible: Easily add new tools or adapt to other agent frameworks.
Run Python tests:
pytestThis project is licensed under the Apache License 2.0.
- Powered by Syncable MCP Rust Server
- Built with LangGraph, OpenAI, and