Precogly MCP
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Precogly MCPstart a threat model for our new payment processing service"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Precogly MCP
MCP server for Precogly threat modeling.
Status
Early. One tool, read-only:
list_threat_models— threat models in the caller's organizations, most recently updated first. Returns the first page of twenty and cannot page past it.
Authentication is not finished. The server forwards a bearer token it does not own and never mints; today that token is a Precogly access token with a 60-minute lifetime, which is fine for development and cannot drive anything unattended. 0003 records what replaces it and why.
Related MCP server: GauntletCI-MCP
Configuration
Two environment variables, both read by the server process:
| Bearer token for the Precogly API. Required. |
| Base URL of the deployment. Defaults to |
Against a locally seeded instance, a token comes from the login endpoint:
export PRECOGLY_URL=http://localhost:8000
export PRECOGLY_TOKEN=$(curl -s -X POST "$PRECOGLY_URL/api/auth/login/" \
-H 'Content-Type: application/json' \
-d '{"email":"admin@precogly.dev","password":"admin123"}' \
| python3 -c "import sys,json;print(json.load(sys.stdin)['access'])")Running it
The server speaks stdio. Either entry point works:
uv run precogly-mcp # console script
uv run python -m precogly_mcp.server # equivalentUnder the MCP Inspector, for poking at schemas by hand. --with-editable . is required —
mcp dev runs the file in an ephemeral environment containing only mcp, so without it
nothing in this package imports:
uv run mcp dev src/precogly_mcp/server.py --with-editable .Connecting a client
Any MCP client that can launch a local stdio server. For opencode,
an opencode.json in the project root, with the token interpolated rather than written in:
{
"mcp": {
"precogly": {
"type": "local",
"command": ["uv", "run", "python", "-m", "precogly_mcp.server"],
"enabled": true,
"environment": {
"PRECOGLY_TOKEN": "{env:PRECOGLY_TOKEN}",
"PRECOGLY_URL": "{env:PRECOGLY_URL}"
}
}
}
}Development
This project uses uv for dependencies and tooling.
uv sync # create .venv and install deps + dev tools
uv run pytest # run tests
uv run ruff check . # lint
uv run ruff format . # format
uv run mypy src # type-check (strict)
uv run pip-audit # scan dependencies for CVEsInstall the git hooks once:
uv run pre-commit installTests need no running Precogly. mcp.client.Client drives the server over in-memory
streams, so tools/list and tools/call are exercised as a client sees them, and
httpx2.MockTransport stands in for the API.
Design
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
Alicense-qualityAmaintenanceAn MCP server that enables easy integration with coding assistants, providing security context to AI agents. This runs locally using the Snyk CLI.Last updated53Apache 2.0- FlicenseBqualityDmaintenanceMCP server that integrates GauntletCI to analyze behavioral change risk in commits, providing findings as text, JSON, or SARIF reports for AI assistants.Last updated31
- Flicense-qualityDmaintenanceMCP server for security analysis using VirusTotal API, enabling AI assistants to analyze URLs, files, IP addresses, and domains with automatic relationship fetching.Last updated1
- Alicense-qualityCmaintenanceA comprehensive MCP server for structured threat modeling using STRIDE methodology, with automatic code validation and report generation.Last updated65Apache 2.0
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/precogly/precogly-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server