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!
相关服务器
ChromaDB
Provides AI assistants with persistent memory using ChromaDB vector storage.
Database
Universal database MCP server supporting multiple database types including PostgreSQL, Redshift, CockroachDB, MySQL, RDS MySQL, Microsoft SQL Server, BigQuery, Oracle DB, and SQLite
Memory Custom
Extends the MCP Memory server to create and manage a knowledge graph from LLM interactions.
MySQL MCP Server
Provides AI agents with direct access to query, search, and analyze MySQL databases.
Dynamics 365 MCP Server by CData
A read-only MCP server by CData that enables LLMs to query live data from Dynamics 365. Requires the CData JDBC Driver for Dynamics 365.
MySQL MCP Server
Enables secure interaction with MySQL databases, allowing AI assistants to list tables, read data, and execute SQL queries through a controlled interface.
PostgreSQL MCP Server
An MCP server that provides tools to interact with PostgreSQL databases.
CRM MCP Server
A production-ready MCP server for Customer Relationship Management (CRM) functionality, built with TypeScript and SQLite.
Schematica MCP Server
Browse, create, and manage schema projects on the Schematica schema library. 8 MCP tools for AI-powered schema design and data modeling.
MCP DB Analyzer
Multi-database analysis MCP server (PostgreSQL, MySQL, SQLite). Inspects schemas, detects index problems, analyzes table bloat, and explains query plans for actionable database optimization.