Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
Credential enforcement middleware for MCP servers — verifies scoped tokens on every tool call
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
ATTEST_BASE_URL필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"attest": {
"command": "npx",
"args": [
"-y",
"@attest-dev/mcp"
],
"env": {
"ATTEST_BASE_URL": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add attest --env ATTEST_BASE_URL=your-value -- npx -y @attest-dev/mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"attest": {
"command": "npx",
"args": [
"-y",
"@attest-dev/mcp"
],
"env": {
"ATTEST_BASE_URL": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"attest": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@attest-dev/mcp"
],
"env": {
"ATTEST_BASE_URL": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
ATTEST_BASE_URL env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검
레지스트리 이름이 GitHub 계정 chudah1 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.0)은 7개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, Happo
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Review Happo's visual and accessibility diffs: inspect comparisons, accept or reject, report flakes.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Attest credential enforcement middleware for Model Context Protocol servers.
Two lines to protect every tool call on an existing MCP server.
npm install @attest-dev/sdk
@attest-dev/sdk ships both the core client and the MCP middleware as a single package with two entry points.
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { withAttest } from "@attest-dev/sdk/mcp";
const server = new McpServer({ name: "my-tools", version: "1.0.0" }); const protectedServer = withAttest(server, { issuerUri: "https://api.attest.dev", });
// Register tools exactly as before — every call is now credential-gated. protectedServer.tool("send_email", schema, handler);
withAttest patches server.tool() in place and returns the same server object typed as the original. Everything else — connect(), close(), transports — works unchanged.
On every tool call, before the handler executes:
extra.authInfo.token (MCP auth middleware path), extra.meta.attest_token, or extra.meta.authorizationscopeForTool() and check the credential's att_scope covers itGET /v1/revoked/{jti} (10-second in-process cache)isError: true with a typed JSON payloadPOST /v1/audit — async, never blocks the tool callTool names are automatically mapped to resource:action scope strings. The first word (before the first _) becomes the action; the remainder becomes the resource.
| Tool name | Required scope | Notes |
|---|---|---|
send_email | email:send | |
read_file | file:read | |
list_documents | documents:list → documents:read | list aliases to read |
create_user | user:create → user:write | create aliases to write |
delete_record | record:delete | |
get_weather_forecast | weather_forecast:read | multi-word resources keep underscores |
run_query | query:run → query:execute | run aliases to execute |
Action aliases — these raw prefixes map to canonical actions:
| Raw prefix | Canonical action |
|---|---|
create, update, put, patch, set, upsert | write |
get, fetch, list, search, query, find, lookup | read |
remove, destroy | delete |
run, invoke, call | execute |
Multi-word resources keep their underscores in the scope string. get_weather_forecast → weather_forecast:read. This is intentional — the full noun phrase is preserved as the resource. When issuing credentials, use the same string: scope: ["weather_forecast:read"].
Override at registration — pass a AttestToolOptions object as the final argument to server.tool(). This is the preferred way to set scope for non-standard tool names because the scope lives next to the tool definition:
import { withAttest } from "@attest-dev/sdk/mcp";
import type { AttestToolOptions } from "@attest-dev/sdk/mcp";
protectedServer.tool("gh_create_issue", schema, handler, { requiredScope: "github:write", } satisfies AttestToolOptions);
protectedServer.tool("stripe_charge", schema, handler, { requiredScope: "stripe:write", } satisfies AttestToolOptions);
// Auto-mapping still applies when requiredScope is omitted. protectedServer.tool("send_email", schema, handler); // → "email:send"
The options object is consumed by withAttest and stripped before the MCP SDK sees the arguments — the SDK is unaware of it.
Override globally using toolScopeMap in options (applies to all tools that don't declare requiredScope explicitly):
const protectedServer = withAttest(server, {
issuerUri: "https://api.attest.dev", toolScopeMap: { "send_message": "slack:send", "query_db": "postgres:read", }, });
getAttestScopes() returns the live scope registry — every tool name mapped to its resolved scope string. Wire it to an HTTP endpoint so credential issuers can query what scopes a server requires without out-of-band coordination.
import { withAttest, getAttestScopes } from "@attest-dev/sdk/mcp";
const protectedServer = withAttest(server, { issuerUri: "https://api.attest.dev" });
protectedServer.tool("send_email", schema, handler); protectedServer.tool("gh_create_issue", schema, handler, { requiredScope: "github:write" });
// Express / Hono / any HTTP framework: app.get("/.well-known/attest-scopes", (_req, res) => { res.json({ tools: getAttestScopes(protectedServer) }); });
Response:
{
"tools": { "send_email": "email:send", "gh_create_issue": "github:write" } }
An orchestrator agent issues credentials by fetching this endpoint first:
// Before starting a task, discover what the MCP server needs:
const { tools } = await fetch("https://my-mcp-server/.well-known/attest-scopes") .then(r => r.json());
// Issue a credential with exactly those scopes: const { token } = await attestClient.issue({ agent_id: "my-agent", user_id: "usr_alice", scope: Object.values(tools), // ["email:send", "github:write"] instruction: "...", });
No spreadsheet of scope strings. No manual sync between server and client. The server is the source of truth.
{
"content": [ { "type": "text", "text": "{\n \"error\": \"attest_violation\",\n \"reason\": \"scope_violation\",\n \"detail\": \"Credential (jti: abc-123) grants [research:read] but tool \\\"send_email\\\" requires \\\"email:send\\\".\",\n \"jti\": \"abc-123\",\n \"taskId\": \"tid-xyz\"\n}" } ], "isError": true }
isError: true signals the MCP framework that this is an error response. The reason field is machine-readable:
reason | Meaning |
|---|---|
no_credential | No Attest JWT found in the request |
invalid_credential | JWT signature verification failed or malformed |
credential_expired | JWT exp has passed |
credential_revoked | JTI is in the revocation list |
scope_violation | Credential does not grant the required scope |
withAttest(server, {
// Required: URI of your Attest server issuerUri: "https://api.attest.dev",
// How long to cache JWKS before re-fetching (seconds). Default: 3600 jwksCacheTTL: 3600,
// How long to cache revocation status per JTI (seconds). // Set 0 to disable caching (every call hits the server). Default: 10 revocationCacheTTL: 10,
// false = log violations via onViolation but don't block the call. // Useful for gradual rollout. Default: true requireCredential: true,
// Per-tool scope overrides. Keys are exact tool names. toolScopeMap: { "send_message": "slack:send", },
// Called on every scope violation (synchronous). // Use for metrics, alerting, structured logging. onViolation: (event) => { console.warn("Attest violation", { tool: event.toolName, reason: event.reason, required: event.requiredScope, granted: event.grantedScope, jti: event.jti, }); }, });
After withAttest has already verified the credential, use getAttestContext to read the claims without re-verifying:
import { withAttest, getAttestContext } from "@attest-dev/sdk/mcp";
protectedServer.tool("send_email", schema, async (args, extra) => { const ctx = getAttestContext(extra); // ctx.att_uid — the human who initiated the task // ctx.att_tid — task tree ID (use for audit correlation) // ctx.att_scope — granted scopes // ctx.att_depth — delegation depth (0 = root) // ctx.jti — this credential's unique ID
await sendEmail(args.to, args.body, { actingAs: ctx?.att_uid }); return { content: [{ type: "text", text: "sent" }] }; });
Add Attest to an existing server without blocking traffic until you're confident the mapping is correct:
const protectedServer = withAttest(server, {
issuerUri: "https://api.attest.dev", requireCredential: false, // observe, don't block onViolation: (event) => metrics.increment("attest.violation", { tool: event.toolName, reason: event.reason, }), });
Flip requireCredential to true once violation rates drop to zero in your monitoring.
Every tool call — pass or fail — fires a POST /v1/audit to your Attest server. Delivery is async and never blocks tool execution.
Audit delivery is best-effort with structured error surfacing. For guaranteed delivery, configure `onAuditError` and implement your own retry queue.
Failures surface in priority order — nothing is ever silently dropped:
onAuditError is not setconst protectedServer = withAttest(server, {
issuerUri: "https://api.attest.dev",
// Tier 1: implement a retry queue for guaranteed delivery onAuditError: (err, event) => { retryQueue.push({ event, attempts: 0, nextRetry: Date.now() + 5000 }); logger.error("attest audit delivery failed", { jti: event.jti, agent_id: event.agent_id, error: err.message, }); },
// Tier 2: violations (including audit_failure) go to your monitoring onViolation: (e) => metrics.increment("attest.event", { reason: e.reason }), });
Non-2xx responses from the audit endpoint are treated as delivery failures, not silent successes.
The audit event carries: event_type, jti, att_tid, att_uid, agent_id (mcp: ), scope, and an outcome meta field (allowed, scope_violation, blocked_revoked).
Query the audit chain for a task tree:
import { AttestClient } from "@attest-dev/sdk";
const client = new AttestClient({ baseUrl: "https://api.attest.dev", apiKey: "..." }); const chain = await client.audit(taskId); chain.events.forEach(e => console.log(e.event_type, e.jti, e.created_at));
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { withAttest } from "@attest-dev/sdk/mcp"; import { z } from "zod";
const server = new McpServer({ name: "email-server", version: "1.0.0" });
server.tool( "send_email", { to: z.string().email(), subject: z.string(), body: z.string() }, async ({ to, subject, body }) => { await sendEmail(to, subject, body); return { content: [{ type: "text", text: Sent to ${to} }] }; }, );
// Wrap — every tool now requires a valid credential with "email:send" scope. const protectedServer = withAttest(server, { issuerUri: process.env.ATTEST_URI ?? "http://localhost:8080", onViolation: (e) => console.warn("blocked:", e.reason, e.toolName), });
const transport = new StdioServerTransport(); await protectedServer.connect(transport);
Apache-2.0