configure weekly downloads statistics
By christiansancheta · npm · MCP servers
Identity layer SDK for AI agents
configure has 22,188 recorded weekly downloads on npm, a decrease of 34.5% over the past 30 days, ranking #1007 of 3,247 tracked listings.
About configure
Configure TypeScript SDK
Configure gives your app the context a user already built up in their AI assistants and apps: who they are, what they work on, what they prefer. The user brings it to Configure once and approves your app; your server reads it from then on.
Full docs: https://docs.configure.dev. This README is the short path.
Install and keys
npm install configure
npx configure setup # opens Configure, creates keys, writes them to .env
Your server needs CONFIGURE_API_KEY (the sk_ key, never in a browser) and CONFIGURE_AGENT (your agent handle). Use a sk_test_ key for development: it runs against a sandbox user, Nova.
Add Configure to your app
Key every user by the id your product already has. That one id is the whole identity model: the user never sees it, and when they connect, Configure links their account to it. Never use a session or cookie id.
import { Configure } from "configure";
const configure = new Configure({
apiKey: process.env.CONFIGURE_API_KEY,
agent: process.env.CONFIGURE_AGENT,
});
const profileFor = (userId: string) => configure.profile({ externalId: userId });
// 1. Your "Connect" button links here. Mint a link per click and redirect to it.
app.get("/configure/start", async (req, res) => {
const connect = await profileFor(req.user.id).connect({ returnUrl: "https://yourapp.com/configure/return" });
res.redirect(connect.connect_url);
});
// 2. Configure sends the user back. Read their context; profile.linked says whether they connected.
app.get("/configure/return", async (req, res) => {
const read = await profileFor(req.user.id).read({ sections: ["identity", "preferences", "summary"] });
if (!read.profile.linked) return res.redirect("/?configure=not-finished");
await store.set(req.user.id, read.profile.format()); // the text you put in your system prompt
res.redirect("/chat");
});
// 3. After a chat turn, commit it so the user's context keeps learning.
await profileFor(userId).commit({
messages: [
{ role: "user", content: userText },
{ role: "assistant", content: assistantText },
],
});
returnUrl must be a constant https URL, never built from the request. Their context keeps growing after they connect; register a webhook so your server re-reads it when it changes:
const hook = await configure.webhooks.set({ url: "https://yourapp.com/configure/webhook" }); // once per environment
app.post("/configure/webhook", configure.webhooks.handler(process.env.CONFIGURE_WEBHOOK_SECRET!, async (event) => {
await refreshContext(event.data.user.external_id); // your function: read() and store again
})); // mount before express.json(): it checks the signature on the raw body
Profile text is user data, not instructions. Strip your prompt delimiter from it before you wrap it: see https://docs.configure.dev/trust.
Give the model the Configure tools
To let the model read and search the user's context during a turn, expose the Configure tools next to yours and route configure_* calls to Configure. profile.tools() is Anthropic-shaped ({ name, description, input_schema }); wrap it with toOpenAIFunctions() for OpenAI. executeTool accepts { name, arguments } or { name, input }.
const profile = profileFor(userId);
const tools = [...yourTools, ...profile.tools()];
const dispatch = (toolCall) =>
toolCall.name.startsWith("configure_") ? profile.executeTool(toolCall) : executeYourTool(toolCall);
Check the wiring without a model by calling a tool directly:
const result = await profile.executeTool({
name: "configure_profile_read",
arguments: { sections: ["identity", "summary", "preferences", "imports"] },
});
To offer connected apps, ask for them explicitly. Tool visibility is app capability, not user authorization: executeTool still fails closed when the user has not connected or approved the app, and the structured error tells you to send them through connect({ app }).
const tools = [
...yourTools,
...profile.tools({
connectors: ["gmail", "calendar", "drive", "notion"],
actions: ["email.send", "calendar.create_event"],
}),
];
Other ways in
- A browser token instead of your user id. The hosted Link and Personalization components hand your page a token in the
configure:linkedevent, and the server usesconfigure.profile({ token }). Use this only when you have no user id of your own; otherwise keep the oneexternalIdpath above. See "Browser linking and components" below. - Sign in with Configure (OAuth).
npx configure verify,npx configure add callback --framework next|express|vite, andnpx configure add origin <callback>set up and prove the OAuth flow. See https://docs.configure.dev/variations. - Message agents (SMS, iMessage, WhatsApp): see the next section.
Message-agent SSO
Every registered agent has one hosted sign-in URL. Send the sign_in_url returned by the agent API, or get the same value from configure.auth.signInUrl():
await message.reply(`Connect your profile: ${configure.auth.signInUrl()}`);
Configure resolves the browser credential, branding, phone verification, consent, and connectors server-side. Multiple Gmail accounts work by default. New integrations do not pass a publishable key, delivery mode, or phone number in the URL.
For message channels that provide provider-signed sender binding or need a thread-specific completion webhook, use the advanced SDK helpers below.
const subjectKey = message.sender?.id || space.id;
const agentPhone = await smsProvider.currentPhone();
await configure.auth.registerMessageLine({
channel: "sms",
phone: agentPhone,
label: "Primary SMS line",
metadata: { provider: "your-sms-provider" },
});…
Description from the npm listing.
- configure
- personalization
- personalization-infrastructure
- agents
- context
- mcp
- tool-calls
- memory
- llm
- sdk
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm MCP servers plugins
All 20 configure alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/configure. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.