Skip to main content

Add your description here

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_server.py

or you can do this.

uv run bus_mgmt_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.2.tar.gz (1.2 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.2-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bus_mgmt_mcp_server-0.1.2.tar.gz
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for bus_mgmt_mcp_server-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9641c579a6bc11ed4adbee4f72c32d5f0886e944e2d2814a64fbc0baf3ec34aa
MD5 0a71771f793578f1f01b0f578d524236
BLAKE2b-256 b288d1642502e2e108a45f3d298e3f857a7fe69c5370feea72fc0a8d0d024dbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bus_mgmt_mcp_server-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0132611a4835b4c3be7b38adbd46bcd37ca35bee616437bdce178ce8fa7b9644
MD5 dd60ed539ab7ed71475ae789033ce887
BLAKE2b-256 4c4273cc85cb7cc5e0e86687c678c2a703d3ae57bb88b9b693f86bb98a5a2b2b

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