VeriSom
Click 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., "@VeriSomget safety score for contract 0xAbC... before interaction"
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.
VeriSom Audit Console
Full-stack app and MCP service for getting a Somnia Agents safety score for a contract before an AI agent interacts with it.
What it does
Fetches verified contract source from the Somnia explorer when available.
Falls back to deployed bytecode and runs local opcode/selector/pattern analysis when the contract is unverified.
Fetches recent contract transactions from the explorer.
Builds a local RAG corpus from verified resources and retrieved chain evidence.
Uses local lexical retrieval to rank the most relevant evidence for contract-context assembly.
Sends the final context to
requestSafetyScore(...)on the VeriSom contract.Polls on-chain state and events until
SafetyScoreReceived(...)is available.Exposes a single MCP tool that returns the Somnia Agents score directly to another AI agent before it calls the target contract.
Related MCP server: aegis-defi
Setup
Install dependencies:
cmd /c npm installCreate
.envfrom.env.exampleand fill in RPC and contract settings as needed.Start the app:
cmd /c npm run devOpen http://localhost:3000.
Recommended Claude Setup
For Claude, the easiest setup is the local stdio MCP server, because the connector can hold the user's own private key once in its environment and the tool call does not need to resend it every time.
Claude Desktop MCP config
Use a local MCP entry that launches this project through tsx:
{
"mcpServers": {
"verisom": {
"command": "C:\\Users\\YOUR_USER\\Downloads\\verisom-final\\node_modules\\.bin\\tsx.cmd",
"args": [
"C:\\Users\\YOUR_USER\\Downloads\\verisom-final\\mcp-stdio.ts"
],
"env": {
"AGENT_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY_HERE",
"SOMNIA_RPC_URL": "https://api.infra.testnet.somnia.network",
"SOMNIA_EXPLORER_BASE_URL": "https://shannon-explorer.somnia.network",
"VERISOM_CONTRACT_ADDRESS": "0x45e89Bae0eD991b63F8988d13EcEC1Ae0eEdDA77",
"CHAIN_NAME": "Somnia Testnet",
"VERISOM_POLL_INTERVAL_MS": "5000"
}
}
}
}Restart Claude Desktop after updating the config.
In this mode:
the key belongs to the agent connector, not to a shared remote service
the tool can use the connector env automatically
users do not need to pass
privateKeyin every tool call
MCP Modes
Local stdio MCP
Command:
cmd /c npm run mcp:stdioBest for Claude Desktop and similar local connectors
Uses
AGENT_PRIVATE_KEYfrom the connector env ifprivateKeyis not passed explicitly
HTTP MCP
Endpoint:
http://localhost:3000/api/mcpHealth:
http://localhost:3000/api/mcp/healthIn HTTP mode, the tool does not use env fallback for signing, because that env would belong to the server process rather than the calling agent
MCP Tool
The server exposes a single agent-facing tool:
score_contract_before_interactionBuilds the contract context, submits the request to VeriSom, waits for the Somnia Agents callback, and returns the final score directly.
In local stdio mode, it can use
AGENT_PRIVATE_KEYfrom the connector environment.In HTTP mode, the caller must pass
privateKeyexplicitly.Returns the Somnia Agents score, recommendation, findings, provenance, and the exact context used.
Notes
The default RPC and explorer targets are Somnia testnet endpoints from Somnia docs.
RAG retrieval is fully local and does not require any embedding API key.
The UI lets you either build context only or run the full analyze-and-submit pipeline.
The MCP endpoint is intended for agents that need a pre-interaction contract safety score before signing or sending transactions.
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.
Latest Blog Posts
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/anoop04singh/verisom'
If you have feedback or need assistance with the MCP directory API, please join our Discord server