Skip to main content

tolap-mcp

Part of TOLAP -- the Tool-Object Level Access Protocol.

Enforcement wrappers for the function your tool layer already calls -- MCP servers, agent-framework tools, Lambda handlers.

This package is not an MCP server and speaks no MCP protocol. It ships no JSON-RPC, no stdio transport and no tools/list, and declares no MCP dependency. Your code fetches the data; TOLAP decides what may leave.

Install

pip install tolap-mcp

What TOLAP does

When an AI agent queries a database or calls an API through a tool, IAM and OAuth decide whether the agent may invoke that tool. Neither decides which rows and columns this particular user may see through it. TOLAP moves enforcement inside the tool, at the data-object level: column hiding, row filtering, field masking, tag-based access and endpoint restrictions, applied before any data reaches the agent.

One policy schema covers databases, APIs, knowledge bases and object storage. Policies are merged most-restrictive-wins, then HMAC-signed so they can cross process and network boundaries tamper-evidently. A context signed by any one of the three SDKs verifies in the other two.

Documentation

Security

Enforcement is non-bypassable where the wrapper is the only path to the data source. A tool that reaches a source without going through a wrapper is outside the boundary. See known limitations for the full list of what TOLAP does not guarantee, and SECURITY.md to report an issue.

License

Apache-2.0. See LICENSE and NOTICE.

Metadata

Release files for tolap-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tolap-mcp 1.0.0
File Size Uploaded Provenance Actions
tolap_mcp-1.0.0.tar.gz 25.4 kB Without provenance Details for tolap_mcp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tolap-mcp 1.0.0
File Interpreter ABI Platform Actions
tolap_mcp-1.0.0-py3-none-any.whl Python 3 none any Details for tolap_mcp-1.0.0-py3-none-any.whl

Total release size: 54.3 kB

Release files / tolap_mcp-1.0.0.tar.gz

Download URL tolap_mcp-1.0.0.tar.gz
Size 25.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bc8585722b661e605fdd7021a5ba5f32e7c905c208fcbde5bc2ca9b65b7800ed
BLAKE2b-256 checksum
How to use checksums
58be3df96a84899932fe3b94154f67e4b7d25cea2252ed0c5d4dc852fefe9e95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / tolap_mcp-1.0.0-py3-none-any.whl

Download URL tolap_mcp-1.0.0-py3-none-any.whl
Size 28.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eeee7ce3811fd3e7c0aab3a78d14f294533c20fa58a535dd2e2b8c6490326982
BLAKE2b-256 checksum
How to use checksums
079f0df509902121c93647391b1f09363c33c16f41287b25ac904665371bea7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for tolap-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page