Skip to main content

Apache Jena (Fuseki) API + MCP Server + A2A Server for Agentic AI!

Project description

jena-mcp

A Model Context Protocol (MCP) server, A2A agent, and API client for Apache Jena (Fuseki) integration.

PyPI - Version MCP Server PyPI - License GitHub

Documentation — Installation, deployment, usage across the API, CLI, and MCP interfaces, and guidance for provisioning the Apache Jena Fuseki platform are maintained in the official documentation.

Table of Contents

Overview

jena-mcp exposes a standardized interface to interact with an Apache Jena Fuseki server using the Model Context Protocol — SPARQL query/update, the Graph Store Protocol, and Fuseki server administration — plus an optional Pydantic-AI agent server.

Installation

pip install -e .

Usage

Run the MCP server directly:

python -m jena_mcp

Architecture

See /docs for architectural diagrams and further documentation.

Deployment

Bare-metal

python -m jena_mcp.agent_server

Docker

docker compose -f docker/agent.compose.yml up -d

Additional Deployment Options

jena-mcp can also run as a local container (Docker / Podman / uv) or be consumed from a remote deployment. The Deployment guide has full, copy-paste mcp_config.json for all four transports — stdio, streamable-http, local container / uv, and remote URL:

  • Local container / uv — launch the server from mcp_config.json via uvx, docker run, or podman run, or point at a local streamable-http container by url.
  • Remote URL — connect to a server deployed behind Caddy at http://jena-mcp.arpa/mcp using the "url" key.

Environment Variables

Variable Description
JENA_FUSEKI_URL Fuseki server base URL (alias: JENA_URL)
JENA_USERNAME Basic-auth user id
JENA_PASSWORD Basic-auth password
JENA_TOKEN Bearer token (used in place of basic auth)
JENA_SSL_VERIFY Verify TLS (set False for self-signed homelab)
JENATOOL Register the Jena tool set

MCP Tools

Tool Description
jena_sparql Run a SPARQL query or update against a Fuseki dataset
jena_graph Read or modify RDF graphs via the Graph Store Protocol
jena_admin Administer the Fuseki server: datasets, stats, tasks, backup, compact

Documentation

The complete documentation is published as the official documentation site and is the recommended reference for installation, deployment, and day-to-day operation.

Page Contents
Installation pip, source, extras, prebuilt Docker image
Deployment run the MCP and agent servers, Compose, Caddy + Technitium, env config
Usage the MCP tools, the JenaApi client, the CLI
Backing Platform deploy Apache Jena Fuseki with Docker
Overview tool surface, endpoints, components
Architecture layered client, MCP surface, agent server
Concepts concept registry (CONCEPT:JENA-*)

AGENTS.md is the canonical contributor/agent guidance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jena_mcp-0.10.0.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jena_mcp-0.10.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file jena_mcp-0.10.0.tar.gz.

File metadata

  • Download URL: jena_mcp-0.10.0.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for jena_mcp-0.10.0.tar.gz
Algorithm Hash digest
SHA256 fe97c4f19c46aaaba960389d36f6cb914f9880467cc96d27cc3502d69d5fe84c
MD5 b5845a3666a51229b99a272c3251b5c2
BLAKE2b-256 f6bf585c73f2f4f2ff089ac2c094fae7c6d6e75d322f2916de1761d683d607e3

See more details on using hashes here.

File details

Details for the file jena_mcp-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: jena_mcp-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for jena_mcp-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 395665d28cfcf7dc4f93481893c20da633dd48ac9ef16c697dec4b49b576a16e
MD5 1ffce3b4e6ba930a9c140665775e4844
BLAKE2b-256 ab7b0cb7d32bf624c9c4f85e783a7bb852d0d124821445ec804548f449307fd8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page