Metadata-Version: 2.4
Name: open-geoserver-mcp
Version: 1.0.3
Summary: A GeoServer MCP server implementation that enhances LLM capabilities with geospatial data and mapping services via GeoServer REST API
Project-URL: Homepage, https://github.com/openlang-cn/geoserver-mcp
Project-URL: Repository, https://github.com/openlang-cn/geoserver-mcp
Project-URL: Issues, https://github.com/openlang-cn/geoserver-mcp/issues
Project-URL: Changelog, https://github.com/openlang-cn/geoserver-mcp/blob/main/CHANGELOG.md
Author: Mahdi Nazari Ashani, GeoServer MCP Contributors
License: MIT License
        
        Copyright (c) 2025 GeoServer MCP Contributors
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: geoserver,geospatial,llm,mcp,ogc,wfs,wms
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Requires-Dist: geoserver-rest==2.10.0
Requires-Dist: mcp==1.28.1
Requires-Dist: seaborn<1,>=0.13
Provides-Extra: dev
Requires-Dist: mypy<3,>=2; extra == 'dev'
Requires-Dist: pytest-cov<8,>=7; extra == 'dev'
Requires-Dist: pytest<10,>=8; extra == 'dev'
Requires-Dist: ruff<1,>=0.15; extra == 'dev'
Description-Content-Type: text/markdown

[简体中文文档](./docs/README.zh-CN.md)

# GeoServer MCP Server

GeoServer MCP is an MCP (Model Context Protocol) server for GeoServer. It wraps the GeoServer REST API into MCP tools for MCP-compatible clients such as Codex, Cursor, and Claude Desktop.

![GeoServer MCP](./docs/geoserver-mcp.png)

## Overview

- Manage workspaces, stores, layers, layer groups, feature types, styles, users, and system operations.
- Expose MCP resources and tools over `stdio`, `streamable-http`, and `sse`.
- Support local development, `uvx` launch from PyPI, Docker deployment, and 1Panel deployment.

## Prerequisites

Before using GeoServer MCP, you must have a GeoServer instance already deployed and running:

- A GeoServer service with REST API enabled and accessible over the network.
- Valid credentials (username and password) for the GeoServer REST API.

## Quick Start

Requirements:

- Python `3.10+`
- A reachable GeoServer instance with REST API enabled

Run directly from PyPI:

```bash
uvx --from open-geoserver-mcp geoserver-mcp \
  --url http://localhost:8080/geoserver \
  --user admin \
  --password geoserver
```

Package naming:

- PyPI package: `open-geoserver-mcp`
- CLI command: `geoserver-mcp`

## Documentation

- [Documentation Index](./docs/README.md)
- [Installation and Startup](./docs/getting-started/installation.md)
- [Client Configuration](./docs/getting-started/client-configuration.md)
- [MCP Resources and Tools](./docs/mcp/resources-and-tools.md)
- [Docker and 1Panel Deployment](./docs/deployment/docker-and-1panel.md)
- [Local Development](./docs/development/local-development.md)
- [Release and Versioning](./docs/maintainers/release-and-versioning.md)

## Open Source Project Files

- [CONTRIBUTING.md](./CONTRIBUTING.md)
- [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md)
- [SECURITY.md](./SECURITY.md)
- [CHANGELOG.md](./CHANGELOG.md)
- [LICENSE](./LICENSE)
- [Deployment Assets](./deploy/README.md)

## Development

```bash
uv venv --python=3.10
uv pip install -e ".[dev]"
ruff check src tests examples
mypy src/geoserver_mcp
pytest tests -q --cov=geoserver_mcp --cov-report=term-missing
python -m compileall src examples tests
```

## License

MIT
