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.4.tar.gz (1.3 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.4-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bus_mgmt_mcp_server-0.1.4.tar.gz
Algorithm Hash digest
SHA256 248b278d3b6755288091f9dd064fe634149bbf79166cb879258c214c305bd09d
MD5 330af2bbcc11a1fe9634bfedd5b94ad7
BLAKE2b-256 98ac8d29a70f3e70c6cb9fb65e9ebe8d4d38fd6b584e4587e79fb16aa9cc7b9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bus_mgmt_mcp_server-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1179d12bb494c5bbf0ddfe3654a6d7ecd9aea8ce765a0e3237cf912d598feb85
MD5 4b5bbe3794a824a48ffd0af13beaf9d3
BLAKE2b-256 3d03aac0a016dcad976d63b4938f08dba8fa03ade4853a304beec6d718ce3bdf

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