Metadata-Version: 2.4
Name: jlens-mcp-server
Version: 1.1.1
Summary: MCP server for inspecting Java classes and Maven dependencies
Author: bhxch
License: MIT
License-File: LICENSE
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# JLens MCP Server

A Model Context Protocol (MCP) server for inspecting Java classes and Maven dependencies.

## Quick Execution

You can run JLens instantly using `npx` or `uvx` (requires Java 25+ installed):

```bash
# Using npx
npx -y @bhxch/jlens-mcp-server

# Using uvx
uvx jlens-mcp-server
```

### Environment Variables

You can configure the server using environment variables:

- `JLENS_JAVA_HOME`: Path to Java installation (overrides JAVA_HOME)
- `JLENS_ARGS`: Additional JVM arguments or server options

```bash
# Example
JLENS_JAVA_HOME="/path/to/jdk-25" JLENS_ARGS="-Dfile.encoding=UTF-8" npx @bhxch/jlens-mcp-server
```

## Agent Skills

Install specialized AI agent skills to help your agent use JLens more effectively (requires `npx skills` support):

```bash
# Install Chinese Version
npx skills install https://github.com/bhxch/jlens/tree/main/skills/jlens-mcp

# Install English Version
npx skills install https://github.com/bhxch/jlens/tree/main/skills/jlens-mcp-en
```

## Documentation

- **User Guide**: [docs/user-guide/](docs/user-guide/)
  - [English README](docs/user-guide/README.md)
  - [中文 README](docs/user-guide/README_CN.md)
  - [Testing Guide](docs/user-guide/TESTING.md)
- **Developer Docs**: [docs/developer-docs/](docs/developer-docs/)
  - [Project Summary](docs/developer-docs/PROJECT_SUMMARY.md)
  - [Integration Guide](docs/developer-docs/MCP_INSPECTOR_INTEGRATION_GUIDE.md)
  - [Contributing Guide](CONTRIBUTING.md) ([中文版](CONTRIBUTING_CN.md))
- **Design Plans**: [docs/plans/](docs/plans/)

## Quick Links

- **Test Reports**: [docs/developer-docs/reports/](docs/developer-docs/reports/) - Test results and reports
- **Scripts**: [scripts/](scripts/) - Test and automation scripts
- **Configuration**: [config/](config/) - MCP Inspector and other configs
- **Logs**: [logs/](logs/) - Temporary logs and outputs

## Build & Run

### Build

```bash
mvn clean package
```

This will create an executable JAR file: `target/jlens-mcp-server-1.1.1.jar`

## License

MIT
