
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@workos/mcp-docs-server
Advanced tools
An MCP server that provides documentation, code examples, and changelogs for WorkOS SDKs and developer tooling
An MCP server that provides documentation, code examples, and changelogs for WorkOS SDKs and developer tooling.
This MCP server provides four main tools:
The server works both inside the WorkOS monorepo (using local content) and externally (with fallback to hosted content). Changelog data is sourced from both traditional CHANGELOG.md files and the live WorkOS changelog RSS feed.
npm install @workos/mcp-docs-server
Add to your MCP configuration:
{
"mcpServers": {
"workos": {
"command": "npx",
"args": ["@workos/mcp-docs-server"]
}
}
}
import { getTools } from '@workos/mcp-docs-server/get-tools';
const tools = await getTools();
console.log(tools);
npm install
npm run build
npm run build
This will:
packages/docs/content/
You can also run just the content preparation (pulls latest docs by default):
npm run prepare-content
For development when you want to use local content instead of cloning:
npm run build:dev
Or just prepare local content:
npm run prepare-content:local
This will organize content from local directories:
docs/
into .docs/organized/docs/
examples/
into .docs/organized/examples/
packages/*/CHANGELOG.md
into .docs/organized/changelogs/
Note: The default behavior requires access to the private WorkOS GitHub repository. Use the :local
variants for development without repo access.
You can access the locally built MCP server by adding the build to your mcp.json
.
{
"mcpServers": {
"workos": {
"command": "node",
"args": ["/path/to/dist/index.js"]
}
}
}
For maintainers who need to build and publish new versions, see the Operator Guide for detailed instructions on:
The MCP server provides a progressive discovery experience. Each tool supports browsing available content before accessing specific items.
workos_search
(Recommended First Step)Search all WorkOS documentation for keywords, phrases, error messages, or method names. This is the fastest way to find relevant documentation if you don't know the exact path or structure.
Parameters:
query
(string, required): The search term(s) to look formaxResults
(number, optional): Maximum number of results to return (default: 10)Example Usage:
// Find docs mentioning SAML errors
query: "invalid SAML response"
// Find docs about webhooks
query: "webhook"
// Find docs about a method
query: "createConnection"
How it works:
workos_docs
to read the full contentworkos_docs
Get WorkOS SDK documentation content by path. Use this when you know the documentation structure or want to browse hierarchically. If you don't know the exact path, use workos_search
first to find relevant documents.
Parameters:
path
(string, required): Documentation path to retrieve. Use forward slashes to navigate folders. Examples: "sso/overview", "directory-sync/introduction", "user-management/authentication". Omit file extensions (.md, .mdx).Example Usage:
// Read a specific document
path: "sso/overview"
Note: Zero-parameter discovery (listing all categories or directory contents) is not yet implemented. Use
workos_search
to find relevant paths.
workos_examples
Get WorkOS SDK code examples. Use this after checking documentation to find practical implementation examples.
Parameters:
example
(string, required): Example name or group to retrieve. Common groups: "sso", "directory-sync", "user-management", "audit-logs", "webhooks".Example Usage:
// Get all examples in the SSO group
example: "sso"
workos_changelogs
Get WorkOS package changelogs to check version history, breaking changes, and new features. Useful for migration guides and understanding API evolution.
Parameters:
package
(string, required): Package name to get changelog for. Use "workos-platform" for general platform updates from the RSS feed, or specific packages like "@workos/node", "@workos/python", "@workos/ruby", "@workos/go", "@workos/php".Example Usage:
// Get general platform changelog (from RSS feed)
package: "workos-platform"
// Get changelog for workos-node SDK
package: "@workos/node"
Data Sources:
workos-platform
package provides the latest platform updates, feature announcements, and product changes sourced from https://workos.com/changelog/rss.xmlThis MCP server follows a progressive discovery pattern aligned with MCP best practices:
workos_search
to find relevant documentation pathsworkos_docs
, workos_examples
, or workos_changelogs
with the discovered path or nameThis design allows AI assistants to efficiently explore available content without prior knowledge of the structure, making it easier to find relevant documentation, examples, or changelogs.
workos-docs-server/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── get-tools.ts # Tool configuration
│ ├── prepare.ts # Content preparation script
│ └── types.ts # Type definitions
├── .docs/
│ └── organized/ # Processed content (generated)
│ ├── docs/
│ ├── examples/
│ └── changelogs/
├── package.json
├── tsup.config.ts
└── README.md
.docs/organized/
MIT
FAQs
An MCP server that provides documentation, code examples, and changelogs for WorkOS SDKs and developer tooling
The npm package @workos/mcp-docs-server receives a total of 65 weekly downloads. As such, @workos/mcp-docs-server popularity was classified as not popular.
We found that @workos/mcp-docs-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.