Agent Capability Template
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agent Capability Template
Start an agent repo that plugs into agent-hub as an MCP capability. It ships a working example (one tool, one skill, one eval) with auth, health, tests and CI already in place, so you only write your agent's tools.
What you get
capability.json the contract the hub registers: tools, side effects, skills, evals
skills/<name>/SKILL.md how another agent should use your tools
evals/cases.json checks the hub runs against your deployment
src/capability/server.ts your tools ← edit this
src/capability/kit.ts shared runtime: MCP server, auth, skills, health (don't edit)
src/app/api/mcp/route.ts POST /api/mcp, Streamable HTTP, stateless
src/app/api/health/route.ts GET /api/health, reports configuration without values
scripts/capability.mjs embeds skills, validates against the hub schemaRelated MCP server: skillsmcp
Use it
Click Use this template, clone your new repo and run
npm ci.In
capability.json, setid(kebab-case, permanent),name,description,repositoryandendpoints.production.Replace
analyze_textinsrc/capability/server.tswith your tools, and keepid,nameandversionthere equal tocapability.json. For each tool:validate input with zod and write a description another agent can act on;
declare it in
capability.jsonwith honestsideEffects(contacts_peopleandspends_moneymust setrequiresConfirmation: true);return
toolError("...")for failures the user should hear about, and read keys withrequireEnvso a missing key fails the call, not the build;work over 60 seconds: return a job id (
mode: "async_job") and add a status tool.
Write
skills/<name>/SKILL.mdand at least one eval case per tool, then runnpm run capability:sync.Run the checks, deploy with
CAPABILITY_TRUSTED_CALLERS(the hub'steam_id/project) orCAPABILITY_TOKENSset, and register it in the hub.
npm run capability:check # manifest and evals against the hub schema
npm test # contract (tools, skills, identity), evals and auth
npm run buildCall it directly
Any MCP client can use a capability on its own:
curl -X POST https://<deployment>/api/mcp \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Rules the kit enforces
/api/mcpreturns 503 until a caller is configured and 401 for anyone else. Two ways in:Vercel OIDC (no shared secret): list the hub's project in
CAPABILITY_TRUSTED_CALLERSasteam_id/project-name. The hub sends its Vercel-signed OIDC token; the kit verifies it against Vercel's public keys and accepts only production tokens from listed projects.Bearer tokens: for other MCP clients, list tokens in
CAPABILITY_TOKENS; they are compared in constant time.
The server is stateless (no sessions), so it runs on serverless hosts;
GETandDELETEreturn 405.Skills are embedded at build time and served as
skill://<id>/<name>resources./api/healthsays whether each required env var is set, never its value.
License
PolyForm Noncommercial 1.0.0. Copyright (c) 2026 Abhay Raj Singh.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed AI agent skills — one library, distributed to devs and exposed to remote agents over MCP.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Your team's custom tools and skills in every agent, through one MCP connection.
Hosted MCP runtime where your agent publishes its own tools by tool call and keeps working.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- AlicenseAqualityDmaintenanceExposes Agent Skills to AI agents as MCP tools, enabling discovery and activation of skill instructions for coding agents.327MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to securely discover, invoke, and manage tools through a hardened MCP endpoint with protections like injection detection, circuit breakers, retry backoff, response caching, context-window limiting, and state snapshots.MIT
- FlicenseNot gradedqualityCmaintenanceEnables exposing any Databricks capability as MCP tools for AI agents, allowing MCP clients like Claude, AI Playground, and Copilot Studio to discover and call them without client-side changes.3-