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.3.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.3-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bus_mgmt_mcp_server-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4aac18cef06caf7611236c8f454a3fa96fc5f2d30709393d2d52048c06f33fe1
MD5 6077a801e24293668d047fd7f0a0f5e7
BLAKE2b-256 044f1ff2c9123157d758bc0ab88b0081f2280c2484144d556cdf1d5146c195a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bus_mgmt_mcp_server-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 13a41500a5df0a21e9cd8b6ae42e5728bfee0d99fc2f9b7e184cc385e0628e52
MD5 78890b366c7dc3cb04f1d7e022c01014
BLAKE2b-256 68e72db458c6302f8c8ace4e654550e8c54be4d28569f73d047e52b2fc4bd16e

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