Country MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Country MCP Serverwhat's the capital of France?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DEMO Country MCP Server
A modular MCP server exposing tools for country and state lookups. Ready for use as a CLI or plug-in agent.
Quick Start
Clone and set up your environment
git clone <REPO_URL> cd mcp-server
Build the package
python -m build
Install globally with pipx
pipx install dist/country_mcp_server-*.whl --force
Run the server
country-mcp-server
Or, for development with Inspector UI:
mcp dev country_server_mcp/main.py
Add Your Own Tools
Put new modules in
country_server_mcp/tools/.Each module should define a
register(mcp)function and add tools using@mcp.tool().Import and call each new tool's
register(mcp)inmain.py.Rebuild and reinstall with
pipx install dist/… --force.
Example Project Layout
country_server_mcp/
__init__.py
main.py
tools/
__init__.py
countries.py
states.py
pyproject.toml
README.mdUse as an MCP agent
Add to your orchestrator config:
{
"mcpServers": {
"country": {
"command": "country-mcp-server",
"args": []
}
}
}Notes
If you update tools, rebuild and reinstall the package.
Make sure your CLI binary is in your PATH (
~/.local/binfor pipx by default).For dev mode, editable install:
pip install -e .
Let me know if you want it even more minimal or need a specific “getting started” blurb for a team!
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/llanterme/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server