|
14 | 14 | // limitations under the License. |
15 | 15 | // |
16 | 16 |
|
17 | | -= mail-mcp: Maven Mailing List MCP Server |
18 | | -:toc: |
19 | | -:toclevels: 2 |
| 17 | += mail-mcp |
20 | 18 |
|
21 | | -== Overview |
22 | | - |
23 | | -*mail-mcp* is an MCP (Model Context Protocol) server for accessing and analyzing Apache Maven mailing list archives. |
24 | | -It provides tools to retrieve and process historical email discussions from Maven mailing lists, primarily dev@maven.apache.org. |
25 | | - |
26 | | -== Status |
27 | | - |
28 | | -🚧 *Early Development* - Data retrieval and parsing infrastructure implemented. |
29 | | -MCP server implementation in progress. |
| 19 | +MCP server for accessing and analyzing Apache Maven mailing list archives. |
30 | 20 |
|
31 | 21 | == Quick Start |
32 | 22 |
|
33 | 23 | === Prerequisites |
34 | 24 |
|
35 | | -Python 3.11+:: Must be installed |
36 | | -Poetry:: Dependency manager (install via `pipx install poetry`) |
37 | | -Docker Desktop:: For running Elasticsearch |
| 25 | +* Python 3.11+ |
| 26 | +* Docker Desktop (for Elasticsearch) |
38 | 27 |
|
39 | 28 | === Setup |
40 | 29 |
|
41 | 30 | [source,bash] |
42 | 31 | ---- |
43 | | -# Configure poetry to use in-project virtual environment |
44 | | -poetry config virtualenvs.in-project true |
45 | | -
|
46 | | -# Install dependencies (creates .venv/ automatically) |
47 | | -poetry install |
48 | | ----- |
49 | | - |
50 | | -=== Retrieve Mailing List Data |
| 32 | +# Install dependencies |
| 33 | +pip install -e ".[dev]" |
51 | 34 |
|
52 | | -[source,bash] |
53 | | ----- |
54 | | -# Download a specific month from dev@maven.apache.org |
55 | | -poetry run retrieve-mbox --date 2024-10 |
| 35 | +# Start Elasticsearch |
| 36 | +docker compose up -d elasticsearch |
56 | 37 |
|
57 | | -# Download from a different mailing list |
58 | | -poetry run retrieve-mbox --date 2024-10 --list users@maven.apache.org |
| 38 | +# Download mailing list data |
| 39 | +retrieve-mbox --date 2024-10 |
59 | 40 |
|
60 | | -# Show help |
61 | | -poetry run retrieve-mbox --help |
| 41 | +# Index the data |
| 42 | +index-mbox data/dev/*.mbox |
62 | 43 | ---- |
63 | 44 |
|
64 | | -The script downloads mbox files from the Apache Lists API and saves them as `YYYY-MM.mbox` in the current directory. |
65 | | - |
66 | | -=== Start Infrastructure |
| 45 | +=== Run MCP Server |
67 | 46 |
|
68 | 47 | [source,bash] |
69 | 48 | ---- |
70 | | -# Start Elasticsearch and Kibana for development |
71 | | -docker compose up -d elasticsearch kibana |
72 | | -
|
73 | | -# Check health |
74 | | -curl http://localhost:9200/_cluster/health |
75 | | -
|
76 | | -# Access Kibana web UI for data exploration |
77 | | -open http://localhost:5601 |
| 49 | +maven-mail-mcp |
78 | 50 | ---- |
79 | 51 |
|
80 | 52 | == Documentation |
81 | 53 |
|
82 | | -Development guide:: xref:docs/development.adoc[Development workflow, project structure, tools] |
83 | | -MCP Server:: xref:docs/mcp-server.adoc[Setting up and using the MCP server with Claude Desktop] |
84 | | -Docker setup:: xref:docs/docker.adoc[Running Elasticsearch and services with Docker] |
85 | | -Data management:: xref:docs/data-management.adoc[Working with mbox files and archives] |
86 | | -Roadmap:: xref:docs/roadmap.adoc[Implementation status and planned features] |
87 | | -Architecture decisions:: xref:docs/adr/[ADRs documenting key technical decisions] |
88 | | - |
89 | | -== Part of maven-mcps |
| 54 | +See xref:docs/index.adoc[Documentation] for: |
90 | 55 |
|
91 | | -This project is one MCP server within the maven-mcps umbrella project, which contains multiple MCP servers for Apache Maven support. |
| 56 | +* Development guide and CI |
| 57 | +* Docker setup |
| 58 | +* MCP server configuration |
| 59 | +* Data management |
| 60 | +* Architecture decisions |
92 | 61 |
|
93 | 62 | == License |
94 | 63 |
|
95 | | -This project is licensed under the Apache License 2.0. |
96 | | -See the xref:LICENSE[LICENSE] file for details. |
97 | | - |
98 | | -Copyright 2025 The Apache Software Foundation |
99 | | - |
100 | | -Licensed under the Apache License, Version 2.0 (the "License"); |
101 | | -you may not use this file except in compliance with the License. |
102 | | -You may obtain a copy of the License at |
103 | | - |
104 | | - http://www.apache.org/licenses/LICENSE-2.0 |
105 | | - |
106 | | -Unless required by applicable law or agreed to in writing, software |
107 | | -distributed under the License is distributed on an "AS IS" BASIS, |
108 | | -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
109 | | -See the License for the specific language governing permissions and |
110 | | -limitations under the License. |
| 64 | +Apache License 2.0 - See xref:../LICENSE[LICENSE] for details. |
0 commit comments