intentplane-mcp 0.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- intentplane_mcp-0.5.1/LICENSE +21 -0
- intentplane_mcp-0.5.1/PKG-INFO +63 -0
- intentplane_mcp-0.5.1/README.md +43 -0
- intentplane_mcp-0.5.1/intentplane_mcp.egg-info/PKG-INFO +63 -0
- intentplane_mcp-0.5.1/intentplane_mcp.egg-info/SOURCES.txt +9 -0
- intentplane_mcp-0.5.1/intentplane_mcp.egg-info/dependency_links.txt +1 -0
- intentplane_mcp-0.5.1/intentplane_mcp.egg-info/entry_points.txt +2 -0
- intentplane_mcp-0.5.1/intentplane_mcp.egg-info/requires.txt +1 -0
- intentplane_mcp-0.5.1/intentplane_mcp.egg-info/top_level.txt +1 -0
- intentplane_mcp-0.5.1/pyproject.toml +34 -0
- intentplane_mcp-0.5.1/setup.cfg +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mustapha HAMDI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: intentplane-mcp
|
|
3
|
+
Version: 0.5.1
|
|
4
|
+
Summary: MCP proxy that puts the intentplane gateway in front of any MCP server: critical tool arguments are resolved against trusted sources and decided by a Cedar policy.
|
|
5
|
+
Author: Mustapha Hamdi
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/HamdiM99/intentplane
|
|
8
|
+
Project-URL: Source, https://github.com/HamdiM99/intentplane
|
|
9
|
+
Project-URL: Issues, https://github.com/HamdiM99/intentplane/issues
|
|
10
|
+
Keywords: mcp,model-context-protocol,llm,agents,prompt-injection,authorization,cedar
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Topic :: Security
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: intentplane[mcp]==0.5.1
|
|
19
|
+
Dynamic: license-file
|
|
20
|
+
|
|
21
|
+
# intentplane-mcp
|
|
22
|
+
|
|
23
|
+
<!-- mcp-name: io.github.HamdiM99/intentplane -->
|
|
24
|
+
|
|
25
|
+
**An MCP proxy that puts a deterministic gateway in front of the tools your agent uses.**
|
|
26
|
+
|
|
27
|
+
`intentplane-mcp` sits between an MCP client (Claude Desktop, Claude Code, Cursor, ...) and the MCP servers it
|
|
28
|
+
uses, without changing either. Every call to a configured tool is decided first: its critical arguments
|
|
29
|
+
(payee, amount, recipients) are resolved against a signed mandate and the user's own registries, a Cedar policy
|
|
30
|
+
decides, a step-up is confirmed by the user through MCP elicitation, and only then is the downstream tool
|
|
31
|
+
called, with the trusted values. Unlisted tools are hidden from the agent and refused.
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
uvx intentplane-mcp --config intentplane.toml
|
|
35
|
+
# or: pip install intentplane-mcp && intentplane-mcp --config intentplane.toml
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
A tool is declared once in the TOML config:
|
|
39
|
+
|
|
40
|
+
```toml
|
|
41
|
+
[[tools]]
|
|
42
|
+
server = "bank"
|
|
43
|
+
tool = "send_money"
|
|
44
|
+
budget_param = "amount"
|
|
45
|
+
[tools.params.recipient]
|
|
46
|
+
critical = true
|
|
47
|
+
sources = ["registry:beneficiaries"] # or "mandate:<claim>"
|
|
48
|
+
normalize = "iban"
|
|
49
|
+
[tools.params.amount]
|
|
50
|
+
type = "number"
|
|
51
|
+
scale = 100 # the Cedar policy and the budget see cents
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Register it in a client, for example:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
claude mcp add intentplane -- uvx intentplane-mcp --config /path/to/intentplane.toml
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
A complete demo (a bank-and-mail server whose inbox holds a "we changed banks" email), the configuration
|
|
61
|
+
reference and the evaluation are in the repository: https://github.com/HamdiM99/intentplane
|
|
62
|
+
|
|
63
|
+
Research prototype, MIT licence.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# intentplane-mcp
|
|
2
|
+
|
|
3
|
+
<!-- mcp-name: io.github.HamdiM99/intentplane -->
|
|
4
|
+
|
|
5
|
+
**An MCP proxy that puts a deterministic gateway in front of the tools your agent uses.**
|
|
6
|
+
|
|
7
|
+
`intentplane-mcp` sits between an MCP client (Claude Desktop, Claude Code, Cursor, ...) and the MCP servers it
|
|
8
|
+
uses, without changing either. Every call to a configured tool is decided first: its critical arguments
|
|
9
|
+
(payee, amount, recipients) are resolved against a signed mandate and the user's own registries, a Cedar policy
|
|
10
|
+
decides, a step-up is confirmed by the user through MCP elicitation, and only then is the downstream tool
|
|
11
|
+
called, with the trusted values. Unlisted tools are hidden from the agent and refused.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
uvx intentplane-mcp --config intentplane.toml
|
|
15
|
+
# or: pip install intentplane-mcp && intentplane-mcp --config intentplane.toml
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
A tool is declared once in the TOML config:
|
|
19
|
+
|
|
20
|
+
```toml
|
|
21
|
+
[[tools]]
|
|
22
|
+
server = "bank"
|
|
23
|
+
tool = "send_money"
|
|
24
|
+
budget_param = "amount"
|
|
25
|
+
[tools.params.recipient]
|
|
26
|
+
critical = true
|
|
27
|
+
sources = ["registry:beneficiaries"] # or "mandate:<claim>"
|
|
28
|
+
normalize = "iban"
|
|
29
|
+
[tools.params.amount]
|
|
30
|
+
type = "number"
|
|
31
|
+
scale = 100 # the Cedar policy and the budget see cents
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Register it in a client, for example:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
claude mcp add intentplane -- uvx intentplane-mcp --config /path/to/intentplane.toml
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
A complete demo (a bank-and-mail server whose inbox holds a "we changed banks" email), the configuration
|
|
41
|
+
reference and the evaluation are in the repository: https://github.com/HamdiM99/intentplane
|
|
42
|
+
|
|
43
|
+
Research prototype, MIT licence.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: intentplane-mcp
|
|
3
|
+
Version: 0.5.1
|
|
4
|
+
Summary: MCP proxy that puts the intentplane gateway in front of any MCP server: critical tool arguments are resolved against trusted sources and decided by a Cedar policy.
|
|
5
|
+
Author: Mustapha Hamdi
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/HamdiM99/intentplane
|
|
8
|
+
Project-URL: Source, https://github.com/HamdiM99/intentplane
|
|
9
|
+
Project-URL: Issues, https://github.com/HamdiM99/intentplane/issues
|
|
10
|
+
Keywords: mcp,model-context-protocol,llm,agents,prompt-injection,authorization,cedar
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Topic :: Security
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: intentplane[mcp]==0.5.1
|
|
19
|
+
Dynamic: license-file
|
|
20
|
+
|
|
21
|
+
# intentplane-mcp
|
|
22
|
+
|
|
23
|
+
<!-- mcp-name: io.github.HamdiM99/intentplane -->
|
|
24
|
+
|
|
25
|
+
**An MCP proxy that puts a deterministic gateway in front of the tools your agent uses.**
|
|
26
|
+
|
|
27
|
+
`intentplane-mcp` sits between an MCP client (Claude Desktop, Claude Code, Cursor, ...) and the MCP servers it
|
|
28
|
+
uses, without changing either. Every call to a configured tool is decided first: its critical arguments
|
|
29
|
+
(payee, amount, recipients) are resolved against a signed mandate and the user's own registries, a Cedar policy
|
|
30
|
+
decides, a step-up is confirmed by the user through MCP elicitation, and only then is the downstream tool
|
|
31
|
+
called, with the trusted values. Unlisted tools are hidden from the agent and refused.
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
uvx intentplane-mcp --config intentplane.toml
|
|
35
|
+
# or: pip install intentplane-mcp && intentplane-mcp --config intentplane.toml
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
A tool is declared once in the TOML config:
|
|
39
|
+
|
|
40
|
+
```toml
|
|
41
|
+
[[tools]]
|
|
42
|
+
server = "bank"
|
|
43
|
+
tool = "send_money"
|
|
44
|
+
budget_param = "amount"
|
|
45
|
+
[tools.params.recipient]
|
|
46
|
+
critical = true
|
|
47
|
+
sources = ["registry:beneficiaries"] # or "mandate:<claim>"
|
|
48
|
+
normalize = "iban"
|
|
49
|
+
[tools.params.amount]
|
|
50
|
+
type = "number"
|
|
51
|
+
scale = 100 # the Cedar policy and the budget see cents
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Register it in a client, for example:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
claude mcp add intentplane -- uvx intentplane-mcp --config /path/to/intentplane.toml
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
A complete demo (a bank-and-mail server whose inbox holds a "we changed banks" email), the configuration
|
|
61
|
+
reference and the evaluation are in the repository: https://github.com/HamdiM99/intentplane
|
|
62
|
+
|
|
63
|
+
Research prototype, MIT licence.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
intentplane_mcp.egg-info/PKG-INFO
|
|
5
|
+
intentplane_mcp.egg-info/SOURCES.txt
|
|
6
|
+
intentplane_mcp.egg-info/dependency_links.txt
|
|
7
|
+
intentplane_mcp.egg-info/entry_points.txt
|
|
8
|
+
intentplane_mcp.egg-info/requires.txt
|
|
9
|
+
intentplane_mcp.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
intentplane[mcp]==0.5.1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# The `intentplane-mcp` command as its own package, so that MCP clients can run it with `uvx intentplane-mcp`.
|
|
2
|
+
# It contains no code: the proxy lives in intentplane (intentplane.proxy), installed with its `mcp` extra.
|
|
3
|
+
[build-system]
|
|
4
|
+
requires = ["setuptools>=77"]
|
|
5
|
+
build-backend = "setuptools.build_meta"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "intentplane-mcp"
|
|
9
|
+
version = "0.5.1"
|
|
10
|
+
description = "MCP proxy that puts the intentplane gateway in front of any MCP server: critical tool arguments are resolved against trusted sources and decided by a Cedar policy."
|
|
11
|
+
license = "MIT"
|
|
12
|
+
license-files = ["LICENSE"]
|
|
13
|
+
readme = "README.md"
|
|
14
|
+
requires-python = ">=3.10"
|
|
15
|
+
authors = [{ name = "Mustapha Hamdi" }]
|
|
16
|
+
keywords = ["mcp", "model-context-protocol", "llm", "agents", "prompt-injection", "authorization", "cedar"]
|
|
17
|
+
dependencies = ["intentplane[mcp]==0.5.1"]
|
|
18
|
+
classifiers = [
|
|
19
|
+
"Development Status :: 3 - Alpha",
|
|
20
|
+
"Intended Audience :: Developers",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Topic :: Security",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.urls]
|
|
26
|
+
Homepage = "https://github.com/HamdiM99/intentplane"
|
|
27
|
+
Source = "https://github.com/HamdiM99/intentplane"
|
|
28
|
+
Issues = "https://github.com/HamdiM99/intentplane/issues"
|
|
29
|
+
|
|
30
|
+
[project.scripts]
|
|
31
|
+
intentplane-mcp = "intentplane.proxy.server:main"
|
|
32
|
+
|
|
33
|
+
[tool.setuptools]
|
|
34
|
+
packages = []
|