DEMO Country MCP Server
A modular server providing tools for country and state lookups, usable as a CLI or plug-in agent.
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.md
Use 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!
Servidores relacionados
CData Excel Online
A read-only MCP server for querying live data from Excel Online using CData's JDBC driver.
MySQL Server Pro
A MySQL server with CRUD operations, database anomaly analysis, and support for SSE and STDIO.
Wormhole Metrics MCP
Analyzes cross-chain activity on the Wormhole protocol, providing insights into transaction volumes, top assets, and key performance indicators.
PubChem-MCP
Access PubChem's database for chemical compounds, substances, and bioassays.
DigitalOcean Database
Integrate AI-powered IDEs with DigitalOcean managed databases using a DigitalOcean API token.
A-Share MCP
Provides A-share stock market data, including basic info, historical K-lines, financial indicators, and macroeconomic data using Baostock.
Doris-MCP-Lite
A lightweight MCP server for connecting to Apache Doris and other MySQL-compatible databases, providing tools and prompts for LLM applications.
@exerciseapi/mcp-server
Official MCP server for exerciseapi.dev — search 2,198+ exercises across 12 categories
CrateDB MCP Server
Interact with CrateDB using natural language for Text-to-SQL queries and documentation retrieval.
MongoDB MCP Server
An MCP server providing tools and prompts for interacting with a MongoDB database.