- Install venv and package dependencies:
uv sync
- Activate your virtual environment:
source .venv/bin/activate
- Run your server in development mode:
mcp dev src/mcp_wiki/server.py
-
Go to
http://localhost:5173
in your browser to open the MCP Inspector UI. -
In the UI, you can click "Connect" to initialize your MCP server. Then click on "Tools" tab > "List Tools" and you should see the
read_wikipedia_article
tool. Then you can try to call theread_wikipedia_article
tool with URL set to "https://en.wikipedia.org/wiki/Bangladesh" and click "Run Tool".
- Install your project locally:
uv pip install .
- Check the executable in your virtual environment:
ls .venv/bin/ # Verify your CLI is available
- Test the CLI:
mcp-wiki --help
You should see output similar to:
❯ mcp-wiki --help
usage: mcp-wiki [-h]
Gives you the ability to read Wikipedia articles and convert them to Markdown.
options:
-h, --help show this help message and exit