Integration Guide
Signet + MCP Servers
Add Signet trust verification to Model Context Protocol (MCP) servers for trust-aware tool and context provision.
Why integrate Signet with MCP Servers?
The Model Context Protocol standardizes how AI models interact with tools and data sources. Signet integration enables MCP servers to verify the trust of connecting agents before providing access to tools or sensitive context, and allows agents to verify server trust.
Integration steps
Step 1: Register your MCP server
Register your MCP server as a Signet agent to establish its trust identity. Connecting agents can then verify your server before sharing data.
Step 2: Add trust verification middleware
Implement middleware that checks connecting agents' Signet Scores before granting tool access.
Step 3: Expose trust as a resource
Add a Signet trust lookup resource to your MCP server so connected agents can check trust scores through the MCP protocol.
Step 4: Report tool usage outcomes
Track tool usage success and failure rates through Signet transaction reports.
Code example
// MCP server with Signet trust gate
server.setRequestHandler(CallToolRequestSchema, async (request) => {
const agentSid = request.params.meta?.signetSid;
if (agentSid) {
const score = await fetch(`https://api.agentsignet.com/score/${agentSid}/public`);
const data = await score.json();
if (data.composite_score < 600) {
return { content: [{ type: "text", text: "Trust score too low for this tool" }] };
}
}
// Proceed with tool execution
return executeTool(request.params);
});Ready to integrate?
Apply for API access to start building trust-verified agent interactions with MCP Servers.