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_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bus_mgmt_mcp_server-0.1.9.tar.gz.
File metadata
- Download URL: bus_mgmt_mcp_server-0.1.9.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a6f0c0420f55f7c509b5d3730158d875e865bc74a02a81a13b5fe735b781e35
|
|
| MD5 |
9be9bcfdab5de8e1d20ad4289c072a21
|
|
| BLAKE2b-256 |
5d3639df6b35945495b552b663e529f2fee11944f590c15a7959b043d7d2e865
|
File details
Details for the file bus_mgmt_mcp_server-0.1.9-py3-none-any.whl.
File metadata
- Download URL: bus_mgmt_mcp_server-0.1.9-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7135ff53ebb3680b454c00be8763c0d7fdbdfebec1ab5ed8cda89d6842300e55
|
|
| MD5 |
b70695f760b35c8fec20966f54888dc4
|
|
| BLAKE2b-256 |
76edd888eb1a1db5845bc6abb3c6f173f6751cc03c16fd47cccc24f88f6ebbeb
|