Topology MCP Server
A Model Context Protocol (MCP) server for accessing topology data from a topology service.
Installation
Via uvx (recommended)
uvx install topology-mcp
Via pip
pip install topology-mcp
Usage
Running the MCP Server
# Start the MCP server with stdio transport (for MCP clients)
topology-mcp --transport stdio
# Start the MCP server with HTTP transport
topology-mcp --transport streamable-http --port 8001
# Start the MCP server with SSE transport
topology-mcp --transport sse --port 8002
Advanced Usage
# Use a different topology service URL
export TOPOLOGY_URL=http://my-topology-service:8080
topology-mcp --transport stdio
# Use a different port
topology-mcp --transport streamable-http --port 9000
# Use environment variable for topology service
export TOPOLOGY_URL=http://my-service:9000
topology-mcp --transport sse
Environment Variables
TOPOLOGY_URL: Base URL for the topology service (defaults tohttp://localhost:8000)PORT: Server port (defaults to 8000)HOST: Server host (defaults to 0.0.0.0)TRANSPORT: Transport method (sse, stdio, streamable-http)
Examples
# Start MCP server for use with Claude Desktop
topology-mcp --transport stdio
# Start MCP server on custom port
topology-mcp --transport streamable-http --port 9000
# Connect to a remote topology service
export TOPOLOGY_URL=https://topology.example.com
topology-mcp --transport sse
Development
Setup
# Clone the repository
git clone https://github.com/yourusername/topology-mcp.git
cd topology-mcp
# Install in development mode with uv
uv sync --dev
# Or with pip
pip install -e ".[dev]"
Running Tests
pytest
Code Formatting
black src/
License
MIT License - see LICENSE file for details.
Metadata
Release files for topology-mcp 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| topology_mcp-0.1.10.tar.gz | 6.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| topology_mcp-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / topology_mcp-0.1.10.tar.gz
| Download URL | topology_mcp-0.1.10.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cf0f341ce62fac82e1ce7a264eb68c12ca80b7f35c3dec10b4addfed7acc31c
|
|
BLAKE2b-256 checksum How to use checksums |
c72097b6c2acc3c52a3d7f02c25deb8af0b986c7393face3f3f07d4252bd294a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Release files / topology_mcp-0.1.10-py3-none-any.whl
| Download URL | topology_mcp-0.1.10-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
498fa34ed5a1c6d3ab46c4a683d9c7df310f73d27d3e94ac0568d49170035e18
|
|
BLAKE2b-256 checksum How to use checksums |
d6729de43e5e4fd1e5655fe7c430eb549929a498bdd3f95b9f5581d88931fb67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Security for topology-mcp 0.1.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.