Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CodeMie Assistants MCP Server

Python server implementing Model Context Protocol (MCP) for CodeMie Assistants operations.

Features

  • Chat with AI/Run CodeMie assistant

Note: The server requires authentication credentials via environment variables.

API

Tools

chat

Chat with a specific AI assistant Inputs:

  • message (string): Message to send to assistant
  • conversation_id (string): Identifier of current conversation. It should be always passed if present in current communication thread.
  • history (array, optional): Previous conversation messages in format: [{"role": "user|assistant", "message": "text"}]

Returns generated assistant response as text

Breaking changes in 0.2.0

  • The Python package is now codemie_mcp_assistants. The command codemie-mcp-assistants is unchanged.
  • The server no longer has built-in server addresses. CODEMIE_AUTH_SERVER_URL, CODEMIE_AUTH_REALM_NAME and CODEMIE_API_DOMAIN are required. Without them the server exits with an error.

Installation

Ensure you have Python 3.12 or later installed.

Important: Before running the MCP server, you must configure the required environment variables (see Environment Variables section below).

When using uv no specific installation is needed. We will use uvx to directly run codemie-mcp-assistants.

uvx codemie-mcp-assistants

Using pip

Alternatively you can install the package with pip:

pip install codemie-mcp-assistants

After installation, you can run it as a script using:

codemie-mcp-assistants

Configuration

Configure for Claude.app

Add to your Claude settings:

Using uvx

Required variables:

"mcpServers": {
  "codemie": {
    "command": "uvx",
    "args": ["codemie-mcp-assistants"],
    "env": {
      "CODEMIE_AUTH_SERVER_URL": "https://auth.example.com/auth",
      "CODEMIE_AUTH_REALM_NAME": "your-realm",
      "CODEMIE_API_DOMAIN": "https://codemie.example.com/code-assistant-api",
      "CODEMIE_ASSISTANT_ID": "your-assistant-id",
      "CODEMIE_USERNAME": "your-username",
      "CODEMIE_PASSWORD": "your-password"
    }
  }
}

Optional variables:

"env": {
  "CODEMIE_AUTH_CLIENT_ID": "codemie-sdk",
  "CODEMIE_VERIFY_SSL": "true"
}
Using pip installation

Required variables:

"mcpServers": {
  "codemie": {
    "command": "codemie-mcp-assistants",
    "args": [],
    "env": {
      "CODEMIE_AUTH_SERVER_URL": "https://auth.example.com/auth",
      "CODEMIE_AUTH_REALM_NAME": "your-realm",
      "CODEMIE_API_DOMAIN": "https://codemie.example.com/code-assistant-api",
      "CODEMIE_ASSISTANT_ID": "your-assistant-id",
      "CODEMIE_USERNAME": "your-username",
      "CODEMIE_PASSWORD": "your-password"
    }
  }
}

Optional variables:

"env": {
  "CODEMIE_AUTH_CLIENT_ID": "codemie-sdk",
  "CODEMIE_VERIFY_SSL": "true"
}

Environment Variables

Mandatory Variables

The following environment variables must be configured before running the MCP server:

Platform settings (all three are required, an empty value counts as missing):

  • CODEMIE_AUTH_SERVER_URL: URL of your authentication server, for example https://auth.example.com/auth
  • CODEMIE_AUTH_REALM_NAME: authentication realm name
  • CODEMIE_API_DOMAIN: URL of your CodeMie API, for example https://codemie.example.com/code-assistant-api

The server has no built-in addresses. If any of the three is missing it prints Missing required settings: <names> and exits with a non-zero code, before any network call.

Assistant Configuration:

  • CODEMIE_ASSISTANT_ID: Your CodeMie assistant ID (required)

Authentication (choose one method):

Option 1: Username/Password

  • CODEMIE_USERNAME: Your CodeMie username
  • CODEMIE_PASSWORD: Your CodeMie password

Option 2: Client Credentials

  • CODEMIE_AUTH_CLIENT_SECRET: Auth client secret

Optional Variables

  • CODEMIE_AUTH_CLIENT_ID: authentication client ID (default: codemie-sdk)

  • CODEMIE_VERIFY_SSL: TLS certificate verification flag (default: true). Set false only for local testing.

Build

Make build:

make build

Metadata

Release files for codemie-mcp-assistants 0.2.1rc0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codemie-mcp-assistants 0.2.1rc0
File Size Uploaded Provenance Actions
codemie_mcp_assistants-0.2.1rc0.tar.gz 6.1 kB With provenance Details for codemie_mcp_assistants-0.2.1rc0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codemie-mcp-assistants 0.2.1rc0
File Interpreter ABI Platform Actions
codemie_mcp_assistants-0.2.1rc0-py3-none-any.whl Python 3 none any Details for codemie_mcp_assistants-0.2.1rc0-py3-none-any.whl

Total release size: 13.6 kB

Release files / codemie_mcp_assistants-0.2.1rc0.tar.gz

Download URL codemie_mcp_assistants-0.2.1rc0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
02712d0e59cb9a3a963a77faed57c9f701361b64650823bd20fe2801d76ff011
BLAKE2b-256 checksum
How to use checksums
a135bded3bc734e8c5f0dcdff815b71b5fc16ad296b92187baedc891a028ad27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / codemie_mcp_assistants-0.2.1rc0-py3-none-any.whl

Download URL codemie_mcp_assistants-0.2.1rc0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ac6b5358e99818902e16442e70dba20545e5b23abb3f0fc8ea2795079df4458
BLAKE2b-256 checksum
How to use checksums
9df778a3c4b7812e17ad0cd372cc0dfdd4a9641532c811c8535b86182b13688d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for codemie-mcp-assistants 0.2.1rc0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codemie_mcp_assistants-0.2.1rc0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page