agent-factory-mcp
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-factory-mcp
An MCP server that puts The AI Agent Factory curriculum — the Panaversity System of Record — into any MCP client: Claude Code, Claude Desktop, Cursor, Windsurf, or anything else that can spawn a stdio server.
npx -y @mj4384963/agent-factory-mcp --loginWhy this exists
The System of Record at https://sor.panaversity.org/mcp already speaks MCP
over Streamable HTTP. Normally that means you would point a client straight at
it and be done:
claude mcp add --transport http sor https://sor.panaversity.org/mcp # does not workThat fails, and the reason is worth stating plainly. Generic remote MCP clients
obtain their OAuth client_id through dynamic client registration. This
authorization server does not offer it:
$ curl -s https://auth.panaversity.org/.well-known/openid-configuration | jq 'has("registration_endpoint")'
falseWith no registration_endpoint there is nothing for a generic client to
register against, so it never reaches a login screen. The client_id has to be
one that was issued ahead of time.
This package carries that pre-issued id, completes the authorization-code flow with PKCE, holds the tokens, and forwards everything else straight through.
On shipping a client id in a public package. The authorization server lists
noneundertoken_endpoint_auth_methods_supported— this is a public client, and a public client id is not a secret. There is no client secret in this package, and there must never be one. Your own browser login is the only thing that grants access, and the tokens it produces stay on your machine.
Related MCP server: MoeReview
Install
Nothing to install. Your MCP client runs it through npx.
Claude Code
claude mcp add agent-factory -s user -- npx -y @mj4384963/agent-factory-mcpClaude Desktop / Cursor / Windsurf
{
"mcpServers": {
"agent-factory": {
"command": "npx",
"args": ["-y", "@mj4384963/agent-factory-mcp"]
}
}
}Then sign in once — the browser leg cannot happen inside a client's stdio pipe:
npx -y @mj4384963/agent-factory-mcp --loginTokens land in ~/.agent-factory-mcp/tokens.json, written 0600. The scope
includes offline_access, so the refresh token keeps you signed in and you
should not have to repeat this.
The tools
They are not declared here. tools/list is forwarded to the System of
Record and returned as-is, so whatever it advertises is what you get, and a tool
added upstream needs no release of this package.
As of writing, upstream advertises three:
Tool | What it is for |
| A pointed question, answered by meaning (hybrid vector + keyword). |
| The map — sections and courses. Call with no argument to start, then with a |
| One lesson by slug, byte-exact. Large lessons come back windowed; follow |
Because it is a passthrough, that table is documentation, not a contract — the
live tools/list is always the truth.
Commands
agent-factory-mcp # run as an MCP server over stdio (what a client does)
agent-factory-mcp --login # sign in once, in a browser
agent-factory-mcp --logout # forget the saved tokens
agent-factory-mcp --doctor # print the config and check the connection--doctor is the first thing to run when something is wrong:
$ npx -y @mj4384963/agent-factory-mcp --doctor
@mj4384963/agent-factory-mcp 1.0.0
endpoint https://sor.panaversity.org/mcp
client_id zia-tutor-ai
redirect http://localhost:8090/callback
scope openid profile email offline_access
token file ~/.agent-factory-mcp/tokens.json
signed in no (run --login)
endpoint says HTTP 401 (expected without a token)Configuration
Everything has a working default; override only what you need.
Variable | Default |
|
|
|
|
|
|
|
|
|
|
What is verified, and what is not
Stated up front rather than left to be discovered.
The endpoint is an OAuth-protected MCP server | ✅ Verified — |
The authorization server has no dynamic client registration | ✅ Verified — no |
| ✅ Verified — |
PKCE, state, and the | ✅ Verified — the generated authorize URL was inspected |
Tool forwarding — list, call, schemas, error handling | ✅ Verified — 7 passing tests against a stand-in server ( |
| ⚠️ Not verified. It is a reasonable default, not a confirmed one. |
An end-to-end sign-in against the live server | ⚠️ Not performed — it needs a real Panaversity account |
If --login fails with invalid_redirect, the default is simply not the
redirect this client id was registered with. Ask whoever issued zia-tutor-ai
for the exact string and set it:
SOR_REDIRECT_URI="http://localhost:1234/exact/registered/path" npx -y @mj4384963/agent-factory-mcp --loginThe port in that URL is the port the local listener binds, so it always matches what the server expects.
Development
npm install
npm test # spawns a stand-in System of Record and drives the bridge over stdio
npm run doctorThe tests deliberately avoid the real endpoint. Against it, a failure could be the bridge or it could be the login, and those two are worth being able to tell apart.
License
MIT — see LICENSE.
Built by Muhammad Yaseen · @MuhammadYa5968
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Knowledge base MCP for AI agents on iknow.dev. Search, read, and maintain via OAuth.
Shared project wiki for AI agents: read and write pages, next actions, and activity logs over MCP.
Public MCP for agent verification, work discovery and governed interoperability.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search, read, and traverse documentation bundles in Open Knowledge Format via MCP tools.705 npm75MIT
- AlicenseNot gradedqualityCmaintenanceA local-first study workspace for MCP agents, providing a web UI for learning, quizzing, and review, independent of agent lifecycle.4GPL 3.0
- AlicenseAqualityDmaintenanceProvides read-only access to LessonLab's lesson workflow, pricing, FAQ, and official links for MCP-compatible AI clients.3MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with a persistent, searchable knowledge library via MCP tools, allowing them to create books, manage pages, perform semantic search, and retrieve usage guides.5MIT