Model Context Protocol server for InsightAId — survey lifecycle for AI coding agents (Claude Code, Codex CLI, GitHub Copilot)
Project description
insightaid-mcp
Model Context Protocol server that exposes the InsightAId survey lifecycle to AI coding agents — Claude Code, Codex CLI, GitHub Copilot — via 9 workflow-shaped tool verbs.
Status: v1.1 alpha (post-launch ship; not yet on PyPI).
See CLAUDE.md for project guidance, docs/decisions.md for the
architectural rationale, checklist_machine.md for the implementation
status. Umbrella issue: https://github.com/umignozzetti/insight-aid/issues/88.
Install (once published)
pip install insightaid-mcp
Configure
Mint a Personal Access Token at https://insightaid.ai/app/settings?tab=pats (plaintext shown ONCE — copy it then). Add to your client config:
Claude Code (~/.claude.json):
{
"mcpServers": {
"insightaid": {
"command": "insightaid-mcp",
"env": { "INSIGHTAID_PAT": "iaid_pat_..." }
}
}
}
Codex CLI / GitHub Copilot — see their MCP-config docs; the entry
point is the same insightaid-mcp command.
Tools (v1.1)
Workflow-shaped, not CRUD. Nine verbs:
auth.whoami()
survey.author_and_validate(brief, project_id?)
survey.publish(instrument_id)
survey.deploy_to_humans(instrument_id, channel, n)
survey.deploy_to_farm(instrument_id, n, profile?) # n >= 50 enforced
survey.run_status(run_id)
survey.results(run_id, format='summary'|'raw')
survey.cancel(run_id)
workspace.list_my_work()
Development
# Editable install with dev deps
pip install -e ".[dev]"
# Run tests
pytest tests/
# Lint + type-check
ruff check src/ tests/
mypy src/
Security
PAT scopes are workspace-bound and least-privilege:
instruments:read, instruments:write, runs:read, runs:write,
responses:read. Revoke at the dashboard.
The MCP server holds zero api secrets — only the PAT loaded from
INSIGHTAID_PAT env. Token format iaid_pat_<KID>_<base32url>; lookup
is HMAC-SHA256 with a server-side pepper that never leaves the api host.
Report security issues to ops@insightaid.ai.
License
Proprietary — InsightAId, Inc. All rights reserved.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file insightaid_mcp-1.1.0a0.tar.gz.
File metadata
- Download URL: insightaid_mcp-1.1.0a0.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60af78e0bc9e6833676076a9bc7484ac7f96ba8c9381ce77a431e9a2f9c6f3cb
|
|
| MD5 |
c2c239d7376de478e4dc3830279add88
|
|
| BLAKE2b-256 |
ccbbfd9f184658fc27919877d0d4475e2c2ba62527ea2d63c10d22978e108ece
|
File details
Details for the file insightaid_mcp-1.1.0a0-py3-none-any.whl.
File metadata
- Download URL: insightaid_mcp-1.1.0a0-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dce3151c5af3f4638d48b441550acc5b4bf68b1b250344c8415d085954cd5698
|
|
| MD5 |
1342fff82a97ed016733ef157cd4a9a2
|
|
| BLAKE2b-256 |
495c600f139bf2ae321fcad2c5f613020bbf26616517cdbdfa8f153e9e449d53
|