ncmcp
by janLo
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NCMCP_HOST | No | Bind address inside the container; defaults to 0.0.0.0 | 0.0.0.0 |
| NCMCP_PORT | No | Bind port inside the container; defaults to 8000 | 8000 |
| NCMCP_DATA_DIR | No | Where the SQLite token store lives; Compose sets /data (the named volume) | |
| NCMCP_LOG_LEVEL | No | Log level; defaults to info | info |
| NEXTCLOUD_BASE_URL | Yes | Your Nextcloud instance, no trailing slash | |
| NCMCP_ENCRYPTION_KEY | Yes | Fernet key encrypting Nextcloud tokens at rest | |
| NCMCP_PUBLIC_BASE_URL | No | The public URL this server is reachable at; defaults to http://127.0.0.1:8000 for local testing | http://127.0.0.1:8000 |
| NCMCP_MAX_RENDER_PAGES | No | Most pages render_page will rasterize in one call; default 5 | 5 |
| NCMCP_DEV_REDIRECT_URIS | No | Extra redirect URIs DCR may register, comma-separated — only for local test scripts, leave empty in production | |
| NEXTCLOUD_OAUTH_CLIENT_ID | Yes | From the OAuth client registered in Setup step 1 | |
| NCMCP_ENABLE_PUBLIC_SHARES | No | Enables create_share_link (unauthenticated public URLs); false by default | false |
| NCMCP_EXTRACT_CACHE_TTL_DAYS | No | How long cached extracted text is kept; default 30 | 30 |
| NCMCP_REFRESH_TOKEN_TTL_DAYS | No | How long our issued refresh tokens live before Claude must re-login; default 90 | 90 |
| NCMCP_EXTRACT_TIMEOUT_SECONDS | No | Time limit for a single extraction; default 30 | 30 |
| NEXTCLOUD_OAUTH_CLIENT_SECRET | Yes | From the OAuth client registered in Setup step 1 | |
| NCMCP_MAX_EXTRACT_FILE_SIZE_MB | No | Largest file the document-reading tools will download/extract; default 50 | 50 |
| NCMCP_EXTRACT_CACHE_SIZE_CAP_MB | No | Extraction cache size before least-recently-used entries are evicted; default 200 | 200 |
| NCMCP_SHARE_DEFAULT_EXPIRE_DAYS | No | Default expiry for links create_share_link makes when a call doesn't specify one; default 7 | 7 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/janLo/nextcloud-simple-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server