incant-mcp
MCP server for Incant — lets AI agents author, test, review, publish, and target prompts, doing everything the console can (minus deployment administration) within the configured API key's roles.
Setup
{
"mcpServers": {
"incant": {
"command": "uvx",
"args": ["incant-mcp"],
"env": {
"INCANT_URL": "https://prompts.internal",
"INCANT_API_KEY": "incant_sk_...",
"INCANT_ENVIRONMENT": "staging"
}
}
}
}
INCANT_ENVIRONMENT is optional (tools default to the deployment's default
environment and accept a per-call override). Add --read-only to the args to
register only the read/test tools.
Permissions
The server adds nothing and hides nothing: every call runs under the API key's
roles, enforced by the deployment. A viewer key can explore and render-test but
not publish; a 403 surfaces the server's role explanation verbatim. Protected
environments additionally demand a confirm echo on mutations — the paired
skills instruct agents to relay that confirmation to a human first.
Tools
- Discover:
list_prompts,get_prompt,list_rules,list_environments,get_publish_history,get_targeting_history,get_audit - Test:
render_prompt(real serving path, withpinreplay),evaluate_targeting,diff_versions - Author:
create_prompt,edit_draft(create/update/get/render/diff/discard),commit_draft,review_draft,set_prompt_metadata - Release & target:
publish_prompt(pointer + optional default promotion + rule archive, atomic),rollback_pointer,upsert_rule,set_rule_status,upsert_segment,set_default,kill_switch,rollback_targeting
Skills
The skills/ directory pairs this server with agent skills —
incant-authoring (draft → test → review → commit) and incant-release
(publish → target → roll out → roll back) — that encode the workflows and
guardrails. Install by copying into your agent's skills directory (e.g.
.claude/skills/).
Release files for incant-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)
| File | Size | Uploaded | |
|---|---|---|---|
| incant_mcp-1.0.0.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| incant_mcp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.4 kB
Release files / incant_mcp-1.0.0.tar.gz
| Download URL | incant_mcp-1.0.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09203141237038d7d6b4318f51d3c26e1c0a63fe0be207a5602351967747e052
|
|
BLAKE2b-256 checksum How to use checksums |
5e95acb78f389c8ded6dc8fe1d6aaa6ff1e54ac276ad14c60eadfcb34953c17e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / incant_mcp-1.0.0-py3-none-any.whl
| Download URL | incant_mcp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fe26c4dcb1e93a07a25c93bc3e5b395b2e49ee75aa27546a92d54dc6cacc186
|
|
BLAKE2b-256 checksum How to use checksums |
e248c169313a092237aba89a5c17f79a4f640e3382f9db3804c73a576b548191
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|