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.0.tar.gz (1.1 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.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bus_mgmt_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dc195fa8cb26146f44f209379caaf42c677e1ae05af71024539b6a809d93e657
MD5 a00dcbcfcb1a9bab183a524329097284
BLAKE2b-256 78246e68620979fc06fdd96370fb6e28dd76d2b7b890f24b0cbf5d1f90e670f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bus_mgmt_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84756a8f6e6c8e4e5565c35e8223fae28bcaa5202f08c0a7ac6abefc55deabe1
MD5 1fd3147d09f87b5509a7accd0a0731e3
BLAKE2b-256 01a7cfa636978dac393244c444920d2a48bc57f44f3583b1ec996f74b18c785a

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