Skip to main content

Bus Management MCP Server

Project description

Run these

uv venv
source .venv/bin/activate
uv pip install -r requirement.txt

You can put client code in your server to test it like this:

import asyncio
client = Client(mcp)

async def call_tool(name: str):
    async with client:
        result = await client.call_tool("greet", {"name": name})
        print(result[0].text)

asyncio.run(call_tool("Tom"))
asyncio.run(call_tool("Jill"))

Then to run the MCP Inspector and your MCP server code:

mcp dev bus_mgmt_mcp_server/bus_mgmt_mcp_server.py

or you can do this.

uv run bus_mgmt_mcp_server/bus_mgmt_mcp_server.py

Then to publish the server to pypi you can do this:

Sign up an pypi.org and get an api token you can use to publish.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bus_mgmt_mcp_server-0.1.12.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bus_mgmt_mcp_server-0.1.12-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file bus_mgmt_mcp_server-0.1.12.tar.gz.

File metadata

File hashes

Hashes for bus_mgmt_mcp_server-0.1.12.tar.gz
Algorithm Hash digest
SHA256 65efde020bd35a4e4c70137d0ddbe2b30eb180f42f909f1c23f2ee1ea0ceab97
MD5 2e13828e3713b372f2f22164ec97e2fe
BLAKE2b-256 0b355aba9537bf2c71398af1fab5609f557f8a5f9aedfdfd45474bb9f27085b9

See more details on using hashes here.

File details

Details for the file bus_mgmt_mcp_server-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for bus_mgmt_mcp_server-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 c62540d6e18bcada8ba42a9f21a5a1e45142e42b4dd82a81df95bfb50d1c34ac
MD5 809aee3a805d8837ad7ba7b8d89d2146
BLAKE2b-256 fd9d6888d72fe2d04ff225f51808fde097be8b9b80444b258faaac5da7a8dd94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page