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.7.0.tar.gz (20.4 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.7.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jena_mcp-0.7.0.tar.gz
  • Upload date:
  • Size: 20.4 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.7.0.tar.gz
Algorithm Hash digest
SHA256 8e917ff03bd7f517ed6efaeba7fb5afa910f87a74841f931ccb99d67b7f99491
MD5 21838650db20ff2eaeec1311e39b245d
BLAKE2b-256 eaf6a9c0aa7dc6f356daadd947a70a554bca1c64fff2837f2c4782cd60877ecd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jena_mcp-0.7.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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfe677c3a1108d3a154d9762d956742f2365441e03c6e50f5cf51688700930d2
MD5 087ca6b3837b1c10b0bb4138c588dcb7
BLAKE2b-256 375879283fc5e6508364156327476bebd1b4f8ae9851c5fa9489f00277221af6

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