Skip to main content
Glama

Arden AI

Mastra application for understanding and automating work across the arden-server and arden-admin codebases.

Commands

npm run dev
npm run knowledge:refresh
npm run routes:check
npm run type-check
npm run build
npm run mcp:server

Mastra Studio is available at http://localhost:4111 while the development server is running.

Related MCP server: codebaxing

Environment

OPENAI_API_KEY=...
ARDEN_AI_MODEL=openai/gpt-4o-mini
QDRANT_URL=http://localhost:6333
QDRANT_COLLECTION=arden_code_chunks
# QDRANT_API_KEY=...
ARDEN_API_URL=http://localhost:5000/api/v1
ARDEN_ACCESS_TOKEN=...
ARDEN_PERMISSION_ID=...
# Generation-time only when arden-server cannot be auto-discovered:
# ARDEN_SERVER_PATH=/absolute/path/to/arden-server

ARDEN_AI_MODEL uses Mastra's provider/model format. Code-search tools do not require an LLM or OPENAI_API_KEY; agents do.

Route Knowledge

The published application does not read the arden-server filesystem. Exact API routes are shipped in the versioned manifest:

src/generated/arden-server-routes.json

Refresh it after route changes:

npm run knowledge:refresh

The generator reads arden-server/src/routes, records the backend Git commit, and writes every supported route to the manifest. ARDEN_SERVER_PATH is only needed while running this generator and is not required by the deployed application.

Use this command in CI after checking out both repositories:

npm run routes:check

It fails when the committed manifest does not match the checked-out arden-server. A normal npm run build intentionally uses the committed manifest and therefore works when only the Mastra repository is present.

Structure

src/
|-- codeChunks/              Shared embedding and semantic-search logic
|-- database/                Qdrant and other database infrastructure
|-- generated/               Versioned knowledge generated from source repos
|-- environment.ts           Environment configuration
`-- mastra/
    |-- agents/
    |   |-- arden-admin/
    |   `-- arden-server/
    |-- tools/
    |   |-- arden-admin/
    |   `-- arden-server/
    `-- index.ts             Mastra resource registration

Repository-specific tools enforce their repository filter internally. Shared Qdrant and embedding behavior belongs outside tool and agent definitions.

Resources

Tools:

  • arden-server-code-search

  • arden-server-resolve-api-endpoint

  • arden-server-get-api-data

  • arden-admin-code-search

Agents:

  • arden-server-codebase-agent

  • arden-admin-codebase-agent

The search layer is compatible with the existing arden_code_chunks collection and uses Xenova/bge-small-en 384-dimensional normalized embeddings.

MCP Server

The native @mastra/mcp server exposes these read-only tools:

  • arden-server-code-search

  • arden-admin-code-search

  • arden-server-resolve-api-endpoint

  • arden-server-get-api-data

It also exposes:

  • arden://knowledge/route-manifest

  • arden://knowledge/usage-guide

Start the stdio server for local MCP clients:

npm run mcp:server

Inspect it interactively:

npm run mcp:inspect

OpenCode local configuration:

{
  "mcp": {
    "arden-codebase": {
      "type": "local",
      "command": [
        "npm",
        "--silent",
        "--prefix",
        "/absolute/path/to/my-mastra-app",
        "run",
        "mcp:server"
      ],
      "enabled": true
    }
  }
}

When the Mastra HTTP server is running, the registered MCP server is also available at the Streamable HTTP endpoint:

http://localhost:4111/api/mcp/arden-codebase/mcp
F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    F
    maintenance
    An MCP server that transforms codebases into intelligent, queryable knowledge bases, enabling AI assistants to perform semantic search, explore architecture, and analyze code relationships.
    165
  • A
    license
    -
    quality
    F
    maintenance
    MCP server for semantic code search that indexes your codebase and allows AI editors to search using natural language queries.
    61
    53
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    MCP server that builds a deterministic, source-traceable knowledge index of any codebase, enabling glossary lookup, code graphs, and exact-token search with every fact linked to its source file and line.
    16
    1
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    MCP server for local codebase analysis, enabling semantic code search, impact analysis, and pack-scoped retrieval with cited file:line results.
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • Hosted MCP server exposing US hospital procedure cost data to AI assistants

  • A MCP server built for developers enabling Git based project management with project and personal…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Naveen-warden/arden-ai-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server